This platform aims to evolve into a Web3 gaming hub, offering decentralized, transparent, and immersive gaming experiences tailored by friend groups according to their own set rules.
Logic is simple.
- Sign-In for Guests: Users sign in with their wallets as guest users.
- Lens Profile and Participation: Users with a Lens profile can create challenges, join gaming groups, and place stakes for betting.
- Creating and Customizing Game Rooms: Users can establish a game room, define the rules of the challenge, and invite their friends to join the game.
- Friends Joining the Game: Friends receive an invitation and can sign in using their Lens profile via wallet connect.
- Game Room Access and Features: Friends who successfully connect their wallets can access the game room, which features a leaderboard, rule set, and gaming area.
- Staking and Participation: Friends with a Lens profile can participate in the game by staking an amount as per the rule set. This stake contributes to the pool prize.
- Winner's Reward: At the end of the challenge, the winning friend receives the accumulated staked amount from the pool as a prize.
This decentralized application (DApp) integrates WalletConnect for secure authentication and leverages the Lens Protocol for its social media functionalities. The smart contract is deployed on the Mumbai Polygon network, and the web interface is built using Next.js, emphasizing a smooth and socially engaging user experience.
The user journey within the DApp is intuitive:
- Players initiate the application through a secure authentication process.
- They can then create game rooms, choosing from a variety of options.
- Each game room has a set end date, determined by the creator.
- Upon creation, the DApp generates a unique social media link for sharing within personal networks or for posting directly on the Lens Protocol.
- As the game progresses, players compete to achieve the highest score. At the conclusion of the designated timeframe, the player with the top score is awarded the total bet pool.
- New participants joining via a shared link are seamlessly directed to the respective game room, where they can engage in the game and place their bets.
- This approach not only fosters a competitive and interactive gaming environment but also encourages social interaction and connectivity among users.