In this project I built a contract that is used to stake a predefined token and get 30% interest of same token.
Additional description about the project and its features.
- Solidity
- Smart contract
- Hardhat
- ether.js
- JavaScript
$ npm install
- git clone git@github.com:Addis-Belete/Artemis_Pro.git
- npm install
- run npx hardhat node on terminal
- run npx hardhat test test/pool-test.js
- After deploying contracts set pool address in receipt token contract by using setPoolAddress function.
- Set controller address in pool contract using setController function
- Call \_deposit and \_withdraw function from controller contract to deposit and withdraw predefined token.
👤 Addis Belete
- GitHub: @Addis0943
- Twitter: @Addis32018084
- LinkedIn: LinkedIn
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- Hat tip to anyone whose code was used
- Inspiration
- etc
This project is MIT licensed.