2.9.2 • Published 1 year ago

@zulustation/augment-api v2.9.2

Weekly downloads
-
License
GPL-3.0
Repository
-
Last release
1 year ago

@zulustation/types

The types package contains the generated types for the Zulu chain. Types are generated by first defining them in the types-def package, then running some scripts from the root of the monorepo.

Generating Types

Any time that you update types in types-def, you will need to generate the new types in this package.

First you will need to run a local instance of the new runtime for which the types have changed.

# build zulustation/zulu
make build-wasm
make build
make restart

Once you have an instance of the chain running, you can run some scripts from the root of this monorepo (make sure you have the RPC port 9933 exposed! this is on by default):

# gets metadata from the locally running chain
yarn types:getMetadata
yarn types:generate

And you're done! Now time to make a new release and/or fix anything that's broken in the SDK!

2.9.2

1 year ago

2.10.1

1 year ago

2.9.1

1 year ago

2.8.3

1 year ago

2.8.2

1 year ago

2.8.1

1 year ago