@iota-pico/pow-wasm

IOTA Pico Framework Proof Of Work WebAssembly

Usage no npm install needed!

<script type="module">
  import iotaPicoPowWasm from 'https://cdn.skypack.dev/@iota-pico/pow-wasm';
</script>

README

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.

Installation

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

Documentation

Documentation for the code can be found in docs folder.

Library

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.

Tutorials

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

Contributing

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

Authors

Come and find us on the IOTA Discord development channels

Donations

IOTA donations are always welcome :smile:

pico@tngl-me

License

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