Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 458 Bytes

README.md

File metadata and controls

18 lines (12 loc) · 458 Bytes

Node Wasm

This package provides local proof of work multi-threaded for NodeJS implemented in WASM, it is still slow but faster than the default LocalPowProvider.

Install

npm install @iota/pow-wasm.js

Usage

import { SingleNodeClient } from "@iota/iota.js";
import { WasmPowProvider } from "@iota/pow-wasm.js";

const client = new SingleNodeClient("https://chrysalis-nodes.iota.org", { powProvider: new WasmPowProvider() });