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 |
#45 in #bank
539 downloads per month
Used in cosm-orc
115KB
3K
SLoC
Cosm-Tome
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–55MB
~1M SLoC