Skip to content

cmwaters/cheaper-on-celestia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Cheaper On Celestia

This is a simple fun tool which calculates how much posting the equivalent data (i.e. blocks) from any Cosmos chain on Celestia would cost.

Usage

The tool is built in Go so to compile the binary simply run

go install

Then to run the tool, find the RPC and REST endpoint of any chain (a good source for this information is the Cosmos Chain Registry) and run the following command:

cheaper-on-celestia <RPC endpoint> <REST endpoint>

This will query the most recent 100 blocks. If you want to specify the query range, add the number of blocks to the end of the command.

The response will look something like:

cosmoshub-4 over the last 100 blocks (3197 KB & 10m18s) would cost 3557435 utia
The same blocks cost 1032234798 uatom

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages