Open gbarkhatov opened 1 month ago
initBTCCurve
Readme.md
isValidBitcoinAddress
We can use getEccLib: https://github.com/bitcoinjs/bitcoinjs-lib/blob/master/src/ecc_lib.js#L30 from bitcoinjs-lib
getEccLib
bitcoinjs-lib
initBTCCurve
should be added toReadme.md
fileisValidBitcoinAddress
function instead of returning false as it's not that the address is invalid, but the setup is not properly initialized.We can use
getEccLib
: https://github.com/bitcoinjs/bitcoinjs-lib/blob/master/src/ecc_lib.js#L30 frombitcoinjs-lib