This commit is contained in:
Raven Scott
2026-05-20 21:02:45 -04:00
parent 1f3f4b24a2
commit 14d0980b4f
734 changed files with 682 additions and 746 deletions
@@ -0,0 +1,10 @@
require('bare-process/global')
const b4a = require('b4a')
const { HyperP2PEntropyBeacon } = require('../index.js')
async function main () {
const e = new HyperP2PEntropyBeacon()
e.contribute(b4a.from('seed'))
console.log('draw', b4a.toString(e.draw('pick'), 'hex').slice(0, 16))
await e.close()
}
main().catch(console.error)