We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
var CoinKey = require('coinkey') var coinInfo = require('coininfo')
var dogeInfo = coinInfo('DCR').versions
var ck = new CoinKey.createRandom(dogeInfo)
console.log("Private Key (Wallet Import Format): " + ck.privateWif) console.log("Private Key (Hex): " + ck.privateKey.toString('hex')) console.log("Address: " + ck.publicAddress)
Output:- Private Key (Wallet Import Format): ZxxiXGjKJBAxEh9vpBZ2SwMJhm5J5JhcXxMzYjtojdwxyazdV49u Private Key (Hex): d7ed60e565102f9d73776af5d2208146921d4f9eee040c5cb7a401d0e83b8579 Address: DsaqXkswRUd8xhBoMCo3q8udMji2dbGcCjF
This address not valid on DCR network https://mainnet.decred.org/address/DsaqXkswRUd8xhBoMCo3q8udMji2dbGcCjF
The text was updated successfully, but these errors were encountered:
No branches or pull requests
var CoinKey = require('coinkey')
var coinInfo = require('coininfo')
var dogeInfo = coinInfo('DCR').versions
var ck = new CoinKey.createRandom(dogeInfo)
console.log("Private Key (Wallet Import Format): " + ck.privateWif)
console.log("Private Key (Hex): " + ck.privateKey.toString('hex'))
console.log("Address: " + ck.publicAddress)
Output:-
Private Key (Wallet Import Format): ZxxiXGjKJBAxEh9vpBZ2SwMJhm5J5JhcXxMzYjtojdwxyazdV49u
Private Key (Hex): d7ed60e565102f9d73776af5d2208146921d4f9eee040c5cb7a401d0e83b8579
Address: DsaqXkswRUd8xhBoMCo3q8udMji2dbGcCjF
This address not valid on DCR network
https://mainnet.decred.org/address/DsaqXkswRUd8xhBoMCo3q8udMji2dbGcCjF
The text was updated successfully, but these errors were encountered: