Skip to content
This repository has been archived by the owner on Sep 6, 2024. It is now read-only.

Latest commit

 

History

History
22 lines (14 loc) · 523 Bytes

README.md

File metadata and controls

22 lines (14 loc) · 523 Bytes

Neon PoW

This package provides local proof of work multi-threaded for NodeJS, it binds to a native rust binary.

Pre-requisites

You will need the rust toolchain installed so that the native module can be built on install.

Install

npm install @iota/pow-neon.js

Usage

import { SingleNodeClient } from "@iota/iota.js";
import { NeonPowProvider } from "@iota/pow-neon.js";

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