Skip to content

DCR address Not Work on DCR Network #75

@rohitsahu21

Description

@rohitsahu21

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions