Skip to main content

Getting Started with Wasm

Minimum Requirements

Install the Library

If your project does not contain it already, install the peer dependency @iota/iota-sdk as well.

npm install @iota/iota-sdk

You can install the latest beta version of the library by running the following command:

npm install @iota/notarization-wasm@alpha

Build the Library

Alternatively, you can build the bindings to work with currently unreleased features. You can find instructions for this in the notarization repository.

Node.js Usage

The following code creates a new IOTA Notarization suitable for publishing to a locally running test network.

bindings/wasm/notarization_wasm/examples/src/0_basic/0_create_locked_notarization.ts
loading...

See utils for details about the implementations about the helper functions used here.