FTM Achievement is a project that aim to create a general purpose achievement system to increase the user’s engagement and long term longevity of of the interaction between the user and platform smart contract like Games, DeFi protocols and DAOs.
Contract and tests can be found here: https://github.com/StErMi/achievement-system-contract
- Clone the project
- Install dependecies
yarn install
- Open Terminal 1 and run:
yarn chain
to start the hardhat chain - Open Terminal 2 and run
yarn start
to start the React app - Open Terminal 3 and run
yarn deploy
to deploy all contracts - Open http://localhost:3000/ to interact with it
Contract to interact with:
Archievement.sol
-- An ERC721 contract with all the general purpose archievement management systemutils/FTMGame.sol
-- A crypto Game Smart contract that showcase how to leverage the Achievement system to increase user engagement and longevityutils/Greeting.sol
-- A smart contract that interact with the Achievement system and the FTMGame unlocking functionalities only if the user's owns a specific achievement awarded by the FTMGame