Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 774 Bytes

README.md

File metadata and controls

22 lines (14 loc) · 774 Bytes

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