Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
gilles437 authored Dec 21, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 1d95ebc commit 3c8b938
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -20,29 +20,23 @@ download the git repository using git clone and run:
Copy the .env.example to .env and replace the following information with your addresses:

RPC_URL="INFURA_URL"

ADDRESS="0x...YOUR_ADDRESS"

PRIVATE_KEY="0x...YOUR_PRIVATE_KEY"

CONTRACT_ADDRESS="0x...YOUR_CONTRACT_ADDRESS"

GAS_LIMIT=2000000

GAS_PRICE=150

ESTIMATED_GAS=470000

POLLING_INTERVAL=500
From the command line:

npm install

node node arbitrage-bot-0x1inch.js

If you want to add more arbitrage pairs, add these two lines after line 740 in arbitrage-bot-0x1inch.js, as many times as wanted:

console.log('WETH, UNI')
await checkOrderBook(WETH, UNI)
console.log('WETH, UNI')
await checkOrderBook(WETH, UNI)

With the tokens of your choice. Check that these tokens are defined in the ASSET SYMBOLS list in the same file.

0 comments on commit 3c8b938

Please sign in to comment.