@dartess/multicoin-address-validator
Version:
Multicoin address validator for Bitcoin and other Altcoins ported to TypeScript.
22 lines • 672 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.dogeValidate = exports.dogeCurrency = void 0;
const bitcoin_validator_1 = require("../validators/bitcoin_validator");
const dogeCurrency = {
name: 'DogeCoin',
symbol: 'doge',
addressTypes: {
prod: [
'1e',
'16',
],
testnet: [
'71',
'c4',
],
},
};
exports.dogeCurrency = dogeCurrency;
const dogeValidate = (address, opts) => bitcoin_validator_1.BTCValidator.isValidAddress(address, dogeCurrency, opts);
exports.dogeValidate = dogeValidate;
//# sourceMappingURL=doge.js.map