Skip to content

The experimental project to port Lib9c into JavaScript environment through WASM. Build your Nine Chronicles network transaction in your local at once.

License

Notifications You must be signed in to change notification settings

planetarium/lib9c-wasm

Repository files navigation

lib9c-wasm

npm version

The experimental project to part Lib9c into JavaScript environment through WASM.

Installation

# yarn
yarn add @planetarium/lib9c-wasm

# npm
npm install @planetarium/lib9c-wasm

Examples

You can see examples in the TypeScript source files under the /examples directory.

Development

Prerequisite

Git clone

git clone --recurse-submodules https://github.com/planetarium/lib9c-wasm

Build

You can generate codes under the generated/* by using the below command:

yarn build

Run example

You can run example with the below steps:

yarn build
yarn ts-node examples/stake.ts

Publish

yarn prepare-pack
yarn custom-pack
yarn publish lib9c-wasm*.tgz

Generate docs

You can generate docs with the below command:

yarn generate-docs

It'll generate /docs directory then you can open the /docs/index.html file in your browser.

Run .NET tests

You can run .NET tests.

dotnet test

About

The experimental project to port Lib9c into JavaScript environment through WASM. Build your Nine Chronicles network transaction in your local at once.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published