arbitrage-btw-wbtc-and-eth

Arbitrage between WBTC and ETH📈

Stars
25
Committers
1

Arbitrage between WBTC and ETH

Introduction of Arbitrage between WBTC and ETH

  • This is a solidity smart contract that allows a user to get a opportunity to execute automatic arbitrage between WBTC and ETH.

 


Diagram of workflow

 


Setup

Add .env file

  • Based on .env.example , you add .env file

Install modules

$ npm install

Compile & migrate contracts (on Kovan testnet)

$ npm run migrate:kovan

Execute script (it's instead of testing)

$ npm run script:arbitrage

 


Remarks

  • In advance (and in case of using kovan), you need to add a pair (WBTC - ETH) liquidity into uniswap pool and balancer pool.

 


References

Related Projects