How to get xpriv and xpub from keyPair with bitcoinjs-lib

How to get xpriv and xpub from keyPair with bitcoinjs-lib

I have this code:

const bitcoin = require('bitcoinjs-lib');
const keyPair = bitcoin.ECPair.makeRandom({ });

Question: how do I get xpriv and xpub from keyPair

https://ift.tt/2P2l0nf

Comments

Popular posts from this blog

New z-enemy 1.26 Nvidia GPU Miner With Improved Performance

New coin daemon crashes ReadBlockFromDisk: Errors in block header at CBlockDiskPos(nFile=0, nPos=8)