Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add @cosmjs/cli helpers for each contract #38

Closed
ethanfrey opened this issue Aug 12, 2020 · 1 comment
Closed

Add @cosmjs/cli helpers for each contract #38

ethanfrey opened this issue Aug 12, 2020 · 1 comment

Comments

@ethanfrey
Copy link
Member

ethanfrey commented Aug 12, 2020

Add some helper code that will allow simple query/execute of a given contract on the client side.

The basic idea is similar to web3x-codegen, but hand-coded for now. Wrapping a CosmWasmSigningClient and providing methods for each HandleMsg and QueryMsg, possibly init and upload methods.

In a future version, when we like the API, we can see how to auto-generate this from the JSON Schema

Related to cosmos/cosmjs#385

@ethanfrey
Copy link
Member Author

Done for cw20-base and cw1-subkeys. We can look at adding more once 0.23 is released

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant