diff --git a/Dockerfile b/Dockerfile index c63f9373..352ad6b0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ FROM node:16 ADD . . RUN npm install -CMD while true; do node arb-bot -k "${BOT_WALLET_PRIVATEKEY}" -r "${RPC_URL}" --orderbook-address "${ORDERBOOK_ADDRESS}" --arb-address "${ARB_ADDRESS}" | tee -a logs.txt && sleep 30; done; +CMD while true; do node arb-bot -k "${BOT_WALLET_PRIVATEKEY}" -r "${RPC_URL}" --orderbook-address "${ORDERBOOK_ADDRESS}" --arb-address "${ARB_ADDRESS}" | tee -a logs.txt && sleep 10; done; diff --git a/README.md b/README.md index 6a4b0cfe..1df7acb0 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,7 @@ Other optional arguments are: - `--subgraph-url` A custom subgraph endpoint URL, used to read order details from, the default is Rain Orderbook Subgraph. The custom subgraph should follow the Rain Orderbook Subgraph schema. - `--interpreter-abi` The path to IInterpreter ABI json file used for instantiating ethers contract instances, should be absolute path, default is the `./src/abis/IInerpreterV1.json`. - `--arb-abi` The path to Arb (ZeroExOrderBookFlashBorrower) ABI json file used for instantiating ethers contract instances, should be absolute path, default is the `./src/abis/ZeroExOrderBookFlashBorrower.json`. +- `--orderbook-abi` The path to Orderbook ABI json file used for instantiating ethers contract instances, should be absolute path, default is the `./src/abis/OrderBook.json`. - `--no-monthly-ratelimit` Used to respect monthly 200k 0x API calls, mainly used when not running this app on a bash loop, e.g. Github Actions - `-h` or `--help` To show the CLI command's help - `-v` or `--version` To show the app's version @@ -61,6 +62,7 @@ which will show: --arb-address
Address of the deployed arb contract. Will override 'arbAddress' field in './config.json' file --interpreter-abiarbAbiPath
interpreterAbiPath
arbAbiPath
orderbookAbiPath