bandoracled

command
v0.0.0-...-21ace4c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 19, 2020 License: GPL-3.0 Imports: 15 Imported by: 0

README

Provider client

Subscribe event from blockchain, run prepare function, and send a transaction for reporting data to chain

How to run

  1. Set 2 environment varaibles
    • NODE_URI Node endpoint to subscribe event and send transaction (ex. tcp://localhost:26657)
    • PRIVATE_KEY A hexstring represents validator address (ex. 324342ab3.... (64 digits))
  2. Run (without build)
go run main.go

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL