This repository contains the Radar Relay Bot example used in the Building a Bot tutorial.
-
npm install
-
export RADAR_WALLET_PASSWORD=yourpassword
-
Run:
npm start
The first time you run the bot it will output the wallet address and wait to receive Kovan ETH. Enter the address into a Kovan Faucet to obtain Kovan ETH.
- Once the ETH is received the bot will:
- Set WETH token allowance
- Wrap ETH
- Subscribe to the ZRX/WETH book websocket
- Place a ZRX/WETH limit order