#evm #data #database #ethereum #rust

bin+lib gprobe

A verbose CLI to probe go-ethereum data structures

1 unstable release

0.1.2 Mar 3, 2023

#228 in Database implementations

MIT license

365 lines


build license: MIT Crates.io

A verbose CLI to probe go-ethereum data structures, built in rust.


Prerequisites: Install Rust: https://www.rust-lang.org/tools/install

Install as a global command:

cargo install --git github.com/refcell/gprobe --branch main

Then, you can run gprobe from anywhere. Alternatively, you can run cargo run from the project root or build the project with cargo build.

To use gprobe as a library, add the following to your Cargo.toml:

gprobe = { git = "https://github.com/refcell/gprobe", branch = "main" }


grpobe 0.1.2
A verbose CLI to probe go-ethereum data structures.


    <SOURCE>    The data source to probe

    -h, --help       Print help information
    -p, --print      Prints out to the terminal
    -v, --verbose    Verbose output
    -V, --version    Print version information

    create        Create a new database
    decompress    Decompress a Tarball
    help          Print this message or the help of the given subcommand(s)
    tree          Traverse a database


gprobe exposes a number of useful utilities. The tree subcommand traverses a database and prints out the hex-encoded keys and values.


All contributions are welcome. Before opening a PR, please submit an issue detailing the bug or feature. When opening a PR, please ensure that your changes build with nightly rust, has been linted with cargo fmt, and contains tests when applicable.




This code is being provided as is. No guarantee, representation or warranty is being made, express or implied, as to the safety or correctness of the code. It has not been audited and as such there can be no assurance it will work as intended, and users may experience delays, failures, errors, omissions or loss of transmitted information. Nothing in this repo should be construed as investment advice or legal advice for any particular facts or circumstances and is not meant to replace competent counsel. It is strongly advised for you to contact a reputable attorney in your jurisdiction for any questions or concerns with respect thereto. The creators are not liable for any use of the foregoing, and users should proceed with caution and use at their own risk.


~552K SLoC