UNPKG

chaingate

Version:

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

17 lines 693 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BitcoinUtils = void 0; const CurrencyInfo_1 = require("../../CurrencyInfo"); const Bech32UtxoCurrencyUtils_1 = require("../abstract/Bech32UtxoCurrencyUtils/Bech32UtxoCurrencyUtils"); class BitcoinUtils extends Bech32UtxoCurrencyUtils_1.Bech32UtxoCurrencyUtils { constructor(client, markets) { super(client, CurrencyInfo_1.BitcoinInfo, markets, 'bitcoin', { bech32: 'bc', pubKeyHash: 0x00, scriptHash: 0x05, wif: 0x80, }, '\x18Bitcoin Signed Message:\n'); } } exports.BitcoinUtils = BitcoinUtils; //# sourceMappingURL=BitcoinUtils.js.map