#blockchain #querying #cosmos #cosmos-sdk #query #chain #rpc

app soar-rpc

interface for querying Cosmos SDK based blockchains over RPC

5 releases

0.1.4 May 22, 2022
0.1.3 May 11, 2022
0.1.2 Mar 8, 2022
0.1.1 Mar 8, 2022
0.1.0 Feb 24, 2022

#17 in #cosmos-sdk

MIT license

17KB
299 lines

soar-rpc GitHub release (latest by date including pre-releases) Commit activity Lines of code GitHub issues Crates.io

For Cosmos Blockchains

advisory

This is a simple weekend project I wanted to build to further learn what you can query about a CosmosSDK chain over RPC, and why it can be useful for gathering information. This is not a full-fledged project of mine, as I'm still wrapping up the Fall semester and have been a bit too busy with finals to build this into something like a full Rust fork of strangelove-ventures' lens.

v0.1.3

Adds support for evmos, implements unit-tests

Install

cargo install soar-rpc

Usage

The queries you already know and love, in the command line.

Provided default endpoints

soar gaia --abci-info
soar akash --block-by-height 13021
soar juno --unconfirmed-txs 5

With custom endpoints

soar http://public-rpc.regen.vitwit.com:26657/ --abci-info

Roadmap

  • Allow endpoints to be determined by the user instead of relying on a single node to maintain constant uptime.
  • Integrate suppport for all other CosmosSDK-based chains.
  • Write unit-tests for all new chains added to soar-rpc.

Dependencies

~5–17MB
~173K SLoC