Crates.io | enr-cli |
lib.rs | enr-cli |
version | 0.7.0 |
source | src |
created_at | 2020-03-11 01:04:04.032789 |
updated_at | 2024-06-18 06:24:16.003012 |
description | Simple utility to read Ethereum Node Records (ENR) |
homepage | |
repository | https://github.com/AgeManning/enr-cli |
max_upload_size | |
id | 217427 |
size | 78,199 |
This is a simple CLI utility for reading base64 encoded ENRs as well as building new ones.
Features may be added in the future.
This can be installed via cargo:
$ cargo install enr-cli
Sigma Prime <contact@sigmaprime.io>
Simple CLI for reading and building ENRs.
Usage: enr-cli [COMMAND]
Commands:
read Reads and ENR
build Builds an ENR
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help information
-V, --version Print version information
$ enr-cli read enr:-Ku4QJsxkOibTc9FXfBWYmcdMAGwH4bnOOFb4BlTHfMdx_f0WN-u4IUqZcQVP9iuEyoxipFs7-Qd_rH_0HfyOQitc7IBh2F0dG5ldHOIAAAAAAAAAACEZXRoMpD1pf1CAAAAAP__________gmlkgnY0gmlwhLAJM9iJc2VjcDI1NmsxoQL2RyM26TKZzqnUsyycHQB4jnyg6Wi79rwLXtaZXty06YN1ZHCCW8w
ENR Read:
Sequence No:1
NodeId: 3ab5eb24b287e4fc130fe25ed7424626fd9b53c5068b9778f42d1c7bb0831447
EnodeId: enode://3ab5eb24b287e4fc130fe25ed7424626fd9b53c5068b9778f42d1c7bb0831447@176.9.51.216?discport=23500
Libp2p PeerId: 16Uiu2HAmC13Brucnz5qR8caKi8qKK6766PFoxsF5MzK2RvbTyBRr
IP:176.9.51.216
UDP Port:23500
Eth2 Field:
Fork digest: f5a5fd42
Next fork version: 00000000
Next fork epoch: 18446744073709551615
SSZ Bytes: f5a5fd4200000000ffffffffffffffff
Known multiaddrs:
/ip4/176.9.51.216/udp/23500