cryptocoinjs/coinkey

How to convert private key hex to dogecoin wif?

spaced-out-mvc opened this issue · 2 comments

Hi, How do you update this to work for dogecoin instead of litecoin?

var key = new CoinKey(new Buffer(privateKeyHex, 'hex'), {private: 0xB0, public: 0x30})
key.compressed = false
console.log(key.privateWif) 

private: 0x9E, public: 0x1E