Stake-to-Play
Stake-to-Play: sustainable economic mechanism for on-chain games / worlds
Screenshots



Problem Statement
Stake-to-Play mechanism:Staking is required for certain game actions.Players will stake to play.The funds will be locked up until the player finished certain game tasks or story lines.Meanwhile, the funds will be deposited into DeFi yield farms (like AAVE) for making some earnings.At any time, the player can withdraw the unlocked funds and yields.The system may also take a cut on the yields and redirect it for creative use case like setting up a jackpot price for the game winners.Demo video: https://youtu.be/kM2X-RYz0co
Solution
MUDv2 is working great in general, will need more documentations and examples.MUDv2 @latticexyz/world @latticexyz/store Phaser 3 https://phaser.io/ wETH9 https://www.alchemy.com/smart-contracts/weth9 ERC20 @openzeppelin/contracts/token/ERC20/ERC20.sol ERC4626 @openzeppelin Typescript Javascript ethers copilot from openAI
Hackathon
Autonomous Worlds
2024
Contributors
- singyiu
13 contributions