🏟️Arena

Arena is the first game for developers made by Impulse DAO. Learn Web3 Rust, Playtest, and Contribute.

Arena v0.2 dApp architecture

Mint contract features

  • Create a character with base stats and a name

  • Store a character's state and modify it based on the in-game events

  • Communicate with React app through meta.wasm file

  • Increase XP based on the Tournament results

  • Consume XP & add a new attribute for leveling up the character

Arena contract functionality

  • Create & execute tournaments

  • Validate in-game physics

  • Send instructions to Mint contract based on the Tournament outcome

React web application functionality

  • Uploading WASM code instances (strategies) to Vara

  • Creating Gladiators via Mint message to Mint contract

    • Gladiators are on-chain actors - Programs created using the uploaded strategy CodeId & parameters stored in the Mint contract

  • Get Mint contract’s state using CharacterInfo

  • Sending Register messages to Arena contract

  • Starting the Tournament by sending ReserveGas and Play

  • Displaying the Tournament results for Tournament pages viewers

  • Sending LevelUp from MyProfile page

  • Leaderboard

Step 0: Learning base Arena concepts
Step 1: Create a gladiator
Step 2: Sign up for a Tournament
Step 3: View log & upgrade your character

Last updated