Skip to content

Latest commit

 

History

History
45 lines (25 loc) · 1.19 KB

README.md

File metadata and controls

45 lines (25 loc) · 1.19 KB

ods-visualizer

Inspired by the idea here.

This is a CLI application which subscribes to new headers from celestia-node, and visualizes the shares in the original data square.

Each namespace is represented by a (hopefully) unique color. The color is determined by hashing the namespace ID and using the first three bytes as the rgb values. As such, special namespaces are also reserved accordingly.

There is also a polling based application CLI tool which can be used to poll a specific block height.

Demo

demo.mp4

Usage

Copy the example_config.toml to config.toml and populate it with a Node API and auth key

cp example_config.toml config.toml

# Populate it with a Node API and auth key
vim config.toml 

To use the subscription functionality, just run as usual

cargo run --release

To query a specific block height

cargo run --release -- <BLOCK_HEIGHT>

Acknowledgements

Thanks to the folks at trusted-point.com for access to their node while testing.