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 Sep 16, 2021. It is now read-only.
Hi, pls see the photo, I can not convert Private key to address.
I'm using: "litecore-lib": "^0.13.22",
And my codes: var privateKey = "***" var litecore = require('litecore-lib'); var address = new litecore.PrivateKey(privateKey).toAddress();
pls help me, thank you so much!
The text was updated successfully, but these errors were encountered:
elvis-hp
changed the title
Can not convert private key to adress
Can not convert private key to address
Oct 30, 2018
Hi, @ultragtx, thank you for helping me.
But it does not work for. I try: npm i litecore-lib
But it still bugs in bitcore-lib (not litecore-lib)
Before that, I installed and used bitcore-lib. My project supports both BTC and BCH. Now need to add LiteCoin.
var privateKey = new litecore.PrivateKey(); console.log("privateKey", privateKey); var address = privateKey.toAddress(); console.log("new address", address);
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi, pls see the photo, I can not convert Private key to address.
I'm using:
"litecore-lib": "^0.13.22",
And my codes:
var privateKey = "***"
var litecore = require('litecore-lib');
var address = new litecore.PrivateKey(privateKey).toAddress();
pls help me, thank you so much!
The text was updated successfully, but these errors were encountered: