Skip to content

Latest commit

 

History

History
27 lines (26 loc) · 734 Bytes

README.md

File metadata and controls

27 lines (26 loc) · 734 Bytes

Yield Farming on Compound boosted with dYdX flash loan

📃 Instructions to run

0. Install dependencies in project directory (works with node v12.10.0)

npm i

1. Install ganache-cli (globaly)

npm i -g ganache-cli

2. In 1st terminal window fork mainnet with ganache-cli

ganache-cli -p 7545 -f <https://YOUR_ETH_PROVIDER>

3. In 2nd terminal window run tests

trufle test

!Note: To reset data, restart ganache-cli after each test.

🔧 Deposit:

Deposit Diagram

🔧 Withdraw:

Deposit Diagram