nano-pow
Version:
Proof-of-work generation and validation with WebGPU/WebGL/WASM for Nano cryptocurrency.
5 lines (4 loc) • 341 B
TypeScript
export declare function big(value: bigint | boolean | number | string | unknown): bigint;
export declare function bigHex(int: bigint, length?: number): string;
export declare function bigToU32(int: bigint, length: number): Uint32Array<ArrayBuffer>;
export declare function bigToU64(int: bigint, length: number): BigUint64Array<ArrayBuffer>;