drand-client CLI
The drand-client
command-line interface application can be used to fetch randomness from a drand network. It is a CLI frontend for the drand client libraries.
Installation
From Source
This will require a working Golang installation. You'll also need the make
command available.
git clone https://github.com/drand/go-clients.git
cd go-clients
make client-tool
Usage
Run ./drand-cli --help
for a list of supported options.
As an example, here is how to launch the client in order to read randomness for the current League of Entropy mainnet endpoints with automatic verification, failover and fastest-endpoint optimizations:
./drand-cli get chain-info --url https://api.drand.sh --insecure