Skip to content

Client side JS libraries for transaction generation, signing and broadcasting to interact with supported Cosmos SDK based blockchains

License

Notifications You must be signed in to change notification settings

swarna1101/cosmos_JS

Repository files navigation

Cosmos isolated

License npm (scoped)

Docs


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 and tx.rpc.msg.d in the types/proto/<creator>/<module_name>.

About

Client side JS libraries for transaction generation, signing and broadcasting to interact with supported Cosmos SDK based blockchains

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published