pawtils
Version:
This repository contains several utils to work with the cryptocurrency [Paw](https://paw.digital/) inside the browser.
8 lines • 378 B
TypeScript
/**
* Calculates work on the GPU for the provided hash
* @param hash - The hash to calculate work for
* @param difficulty - The difficulty of the work to calculate
* @param dimension - Optional canvas dimension
*/
export declare function getWorkGPU(hash: Uint8Array, difficulty: number, dimension?: number): Promise<Uint8Array>;
//# sourceMappingURL=pow-gpu.d.ts.map