/yf_boosted_with_floan

Yield Farming on Compound boosted with dYdX flash loan

Primary LanguageSolidity

Yield Farming on Compound boosted with dYdX flash loan

📃 Instructions to run

  1. Install dependencies in project directory(working with node v12.10.)
    npm i
  2. Install ganache-cli (globaly)
    npm i -g ganache-cli
  3. In 1st terminal window fork mainnet with ganache-cli
    ganache-cli -p 7545 -f <https://YOUR_ETH_PROVIDER>
  4. In 2nd terminal window run tests
    trufle test
    !Note: To reset data, restart ganache-cli after each test.

🔧 Deposit Diagram:

Deposit Diagram

🔧 Withdraw Diagram:

Deposit Diagram