Bitcoin

Unable to get keyPair from ECPair.fromWIF

const ECPair = ECPairFactory(ecc); const network = bitcoin.networks.testnet; const alice = ECPair.fromWIF(privateKeyWIF, network);

console.log(Alice);

Why didn’t I get Alice?

Related Articles

Back to top button