IOTA Pico Framework Proof Of Work WebAssembly


001.0.03 years ago4 years agoMinified + gzip package size for @iota-pico/pow-wasm in KB


GitHub license Build Status Coveralls

IOTA Pico Framework Proof Of Work for WebAssembly (Alpha)

The library contains the Curl proof of work algorithm as a WebAssembly module.

This is currenly only single threaded as emscripten support for threading relies on SharedArrayBuffer which is currently disabled in most browsers due to the Spectre vulnerability. See https://kripken.github.io/emscripten-site/docs/porting/pthreads.html for more details.


npm install @iota-pico/pow-wasm --save


Documentation for the code can be found in docs folder.


The IOTA Pico Framework is a multi-layered set of object oriented JavaScript libraries for use with the IOTA tangle.

If you don't want to use the layered versions of the libraries consider using the ready bundled versions:

Each layer is fully abstracted allowing you to replace components with your own implementations very easily.

The layered libraries are written in TypeScript so are all strongly typed. The modules are generated as ES6 so you may need to transpile them when including them for use in older JavaScript eco-systems. The code will run without transpilation in all modern browsers and when used by NodeJs.


Some tutorials can be found in the following repo @iota-pico/tutorials


Contributions are always welcome to the project. Feel free to raise issues, create pull requests or just make suggestions.


Come and find us on the IOTA Discord development channels


IOTA donations are always welcome :smile:



This project is licensed under the MIT License - see the LICENSE file for details.

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.