Project to make communities sustainable with a no loss membership
url: https://www.youtube.com/watch?v=_YaRDvBi_to&feature=youtu.be
Users are allowed to stake DAI to a Tea Party contract, this turns DAI into CHAI and generates interest to the contract. Only the beneficiary is able to retrieve the generated interests.
There is another contract in the project named memberships, and the goal is to set a role to the users that stake in order to give them diferent perks depending on their stake to the community.
- Clone the project
- Go to the client folder
- Create a .env file (the values are in the sample.env file)
- Run in the console
yarn install
- Start the project
yarn start