Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
Web3 NFT game UI built with Next.js and ChakraUI for minting characters and battling an on-chain boss.
Epic Game UI is an open-source web3 NFT game interface built with Next.js and ChakraUI that lets players mint an NFT character and battle a shared on-chain boss named Big Kangh.
Epic Game UI is a web application that consumes a Solidity smart contract developed with the HardHat framework, allowing players to authenticate with a MetaMask wallet, mint their own NFT character on the Rinkeby test network, and use that character to fight a boss alongside other players. The project was created by BraianVaylet as an academic exercise during the buildspace courses, and a live demo is deployed on Vercel at buildspace-epic-game-ui.vercel.app, with the companion smart-contract repository available at github.com/BraianVaylet/buildspace-epic-game. All game actions, including minting and attacks, are recorded on the blockchain.
pages/index.js main page and API routes such as pages/api/hello.js.First, connect a MetaMask wallet that is set to the Rinkeby test network and load it with test ETH from a faucet. Then mint an NFT character by paying the transaction fee, and finally select one of three powers (🔥 fire, 💧 water, 🌿 vegetation) to attack the boss; the boss also selects a power, and the winner of the elemental matchup deals damage. The character art was created in Hero Forge, and the page displays each character's stats in a table format.
