Skip to content

bowenyou/ods-visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages