Contract adapter for interacting with the Compound v2 protocol. The code was written in Solidity.
Tests use a fork of the mainnet.
npm install
- create file .env and complete according to .env.example. You need to type MAINNET_RPC_URL
run mainnet fork tests
npx hardhat test --network hardhat
run forked node
npx hardhat node --network hardhat