XRPL Buffer to Seed to Account

node v10.24.1
version: 1.0.0
endpointsharetweet
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)
Loading…

no comments

    sign in to comment