DeFi Adapters build by core dev team of opty.fi
To run the project :
- Node.js - >v8
- Yarn
- Local env variables following format
- API keys from Blockchain node Providers like chainstack.com
Clone team-defi-adapters
git clone https://github.com/Opty-Fi/team-defi-adapters.git
Run yarn install
to install necessary dependencies.
Run yarn hardhat
to view all available tasks.
Compile all contracts
yarn compile
Test all contracts
yarn test
For setting up all essential actions (deploying contracts, executing functions).
# hardhat
yarn setup
# localhost
yarn setup:local
# staging
yarn setup:staging
For deploying infrastructure contracts in Optyfi protocol.
# hardhat
yarn deploy-infra
# localhost
yarn deploy-infra:local
# staging
yarn deploy-infra:staging