Skip to content

An example bot built using the Radar Relay SDK.

License

Notifications You must be signed in to change notification settings

0xm1kr/sdk-bot-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

An example bot built using the Radar Relay SDK.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%