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

#47 in #bank

Download history 73/week @ 2024-06-21 49/week @ 2024-06-28 95/week @ 2024-07-05 170/week @ 2024-07-12 471/week @ 2024-07-19 91/week @ 2024-07-26 212/week @ 2024-08-02 310/week @ 2024-08-09 40/week @ 2024-08-16 8/week @ 2024-08-23 15/week @ 2024-08-30 122/week @ 2024-09-06 81/week @ 2024-09-13 103/week @ 2024-09-20 49/week @ 2024-09-27 24/week @ 2024-10-04

307 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

~35–51MB
~1M SLoC