0.0.4 • Published 3 years ago

@tsunami-finance/tsunami-lib-ts v0.0.4

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

tsunami-lib-ts

Typescript library for Tsunami

Updating Generated Libraries

  1. Install move-to-ts
cargo install --git https://github.com/hippospace/move-to-ts.git
  1. Update tsunami-modules
git submodule update --init --recursive
  1. Generate Typescript bindings (results outputted to build/typescript)
(cd tsunami-modules; move-to-ts -a -n tsunami-lib-ts)
  1. Copy over updated src dir
rm -rf src; cp -r tsunami-modules/build/typescript/src .
  1. Install dependencies and build
yarn; yarn build

Results are in dist directory