VR Carnival

A blockchain-powered virtual reality carnival metaverse featuring tokenized games,

VR Carnival

Created At

ETHGlobal New Delhi

Project Description

VR Carnival is an immersive metaverse-style experience that combines virtual reality, blockchain, decentralized infrastructure, and even real-world robotics into a single interconnected ecosystem. Our goal is to reimagine how gaming, digital ownership, and real-world interaction can come together seamlessly in one environment.

Phase 1 – Frictionless Onboarding and Wallet Creation The journey begins not inside the VR headset but on the player’s mobile companion app. We wanted the onboarding experience to feel as simple as signing up for any modern application, so instead of asking users to create wallets manually or manage private keys, we use embedded wallets linked to their social logins. When a new user logs in through the mobile app, their wallet is created automatically, and this serves as the authentication layer for the entire VR experience. The app also becomes the player’s Web3 companion, showing all owned assets, purchased tokens, minted NFTs, in-game rewards, and balances. Players can even transfer tokens and NFTs to other players directly from the app.

All these operations are powered by API endpoints hosted on a backend deployed in Fluence’s DePIN (Decentralized Physical Infrastructure Network). The DePIN layer is critical to our system: it handles wallet creation, authentication, and blockchain interactions while exposing decentralized endpoints that connect the mobile app, the Unity-based VR game, and our smart contracts. The authentication process itself uses a WebSocket-based OTP flow served through Fluence. Once the OTP verification succeeds, the player is authenticated and seamlessly redirected into the Unity VR experience on their headset. At this point, the mobile app continues to function as a real-time companion dashboard.

Phase 2 – Entering the Carnival World

After logging in, the player steps into the heart of VR Carnival, a dynamic virtual world built in Unity. The carnival features multiple rides, booths, and mini-games, each integrated with blockchain mechanics and an in-game economy powered by our ERC-20 token, $CAR (Carnival Token).

Players spend tokens to participate in various attractions: Carousel Ride – a classic amusement ride experience: 🎡 Ferris Wheel – a panoramic view of the carnival world 🎪 Squid Game Tent – a jump-rope challenge inspired by the popular series 🎯 Color Craze – a fast-paced game with dynamically changing boxes 🃏 Joker Shot – a precision-based booth shooting challenge

These activities are not isolated mini-games but part of a shared economy. For instance, the rare Lucky Musket (CHARMZ) NFT grants unlimited access to all attractions. Our ERC-721 NFT collection contains multiple ERC-1155 assets ranked from Bronze to Platinum, which players can purchase, earn, or trade. Some NFTs are pre-minted and sold as premium assets, creating a revenue model where players spend ETH to unlock exclusive in-game utilities.

Phase 3 – Fluence: The Backbone of Our Architecture

The Fluence DePIN backend is not just a supporting layer — it is the core infrastructure that makes VR Carnival possible. All blockchain-related requests, from token transfers to NFT minting and session validation, pass through API endpoints hosted on Fluence’s decentralized network.

This backend allows seamless real-time communication between the Unity VR client, the mobile app, and the blockchain. It ensures that game events — such as spending tokens to join a ride or receiving a new NFT after completing a challenge — are reflected instantly in the player’s wallet and mobile dashboard. It also orchestrates data synchronization between the virtual experience and the user’s identity, enabling persistent progress across sessions.

Phase 4 – Filecoin as the Persistent Storage Layer

To build a persistent metaverse, we needed a storage solution that was secure, verifiable, and user-owned. Traditional centralized databases couldn’t meet those needs, so we use Filecoin’s decentralized storage network as the primary database for our game.

Filecoin stores all critical data, including:

In-game assets and metadata

Player progress and state data

Token balances and game histories

This ensures that even though the VR experience runs directly from the Unity engine (and not as a compiled build), all game state is permanently stored and retrievable, tied to the player’s wallet and email identity. Filecoin turns the carnival into a persistent world — one that remembers every action, achievement, and asset even across sessions and devices.

Phase 5 – On-Chain Randomness with Pyth Network

One of our mini-games, Color Craze, uses Pyth Network to introduce high-entropy randomness directly from the blockchain. Pyth generates random numbers up to 70 digits long. We map the first 12 digits to 12 game boxes, and based on predefined ranges, each box turns green, yellow, or red. The colors update every three seconds, making the game unpredictable and verifiably fair. This randomness layer demonstrates how on-chain data feeds can enhance interactive game mechanics and replace insecure traditional RNG systems.

Phase 6 – Real-World Robotics and the Future of the Metaverse

