CosmWasm / ts-codegen

Convert your CosmWasm smart contracts into dev-friendly TypeScript classes so you can focus on shipping code.
https://cosmology.zone/products/ts-codegen
Apache License 2.0
116 stars 28 forks source link

Support CosmWasm 1.1 Schemas #59

Closed JakeHartnell closed 2 years ago

JakeHartnell commented 2 years ago

Really excited for CosmWasm 1.1 schemas... would be great to get support for that so we can start using them.

pyramation commented 2 years ago

@uint do you have any examples I can use for testing?

uint commented 2 years ago

Hi, yes!

https://github.com/CosmWasm/cosmwasm/blob/main/contracts/hackatom/schema/hackatom.json https://github.com/CosmWasm/cosmwasm/blob/main/contracts/cyberpunk/schema/cyberpunk.json

And other contracts in there. Does that work?

pyramation commented 2 years ago

Thanks perfect, thank you @uint !

pyramation commented 2 years ago

PR here https://github.com/CosmWasm/ts-codegen/pull/60