Vedran daemon
Daemon application for interacting with vedran load balancer.
Get vedran-daemon
package
- Install Golang 1.13 or greater
- Run the command below
go get github.com/NodeFactoryIo/vedran-daemon
- Run vedran-daemon from your Go bin directory. For linux systems it will likely be:
~/go/bin/vedran-daemon
Note that if you need to do this, you probably want to add your Go bin directory to your $PATH to make things easier!
Usage
$ vedran-daemon -h
Register vedran-daemon with load balancer and start sending telemetry
Usage:
vedran-daemon [flags]
Flags:
-h, --help help for vedran-daemon
--id string Vedran-daemon id string (required)
--lb string Target load balancer url (required)
--node-metrics string Polkadot node metrics url (default "localhost:9615")
--node-rpc string Polkadot node rpc url (default "localhost:9933")
--payout-address string Payout address to which reward tokens will be sent (required)
Development
Clone
git clone git@github.com:NodeFactoryIo/vedran-daemon.git
Lint
Golangci-lint is expected to be installed.
make lint
Build
make build
Test
make test
Run daemon app with go run main.go [command]
.
More about different commands can be found in Usage.
License
This project is licensed under Apache 2.0: