我正在使用这 BIP32实现来派生密钥。如何在Base64中导出导出的公钥?
var node = bip32js.bip32.fromBase58('<some private key>');
var child = node.derivePath('m/0/0');
var publicKey = child.publicKey(); // This gets the public key for the child
console.log(btoa(publicKey)) // This gives an error since the returned public key is not a string发布于 2020-11-22 07:40:22
https://stackoverflow.com/questions/64940499
复制相似问题