bitcore icon indicating copy to clipboard operation
bitcore copied to clipboard

TypeError: Cannot read properties of undefined (reading 'fromWIF')

Open ProximaCA opened this issue 2 years ago • 0 comments

my code import bitcoin from 'bitcoinjs-lib';

const TESTNET = bitcoin.networks.testnet; const privateKeyWIF = '...';

const keyPair = bitcoin.ECPair.fromWIF(privateKeyWIF, TESTNET);

ProximaCA avatar Jan 10 '24 13:01 ProximaCA