randomwow.js
v0.1.3
Published
RandomWOW.js is a zero-dependency implementation of the ubiquitous Wownero POW algorithm RandomWOW in JavaScript.
Downloads
18
Maintainers
Readme
RandomWOW.js
RandomX.js (NPM) | RandomWOW.js (NPM)
RandomWOW.js is an implementation of the ubiquitous Wownero POW algorithm RandomWOW in JavaScript. This package is part of a monorepo, containing NPM packages RandomX.js and RandomWOW.js.
// npm i randomx.js
import { randomx_create_vm, randomx_init_cache } from 'randomwow.js'
const cache = randomx_init_cache('optional key')
const randomx = randomx_create_vm(cache)
console.log(randomx.calculate_hash('hello world')) // Uint8Array
RandomX is a proof-of-work (PoW) algorithm that is optimized for general-purpose CPUs. RandomX uses random code execution (hence the name) together with several memory-hard techniques to minimize the efficiency advantage of specialized hardware.
Appreciate the undertaking? Consider a donation.
| Crypto | Donation Address | | ------------- | ------------- | | XMR | 85vt1KvVz82Dd7AoVWXxnPCubutVT9NRNTAoxKFnXNpzcUfLFZ7rBtjbxonPTD5roE998XczLAoCrUD7tPS84AUQ8cZXHRM | | WOW | WW3asfacxETEgtUFVXGBfnJUqmMgNrVdWJTDouT63Ly4B1B9xiqj2g6bDPS8jZNn6pXY5pj4dnmTtL1gLRTAxXwz1LQhsua1R |