UNPKG

chaingate

Version:

A complete TypeScript library for connecting to and making transactions on different blockchains

15 lines 487 B
import { LegacyUtxoWallet } from '../../abstract/LegacyUtxoWallet/LegacyUtxoWallet'; export class DogecoinWallet extends LegacyUtxoWallet { constructor(utils, transports) { super(utils, transports, { bech32: null, pubKeyHash: 0x1e, scriptHash: 0x16, wif: 0x9e, }); } async getAddress() { return this.utils.publicKeyToAddress(await this.getPublicKey()); } } //# sourceMappingURL=DogecoinWallet.js.map