VR Carnival also extends beyond the virtual world. Players are accompanied by a robot dog companion in VR, and simultaneously, a physical robot dog mirrors their movement in real life based on their in-game coordinates. As the player moves within the carnival, the robot responds in the physical world, creating a bridge between virtual presence and physical interaction. This fusion of VR, blockchain, and robotics reflects our broader vision for what metaverse experiences can become.

How it's Made

VR Carnival is built as a multi-layered system that merges virtual reality, blockchain, and decentralized infrastructure into one cohesive platform. Every component is carefully chosen to solve a specific challenge, and together they create a seamless, persistent, and scalable metaverse experience.

🏗 Frontend: Unity + Meta XR SDK

The core of the experience is built in Unity using the Meta XR SDK, which powers the virtual reality interactions, physics, and scene transitions. We designed multiple scenes, the Start Scene, the Carnival Hub, the Squid Game challenge, and booth-based mini-games, and implemented smooth movement, teleportation, and physics-based mechanics.

A persistent camera rig handles player tracking and transitions across scenes, while ray interaction and UI input modules enable natural VR interactions such as button clicks, selections, and gameplay triggers. The real-world robot dog companion connects via positional data streamed from the Unity game, mirroring the player’s movement in the physical world.

🪙 Blockchain Layer: Smart Contracts, Tokens, and NFTs All blockchain components are built around ERC-20 and ERC-721/ERC-1155 standards: $CAR (Carnival Token): Our ERC-20 in-game currency that powers rides and games. ERC-721 Master Collection: Rare NFTs such as Lucky Musket (CHARMZ), which grant unlimited access. ERC-1155 Assets: Gameplay-based reward NFTs ranked from Bronze to Platinum, some pre-minted for sale with a 5% royalty on secondary trades.

These contracts are deployed on Ethereum-compatible networks and are integrated into the game through backend services hosted on Fluence.

🛜 Backend Layer: Fluence DePIN The heart of our architecture is hosted on Fluence, a Decentralized Physical Infrastructure Network (DePIN) that replaces traditional centralized servers with a peer-to-peer compute network. We deploy all backend services — including wallet creation, user authentication, NFT minting, token transfers, and gameplay-triggered blockchain events — on Fluence nodes. This backend exposes API endpoints that bridge three major layers of our system:

  1. Mobile Companion App – for wallet creation, asset viewing, NFT transfers, and authentication
  2. Unity VR Game – for in-game blockchain interactions such as spending tokens, minting NFTs, and syncing player data
  3. Smart Contracts – for all on-chain actions, from token logic to NFT management The authentication process is powered by a WebSocket OTP flow managed through Fluence. Once validated, players are seamlessly redirected into the VR experience. Fluence ensures real-time, trust-minimized communication between all layers, enabling smooth gameplay without centralized dependencies.

📦 Storage Layer: Filecoin

We use Filecoin’s decentralized storage network as our primary database. Filecoin stores all persistent data, including:

  • Player progress and state
  • In-game assets and metadata
  • Token balances and gameplay history This is crucial because the VR experience currently runs directly from the engine rather than as a compiled build. Filecoin ensures that player data is permanently stored, tamper-proof, and verifiable, and it ties that data to the user’s wallet and identity so progress is never lost between sessions.

🎲 Entropy Layer: Pyth Network

Our mini-game Color Craze relies on Pyth Network to deliver high-entropy randomness directly from the blockchain. Pyth generates random numbers up to 70 digits long, from which we map the first 12 digits to the 12 boxes in the game. Digit ranges determine each box’s color, and they update every three seconds. This randomness ensures fair and unpredictable gameplay and demonstrates how decentralized data feeds can enhance interactive mechanics.

📱 Companion Mobile App

The mobile app acts as the user’s Web3 dashboard and authentication layer. It is used to log in, view all assets, tokens, and NFTs, and even transfer them to other players. It communicates directly with the backend on Fluence, which syncs the user’s blockchain data with the Unity game in real time.

🐶 Real-World Robotics Integration

We integrate a robot dog companion that mirrors the player’s movements based on their in-game coordinates. As the player walks or moves inside VR, the robot reacts accordingly in the real world, creating a unique bridge between physical and virtual environments.

By combining these layers, VR Carnival becomes more than just a VR game. It is a fully decentralized metaverse system where every component, from storage and randomness to backend logic and asset ownership is trustless, user-centric, and deeply interconnected.

background image mobile

Join the mailing list

Get the latest news and updates