Skip to content

Instantly share code, notes, and snippets.

@supersuryaansh
Created May 22, 2025 11:57
Show Gist options
  • Save supersuryaansh/9eed54a456bccf8be9f237188e613c2f to your computer and use it in GitHub Desktop.
Save supersuryaansh/9eed54a456bccf8be9f237188e613c2f to your computer and use it in GitHub Desktop.
Key Pair for Hyper stuff
const libKeys = require('hyper-cmd-lib-keys')
const HyperDHT = require('hyperdht')
const seed = libKeys.randomBytes(32).toString('hex')
const keypair = HyperDHT.keyPair(seed)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment