Public addresses
Alf71 opened this issue · comments
Alf71 commented
Hi,
var keyPair = ec.keyFromPrivate(k);
var priv = keyPair.getPrivate("hex");
var pubKey = keyPair.getPublic();
var p = pubKey.encodeCompressed("hex");
How do I get the public addresses (comp and uncomp) or RMD160 from this?
Thanks in advance