Hello, how are you? I have an issue that I can't solve. Through bitcoinjs-lib, I'm obtaining and generating dodge addresses, as well as public and private keys. The problem is that I get the public key as xpub, and the backend requires it with the dgub prefix instead of xpub. Alternatively, I might need to convert it from xpub to dgub. Could you assist me with this? Thanks!
Here, I'm sharing the code that obtains addresses and keys for Dodge and other currencies. Additionally, I'm providing the derivation path I'm using for Dodge.
Hello, how are you? I have an issue that I can't solve. Through bitcoinjs-lib, I'm obtaining and generating dodge addresses, as well as public and private keys. The problem is that I get the public key as xpub, and the backend requires it with the dgub prefix instead of xpub. Alternatively, I might need to convert it from xpub to dgub. Could you assist me with this? Thanks! Here, I'm sharing the code that obtains addresses and keys for Dodge and other currencies. Additionally, I'm providing the derivation path I'm using for Dodge.
Derivations path for Dodgecoin
File