UNPKG

chaingate

Version:

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

13 lines 507 B
import { BitcoinInfo } from '../../CurrencyInfo'; import { Bech32UtxoCurrencyUtils } from '../abstract/Bech32UtxoCurrencyUtils/Bech32UtxoCurrencyUtils'; export class BitcoinUtils extends Bech32UtxoCurrencyUtils { constructor(client, markets) { super(client, BitcoinInfo, markets, 'bitcoin', { bech32: 'bc', pubKeyHash: 0x00, scriptHash: 0x05, wif: 0x80, }, '\x18Bitcoin Signed Message:\n'); } } //# sourceMappingURL=BitcoinUtils.js.map