An example bot built using the Radar Relay SDK.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src Update to kovan endpoints Oct 27, 2018
.gitignore first commit Jun 8, 2018
LICENSE.md first commit Jun 8, 2018
README.md
package-lock.json Update package-lock.json for ganache-core installation error Oct 27, 2018
package.json Update SDK Sep 25, 2018
tsconfig.json first commit Jun 8, 2018
tslint.json first commit Jun 8, 2018

README.md

SDK Bot Example

This repository contains the Radar Relay Bot example used in the Building a Bot tutorial.

bot_screenshot

Setup

  1. npm install

  2. export RADAR_WALLET_PASSWORD=yourpassword

  3. 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.

  1. Once the ETH is received the bot will:
    1. Set WETH token allowance
    2. Wrap ETH
    3. Subscribe to the ZRX/WETH book websocket
    4. Place a ZRX/WETH limit order