This repository contains the ComethVault smartcontract.
- User deposit LP token in the Vault (first, user has to approve LP token to the Vault)
- The Vault deposits the LP token in the Farm
- Chainlink Keepers calls the Vault to compound interests periodically
- User can withdraw LP token from the Vault
This is a project in development, mainly used to get familiar with solidity and defi smartcontracts.
Thanks to @PatrickAlphaC for this course.
pip install brownie
npm install -g ganache-cli
Use brownie to run the deploy script
brownie run scripts/deploy --network=ganache-cli
Explore other scripts
Create a ".env" file in the root directory
touch .env
Add your private key to deploy on a live testnet
export PRIVATE_KEY=0xyourprivatekey
Add your Etherscan token to publish your code
export ETHERSCAN_TOKEN=yourtoken