UNPKG

bitfact

Version:

A Javascript library to fingerprint (prove) your data, text, & files on the Ethereum blockchain.

14 lines (12 loc) 340 B
// NOTE: Update to USE from a package manager instead. const BitFact = require("../BitFact"); const loadConf = require("./loadConf"); const setup = loadConf({ provider: "", privateKey: "", options: { chain: "ropsten" }, }); // creates an Ethereum keypair (async () => { console.log(await new BitFact(setup).createKeypair()); })();