@bitgo/statics
Advanced tools
Comparing version 1.6.1 to 2.0.0
@@ -27,2 +27,3 @@ import { BaseNetwork } from './networks'; | ||
SUSD = "susd", | ||
TRX = "trx", | ||
XLM = "xlm", | ||
@@ -71,2 +72,3 @@ XRP = "xrp", | ||
LTC = "ltc", | ||
TRX = "trx", | ||
XRP = "xrp", | ||
@@ -300,3 +302,2 @@ XLM = "xlm", | ||
TRST = "trst", | ||
TRX = "trx", | ||
TUSD = "tusd", | ||
@@ -303,0 +304,0 @@ UKG = "ukg", |
@@ -29,2 +29,4 @@ "use strict"; | ||
account_1.account('teos', 'Testnet Eos', networks_1.Networks.test.eos, 4, "eos" /* EOS */), | ||
account_1.account('trx', 'Tron', networks_1.Networks.main.trx, 6, "trx" /* TRX */), | ||
account_1.account('ttrx', 'Testnet Tron Shasta', networks_1.Networks.test.trx, 6, "trx" /* TRX */), | ||
account_1.account('xrp', 'Ripple', networks_1.Networks.main.xrp, 6, "xrp" /* XRP */), | ||
@@ -287,3 +289,2 @@ account_1.account('txrp', 'Testnet Ripple', networks_1.Networks.test.xrp, 6, "xrp" /* XRP */), | ||
account_1.erc20('trst', 'WeTrust', 6, '0xcb94be6f13a1182e4a4b6140cb7bf2025d28e41b', "trst" /* TRST */), | ||
account_1.erc20('trx', 'Tronix', 6, '0xf230b790e05390fc8295f4d3f60332c93bed42e2', "trx" /* TRX */), | ||
account_1.erc20('tusd', 'TrueUSD', 18, '0x0000000000085d4780b73119b644ae5ecd22b376', "tusd" /* TUSD */), | ||
@@ -290,0 +291,0 @@ account_1.erc20('ukg', 'UnikoinGold', 18, '0x24692791bc444c5cd0b81e3cbcaba4b04acd1f3b', "ukg" /* UKG */), |
@@ -192,2 +192,10 @@ import { CoinFamily } from './base'; | ||
} | ||
declare class Trx extends Mainnet implements AccountNetwork { | ||
family: CoinFamily; | ||
explorerUrl: string; | ||
} | ||
declare class TrxTestnet extends Testnet implements AccountNetwork { | ||
family: CoinFamily; | ||
explorerUrl: string; | ||
} | ||
declare class Xrp extends Mainnet implements AccountNetwork { | ||
@@ -229,2 +237,3 @@ family: CoinFamily; | ||
susd: Readonly<SUSD>; | ||
trx: Readonly<Trx>; | ||
xrp: Readonly<Xrp>; | ||
@@ -245,2 +254,3 @@ zCash: Readonly<ZCash>; | ||
susd: Readonly<SUSDTestnet>; | ||
trx: Readonly<TrxTestnet>; | ||
xrp: Readonly<XrpTestnet>; | ||
@@ -247,0 +257,0 @@ zCash: Readonly<ZCashTestnet>; |
@@ -350,2 +350,22 @@ "use strict"; | ||
}(Testnet)); | ||
var Trx = /** @class */ (function (_super) { | ||
__extends(Trx, _super); | ||
function Trx() { | ||
var _this = _super !== null && _super.apply(this, arguments) || this; | ||
_this.family = "trx" /* TRX */; | ||
_this.explorerUrl = 'https://tronscan.org/#/transaction/'; | ||
return _this; | ||
} | ||
return Trx; | ||
}(Mainnet)); | ||
var TrxTestnet = /** @class */ (function (_super) { | ||
__extends(TrxTestnet, _super); | ||
function TrxTestnet() { | ||
var _this = _super !== null && _super.apply(this, arguments) || this; | ||
_this.family = "trx" /* TRX */; | ||
_this.explorerUrl = 'https://shasta.tronscan.org/#/transaction/'; | ||
return _this; | ||
} | ||
return TrxTestnet; | ||
}(Testnet)); | ||
var Xrp = /** @class */ (function (_super) { | ||
@@ -411,2 +431,3 @@ __extends(Xrp, _super); | ||
susd: Object.freeze(new SUSD()), | ||
trx: Object.freeze(new Trx()), | ||
xrp: Object.freeze(new Xrp()), | ||
@@ -427,2 +448,3 @@ zCash: Object.freeze(new ZCash()), | ||
susd: Object.freeze(new SUSDTestnet()), | ||
trx: Object.freeze(new TrxTestnet()), | ||
xrp: Object.freeze(new XrpTestnet()), | ||
@@ -429,0 +451,0 @@ zCash: Object.freeze(new ZCashTestnet()), |
{ | ||
"name": "@bitgo/statics", | ||
"version": "1.6.1", | ||
"version": "2.0.0", | ||
"description": "dependency-free static configuration for the bitgo platform", | ||
@@ -5,0 +5,0 @@ "main": "./dist/src/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
154016
2312