0.1.0 makes additional template assumptions:
- use programmatic approach for fo
ts-codegen
so it expectsts/sdk/scripts/codegen.js
to exist in the project directory - add
codegen
script topackage.json
- since 1. use
@cosmwasm/ts-codegen
, you need to add it as dev dependency - make sure
ts/sdk/index.ts
exports contracts as the following
export * from "./contracts";