UNPKG

airgap-coin-lib

Version:

The airgap-coin-lib is a protocol agnostic library to prepare, sign and broadcast cryptocurrency transactions.

29 lines 1.99 kB
"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; return extendStatics(d, b); }; return function (d, b) { extendStatics(d, b); function __() { this.constructor = d; } d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); }; })(); Object.defineProperty(exports, "__esModule", { value: true }); var bitGoUTXO = require("../../dependencies/src/bitgo-utxo-lib-5d91049fd7a988382df81c8260e244ee56d57aac/src/index"); var ProtocolNetwork_1 = require("../../utils/ProtocolNetwork"); var BitcoinProtocol_1 = require("../bitcoin/BitcoinProtocol"); var GroestlcoinProtocolOptions_1 = require("./GroestlcoinProtocolOptions"); var GroestlcoinTestnetProtocol = /** @class */ (function (_super) { __extends(GroestlcoinTestnetProtocol, _super); function GroestlcoinTestnetProtocol() { // super({ network: bitGoUTXO.networks.groestlcoin, baseApiUrl: 'https://blockbook-test.groestlcoin.org/' }) return _super.call(this, new GroestlcoinProtocolOptions_1.GroestlcoinProtocolOptions(new GroestlcoinProtocolOptions_1.GroestlcoinProtocolNetwork('Testnet', ProtocolNetwork_1.NetworkType.TESTNET, '', new GroestlcoinProtocolOptions_1.CryptoidBlockExplorer('https://chainz.cryptoid.info/grs-test'), new GroestlcoinProtocolOptions_1.GroestlcoinProtocolNetworkExtras('https://blockbook-test.groestlcoin.org/', bitGoUTXO.networks.groestlcoin)), new GroestlcoinProtocolOptions_1.GroestlcoinProtocolConfig())) || this; } return GroestlcoinTestnetProtocol; }(BitcoinProtocol_1.BitcoinProtocol)); exports.GroestlcoinTestnetProtocol = GroestlcoinTestnetProtocol; //# sourceMappingURL=GroestlcoinTestnetProtocol.js.map