Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 596 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 596 Bytes

gro-service

Gro bots: critical actions, harvest/rebalance and stats APIs

Prepare local enviroment

  1. install nodejs, refer to nodejs
  2. install yarn, refer to yarn

Run on kovan

  1. run yarn in workspace root folder
  2. run npm run dev in workspance root to start service
  3. run curl -X POST http://localhost:3000/bot/subscribe-new-block to start listener
  4. run curl -X POST http://localhost:3000/bot/unsubscribe to stop listener
  5. run curl http://localhost:3000/bot/get-pending-blocks to get pending blocks