ARBO a game in which you get back digitally for nurturing the environment. All profits will be used to buy toucan carbon credits
- hardhat -> Smart contract code
- ARBO -> The Gamemaker game
- assets -> Images for the repo
- middleware -> Public/Permisonless backend code that allows for maintaining cache information for speedy game processing
A tree(NFT token) is planted by the NFT contract [seed time, growth in cm(0), max growth(random, capped)] A user creates/updates the flow, based on the growth input from oracle [time, growth in cm = multiplier X flowrate(capped)]
-
We utilize the concept of prisoner's dilemma.
-
As a user you can water the ARBO with a gnome.
-
Watering and growing the tree entitles you to a gardener fee, If no 10xers and if you have not stopped watering when the tree is grown.
-
"10X watering" is possible, the user who does 10X his/her last watering rate stands a chance to win everyone's flow and the ARBO as a NFT.
-
For redemption for a NFT, fees will be deducted from 10xer
In the case 4 happens all gnomes who are not 10xers lose any and all winnings.
All excess fees and profit will be used for funding the next round and for retiring carbon credits.
As a winner I can redeem the NFT and claim outflow by paying a fee. The fee goes 5% to protocol, 95% to other players.
Mumbai Polygon V1 - Used for Demo video https://mumbai.polygonscan.com/address/0xaa19610d44b7ef574faeeca5e1a77d4bb7d8b8c2
Mumbai Polygon V2
- The tree address is - 0x24cC5458323Ba7F82E5de48D2D5A4363d586077E
- The Tellor oracle address 0xf753e8F555c3E624100337B0438878f375bc0053
Optimism
- The tree address is - 0x7d363EA1F74C5323730c130d9d37d336C860079A
- The winner address is - 0xe97A434341f839079d15543008F98Aad016d5d64
- We used https://github.com/relaycc/relay for the xmtp chat client
- We used graph-client/javascript-cjs for the graph-relayer module
cd hardhat npx hardhat test test/Tree.ts