bimkon144 / compound-adapter

Simple contract adapter for interacting with the Compound v2 protocol.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Simple contract adapter for interacting with the Compound v2 protocol.

License:MIT License


Languages

Language:TypeScript 72.0%Language:Solidity 28.0%