| Crates.io | blockrs |
| lib.rs | blockrs |
| version | 0.4.0 |
| created_at | 2025-03-14 00:50:39.293729+00 |
| updated_at | 2025-03-31 06:16:10.077874+00 |
| description | TUI for tailing chain data |
| homepage | |
| repository | https://github.com/sergerad/blockrs |
| max_upload_size | |
| id | 1591687 |
| size | 221,188 |
Blockrs is a TUI for observing chain data.

Use cargo to install the crate:
cargo install blockrs
blockrs -h
Currently only supports Ethereum RPC:
blockrs https://rpc.flashbots.net
If you want to watch account balances, you need to provide a list via the config file. For example:
cat <<EOF > /tmp/config.yaml
tick_rate: 5s
addresses:
- 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045
EOF
export BLOCKRS_CONFIG=/tmp/
blockrs https://rpc.flashbots.net
The app will run in a mode which follows the HEAD of the chain by default.
If you hit j/k/Up/Down at any time, the app will stop following head and allow you to observe any previously-processed block.
To re-enter follow mode, hit f/Space/Enter.
The following features are required for 1.0:
ChainProvider instances beyond Ethereum RPCRatatui is a fantastic crate for creating TUI applications in Rust. This project is based on its template found here.