Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 428 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 428 Bytes

Compound adapter

Contract adapter for interacting with the Compound v2 protocol. The code was written in Solidity.

Tests use a fork of the mainnet.

Get started

  1. npm install
  2. create file .env and complete according to .env.example. You need to type MAINNET_RPC_URL

Commands

run mainnet fork tests

npx hardhat test --network hardhat

run forked node

npx hardhat node --network hardhat