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 ccminer 2.3.1 from Tpruvot with Lyra2REv3 Support and More

Bitfinex & Market Synergy To Offer Institutional Calibre Cryptocurrency Connectivity

Bitcoin Gold (BTG) To Launch Mining on 12th November (7:00 UTC)