Demo Game Dragon Crasher with MetaMask SDK, Infura and Truffle


Curious about Web3 Gaming? This demo shows the implementation of MetaMask, Infura, and Truffle and includes the basic web3 game mechanics that any game developer can replicate.


by ConsenSys


Price History +

About Dragon Crasher

Dragon Crashers is an official sample project made in Unity 2020.2 that showcases Unity's native suite of 2D tools and graphics technology. The gameplay is a vertical slice of a side-scrolling Idle RPG, popular on mobile platforms.


Game’s Pipeline


🎮 Step 1: Connect & Authentication - MetaMask SDK

  • Sending a connect request
  • Sending a sign request

🎮 Step 2: Retrieving gaming characters and items

  • Requesting gaming items - Collection Items
  • Requesting gaming items - Owned Items

🎮 Step3: Using gaming items

  • NftItem
  • ItemData

🎮 Step4: Winning a gaming item

  • Minting gaming items

🎮 Step 5: Access the next level


🎮 Step 6: Buying a gaming item


Highlights

  • Demo Architecture attached with Player and Gaming Developer View
  • The demo supports iOS, Android, macOS, and Windows platforms.