elliptic icon indicating copy to clipboard operation
elliptic copied to clipboard

keyFromPrivate not documented

Open ivanhuay opened this issue 7 years ago • 2 comments

in documentation i only found keyFromSecret that not work for secp256k1

ivanhuay avatar Oct 13 '17 13:10 ivanhuay

I also have same problem

serkandaglioglu avatar May 25 '18 09:05 serkandaglioglu

i solved using secp256k1

const secp256k1 = require('secp256k1');
let publicKey = secp256k1.publicKeyCreate(privateKey);

ivanhuay avatar May 27 '18 14:05 ivanhuay