Skip to content

A small block explorer for geth PoAs written in rust

License

Notifications You must be signed in to change notification settings

adria0/tesseracts

Repository files navigation

Rust Docker build License: GPL v3

Tesseracts

A minimalistic block explorer initially created to learn rust.

This block explorer has been created as a rust self-learning project to give support to nou.network, a small beta PoA for social projects with nodes from university teachers (UPC, UAB, UOC, UdG, UIB), GuifiNet and members the White Hat Group.

Disclaimer

This is an experimental block explorer, my first attempt to write something in rust, and expect to find newbie rustacean antipatterns here. Nonetheless it seems that it works as expected.

Features

screenshot

At this moment it comes with the folowing features (checked items) and there's a roadmap for the next ones (unchecked items)

  • Last blocks page
  • Show block
  • Show transaction
  • Show address and their transactions
  • Have a copy of blockchain in the local db
  • Gracefull termination with control-C
  • Configuration file
  • Embeeded templates (does not need external files)
  • Upload contracts and parse calls and logs
  • Block & Tx pagination
  • Command line parameters with better debug
  • Internal transactions
  • Parse clique block headers
  • Named accounts
  • Automatic function detection
  • Download receipts in batch
  • Forward-backwards block scanning
  • Set postly URL... /tx /addr /block
  • Automatic ERC20 parsing /erc20
  • Suport for user configuration
    • Naming addresses support
    • Specify token address

Set up

To run tesseracts, you need to install rust

curl https://sh.rustup.rs -sSf | sh

create a .toml config file (see cfg.example.toml)

run the application with (if your config file is named cfg.toml)

cargo run -- --cfg cfg.toml -vvv