0.0.7 • Published 3 years ago
cosmossdkjs v0.0.7
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 cosmossdkjsAdding 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.dandtx.rpc.msg.din thetypes/proto/<creator>/<module_name>.
- To figure supported queries / tx msgs supported by any cosmos module, look at