5 releases

0.2.2 Feb 27, 2023
0.2.1 Feb 24, 2023
0.2.0 Feb 6, 2023
0.1.1 Dec 9, 2022
0.1.0 Nov 17, 2022

#42 in #bank

Download history 49/week @ 2023-12-05 123/week @ 2023-12-12 81/week @ 2023-12-19 21/week @ 2023-12-26 90/week @ 2024-01-02 38/week @ 2024-01-09 59/week @ 2024-01-16 124/week @ 2024-01-23 86/week @ 2024-01-30 110/week @ 2024-02-06 47/week @ 2024-02-13 48/week @ 2024-02-20 51/week @ 2024-02-27 37/week @ 2024-03-05 94/week @ 2024-03-12 185/week @ 2024-03-19

383 downloads per month
Used in cosm-orc

Apache-2.0

115KB
3K SLoC

Cosm-Tome

cosm-tome on crates.io Docs

Easy to use, high level Cosmos SDK rust client library.

Inspiration

The Cosmos SDK already has a lot of different APIs. So this library supports plugging in different backing APIs (Cosmos gRPC, Cosmos REST, Tendermint RPC, etc). We hide this complexity away from the cosmos modules (cosmwasm, auth, bank) only exposing the same unified CosmosClient trait to all of them.

As more APIs are added to Cosmos SDK, we will simply add a new CosmosClient implementation file keeping the cosmos module code untouched.

Crate Status

Clients

Backing API Dev Status
Tendermint RPC 🔨
Cosmos SDK gRPC 🔨
Cosmos SDK REST 🚫

Modules

Cosmos Module Dev Status
Auth
Authz 🚫
Bank
Tendermint 🔨
Crisis 🚫
Distribution 🚫
Evidence 🚫
Feegrant 🚫
Gov 🚫
Mint 🚫
Params 🚫
Slashing 🚫
Staking 🚫
Tx 🔨
Upgrade 🚫
Vesting 🚫
CosmWasm 🔨
IBC 🚫

Usage

TODO

Development

cargo t to run the unit tests.

Dependencies

~30–48MB
~1M SLoC