/IOTA-PoWaaS-JS

Simple code to integrate an external proof of work service like https://powsrv.io/ based on @iota/curl-remote

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

IOTA-PoWaaS-JS

With this code you can replace the proof of work in iota.lib.js with an API call to https://powsrv.io/

Usage

const IOTA = require("iota.lib.js")
const poWaaS = require("./powaas");
const iota = new IOTA({ provider: "https://nodes.thetangle.org:443" });
poWaaS(iota, "https://api.powsrv.io:443/");