XRPL Buffer to Seed to Account
const kp = require('ripple-keypairs')
const hex = '0123456789ABCDEF0123456789ABCDEF'
const entropy = Buffer.from(hex, 'hex')
console.log(entropy)
const secret = kp.generateSeed({entropy})
const pair = kp.deriveKeypair(secret)
const wallet = kp.deriveAddress(pair.publicKey)
console.log('Secret', secret)
console.log('Address', wallet)
no comments