randomwow.js
TypeScript icon, indicating that this package has built-in type declarations

0.1.3 • Public • Published

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

Package Sidebar

Install

npm i randomwow.js

Weekly Downloads

0

Version

0.1.3

License

BSD-3-Clause

Unpacked Size

325 kB

Total Files

11

Last publish

Collaborators

  • l-m