enr-cli

![Build Status] ![Doc Status] ![Crates Status]

Documentation at docs.rs

Overview

This is a simple CLI utility for reading base64 encoded ENRs.

Features may be added in the future.

Install

This can be installed via cargo:

bash $ cargo install enr-cli

Usage

```bash Sigma Prime contact@sigmaprime.io Simple CLI for reading and modifying ENRs.

USAGE: enr-cli

FLAGS: -h, --help Prints help information -V, --version Prints version information

ARGS: Reads a base64 ENR and prints common parameters. ```

Example

```bash $ enr-cli enr:-Ku4QJsxkOibTc9FXfBWYmcdMAGwH4bnOOFb4BlTHfMdxf0WN-u4IUqZcQVP9iuEyoxipFs7-QdrH0HfyOQitc7IBh2F0dG5ldHOIAAAAAAAAAACEZXRoMpD1pf1CAAAAAP___gmlkgnY0gmlwhLAJM9iJc2VjcDI1NmsxoQL2RyM26TKZzqnUsyycHQB4jnyg6Wi79rwLXtaZXty06YN1ZHCCW8w

ENR Read: Sequence No:1 NodeId:0x3ab5..1447 Libp2p PeerId:16Uiu2HAmC13Brucnz5qR8caKi8qKK6766PFoxsF5MzK2RvbTyBRr IP:176.9.51.216 UDP Port:23500 Known multiaddrs: /ip4/176.9.51.216/udp/23500/p2p/16Uiu2HAmC13Brucnz5qR8caKi8qKK6766PFoxsF5MzK2RvbTyBRr ```