Skip to content

Instantly share code, notes, and snippets.

@shredding
Created September 12, 2017 14:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shredding/d887a6a5e2184953cb5962a7e411ab6b to your computer and use it in GitHub Desktop.
Save shredding/d887a6a5e2184953cb5962a7e411ab6b to your computer and use it in GitHub Desktop.
const ripple = require('ripple-keypairs')
const elitistPart = 'chp'
while (true) {
const seed = ripple.generateSeed()
const keypair = ripple.deriveKeypair(seed)
const address = ripple.deriveAddress(keypair.publicKey)
if (address.startsWith('r' + elitistPart)) {
console.log(seed, keypair, address)
break
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment