UNPKG

nano-pow

Version:

Proof-of-work generation and validation with WebGPU/WebGL/WASM for Nano cryptocurrency.

3 lines (2 loc) 164 B
import { WorkGenerateResponse } from 'nano-pow'; export declare function generate(hash: bigint, difficulty: bigint, debug: boolean): Promise<WorkGenerateResponse>;