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.
npm install cosmossdkjs
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.
- 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