chaingate
Version:
A complete TypeScript library for connecting to and making transactions on different blockchains
19 lines • 653 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.DogecoinWallet = void 0;
const LegacyUtxoWallet_1 = require("../../abstract/LegacyUtxoWallet/LegacyUtxoWallet");
class DogecoinWallet extends LegacyUtxoWallet_1.LegacyUtxoWallet {
constructor(utils, transports) {
super(utils, transports, {
bech32: null,
pubKeyHash: 0x1e,
scriptHash: 0x16,
wif: 0x9e,
});
}
async getAddress() {
return this.utils.publicKeyToAddress(await this.getPublicKey());
}
}
exports.DogecoinWallet = DogecoinWallet;
//# sourceMappingURL=DogecoinWallet.js.map