You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 3, 2019. It is now read-only.
Trying to create PrivateKey from Uint8Array in browser:
const pk = new bitcore.crypto.BN("FE58A7A926DB562F1B9E00F488B9A2B9CD84DF606B544DAB97077CA04806702B", 16);
const arr = new Uint8Array(pk.toArray());
new bitcore.PrivateKey(arr);
Looks like it is decoded internally into very strange BN:
Trying to create PrivateKey from Uint8Array in browser:
Looks like it is decoded internally into very strange BN:
I just wanna achieve uncompressed WIF format instead of compressed and noticed Uint8Array argument leads to
compressed = false
.The text was updated successfully, but these errors were encountered: