Crate cosmos_sdk_proto

source ·
Expand description


Crate Docs Build Status Apache 2.0 Licensed MSRV

Rust crate for interacting with Protobufs defined by the Cosmos SDK.

The goal of this crate is to provide complete proto struct definitions for interacting with a Cosmos SDK blockchain.

Currently, this crate only provides a subset of the many total structs exported by Cosmos SDK proto files.

Pull requests to expand coverage are welcome.


§Minimum Supported Rust Version

This crate is supported on Rust 1.72 or newer.



  • Cosmos protobuf definitions.
  • cosmwasmcosmwasm
    CosmWasm protobuf definitions.
  • IBC protobuf definitions.
  • ICS23 protobuf definitions.
  • Support traits for Cosmos SDK protobufs.


  • Any contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message.
  • A Timestamp represents a point in time independent of any time zone or local calendar, encoded as a count of seconds and fractions of seconds at nanosecond resolution. The count is relative to an epoch at UTC midnight on January 1, 1970, in the proleptic Gregorian calendar which extends the Gregorian calendar backwards to year one.


  • The version (commit hash) of the Cosmos SDK used when generating this library.