airgap-coin-lib
Version:
The airgap-coin-lib is a protocol agnostic library to prepare, sign and broadcast cryptocurrency transactions.
27 lines • 1.53 kB
JavaScript
;
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 BaseEthereumProtocol_1 = require("./BaseEthereumProtocol");
var EthereumProtocolOptions_1 = require("./EthereumProtocolOptions");
var EthereumRopstenProtocol = /** @class */ (function (_super) {
__extends(EthereumRopstenProtocol, _super);
function EthereumRopstenProtocol() {
// we probably need another network here, explorer is ok
return _super.call(this, new EthereumProtocolOptions_1.EthereumProtocolOptions(new EthereumProtocolOptions_1.EthereumProtocolNetwork(undefined, undefined, 'https://ropsten.infura.io', undefined, new EthereumProtocolOptions_1.EthereumProtocolNetworkExtras(3, 'https://api-ropsten.etherscan.io/')))) || this;
}
return EthereumRopstenProtocol;
}(BaseEthereumProtocol_1.BaseEthereumProtocol));
exports.EthereumRopstenProtocol = EthereumRopstenProtocol;
//# sourceMappingURL=EthereumRopstenProtocol.js.map