cosmossdkjs
v0.0.7
Published
Client side JS libraries for transaction generation, signing and broadcasting to interact with supported Cosmos SDK based blockchains
Downloads
5
Readme
The cosmossdkjs
Library is being developed to be able to support transaction generation, signing and broadcasting to interact with supported Cosmos SDK based blockchains.
NOTE - This is currently a W.I.P. Usage examples will be added soon here.
Setup
npm install cosmossdkjs
Adding custom Modules support
To add support for Cosmos SDK modules, you need to first transpile the ./proto files associated with that module and add the generated typescript files to the src/proto
folder and the generated /types files to the types/proto
folder and add them to the RPCCLient in the src/proto/cosmwasm/rpc.query.ts
file.
DEV NOTES
- Finding supported Queries and Transaction Msgs
- To figure supported queries / tx msgs supported by any cosmos module, look at
query.rpc.query.d
andtx.rpc.msg.d
in thetypes/proto/<creator>/<module_name>
.
- To figure supported queries / tx msgs supported by any cosmos module, look at