An open API service indexing awesome lists of open source software.

https://github.com/chainsafe/discv5-cli

Discv5 CLI
https://github.com/chainsafe/discv5-cli

Last synced: 4 months ago
JSON representation

Discv5 CLI

Awesome Lists containing this project

README

          

# discv5-cli

![ES Version](https://img.shields.io/badge/ES-2020-yellow)
![Node Version](https://img.shields.io/badge/node-12.x-green)

CLI wrapper around [`@chainsafe/discv5`](https://github.com/chainsafe/discv5)

## Usage

`discv5 --help` - Help text

`discv5 init` - Initializes new PeerId and ENR in local directory

`discv5 [run]` - Runs Discv5 service

Note: A UDP Multiaddr, PeerId, Local ENR, Bootstrap ENRs, and Output ENRs files must be provided to run the Discv5 service.

## Logging

Additional logs may be configured with the `DEBUG` environment variable.

eg: `DEBUG=discv5* discv5`

## License

Apache 2.0