Skip to content

An API to query and broadcast transactions via gRPC. Makes direct use of cosmos-rust (cosmos‑sdk‑proto, cosmrs) and osmosis-rust (osmosis-std).

License

Notifications You must be signed in to change notification settings

Philipp-Sc/cosmos-rust-package

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cosmos-rust-package

Developer notes

api/core/cosmos/channels/mod.rs

  • load blockchains defined in 'tmp/supported_blockchains.json' via the chain-registry repository and test connection
  • get channel to gRPC node for supported blockchain

api/core/cosmos/keys/mod.rs

api/core/cosmos/query/mod.rs

  • cosmos query interface, returns a proto type

api/core/osmosis/query/mod.rs

  • osmosis query interface, returns a proto type

api/custom/query/mod.rs

  • custom queries, extended to return custom types

api/custom/types/mod.rs

  • custom types, easier to work with
  • adds serialize/deserialize
  • adds useful helper methods to work with the inner proto type

Implemented Modules

  • query/auth
  • query/gov
  • query/staking
  • (feel free to add a PR or open an Issue for queries you need that are not yet added here)

Similar Projects

About

An API to query and broadcast transactions via gRPC. Makes direct use of cosmos-rust (cosmos‑sdk‑proto, cosmrs) and osmosis-rust (osmosis-std).

Topics

Resources

License

Stars

Watchers

Forks

Languages