Git Product home page Git Product logo

enr-cli's Introduction

enr-cli

Build Status Doc Status Crates Status

Documentation at docs.rs

Overview

This is a simple CLI utility for reading base64 encoded ENRs as well as building new ones.

Features may be added in the future.

Install

This can be installed via cargo:

$ cargo install enr-cli

Usage

Sigma Prime <[email protected]>
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

Example

$ 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

enr-cli's People

Contributors

agemanning avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.