.env
file.env.example
, you add .env
file$ npm install
$ npm run migrate:kovan
$ npm run script:arbitrage
Deployed contract address (on Mainnet and Ropsten)
compound-borrow-examples https://github.com/compound-developers/compound-borrow-examples/blob/master/solidity-examples/MyContracts.sol
Borrowing an ERC20 Token by using ETH as Collateral https://medium.com/compound-finance/borrowing-assets-from-compound-quick-start-guide-f5e69af4b8f4
[Workshop]Lending & Borrowing Tokens on Compound from Solidity https://www.youtube.com/watch?v=0H8pC1-ADoY
Flash Swap https://uniswap.org/docs/v2/core-concepts/flash-swaps/
Flash Swaps for developers https://uniswap.org/docs/v2/smart-contract-integration/using-flash-swaps/
ExampleFlashSwap.sol https://github.com/Uniswap/uniswap-v2-periphery/blob/master/contracts/examples/ExampleFlashSwap.sol
FlashSwap example https://github.com/Austin-Williams/uniswap-flash-swapper
Deployed addresses on Kovan https://docs.balancer.finance/smart-contracts/addresses#kovan
Doc
interface https://docs.balancer.finance/smart-contracts/interfaces
on-chain registry (add pool pair) https://docs.balancer.finance/smart-contracts/on-chain-registry#addpoolpair