Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 753 Bytes

MIGRATION.md

File metadata and controls

13 lines (10 loc) · 753 Bytes

Migration

v0.0.x -> v0.1.x

0.1.0 makes additional template assumptions:

  1. use programmatic approach for fo ts-codegen so it expects ts/sdk/scripts/codegen.js to exist in the project directory
  2. add codegen script to package.json
  3. since 1. use @cosmwasm/ts-codegen, you need to add it as dev dependency
  4. make sure ts/sdk/index.ts exports contracts as the following
export * from "./contracts";