Recently have been looking at crypto currencies, mostly Bitcoin and Dogecoin. I'm using this source for my project. I've got Bitcoin to work perfectly, and since the Bitcoin gem did not have native support for Dogecoin I had to self-implement it.

Also noticed that another githubber had opened tried to implement dogecoin support, which as of now did not generating address correctly.

The problem seems to be in this particular line. (corresponding to the format of the crypto address)

:address_version => "30" :address_version = PUBKEY_ADDRESS in base58.h

base58.h

PUBKEY_ADRESS contains value 30 .

Specifying this particular number will give address beginning with letter 'L' (litecoin address), where Dogecoin requires 'D'.

Does this have anything to do with Doge using scrypt, I have no technical expertise in this field. How do I go about generating dogecoin pubkey/private key pair?