0.2.2 • Published 3 years ago

proofofwork-miner v0.2.2

Weekly downloads
-
License
BSV
Repository
-
Last release
3 years ago

Proof of Work

CPU Miner for Generating Expensive Hashes of Content

Installation

npm install --save proofofwork-miner

Usage

import { Miner } from 'proofofwork-miner'


let miner = new Miner()

miner.mine({
  content: '0xB3E04FAEC739C6A337002AC4015AC9515D4184DC4C7637DE9D390EEBCDF0E0DB',
  difficulty: 0.001
})