@proton/wrap-constants 0.2.171 → 0.2.173
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +3 -3
- package/dist/index.mjs +3 -3
- package/package.json +2 -2
- package/src/coins.ts +2 -2
- package/src/constants.ts +2 -2
package/dist/index.js
CHANGED
|
@@ -219,8 +219,8 @@ var explorerLinkByChain = {
|
|
|
219
219
|
["Bitcoin Cash (Testnet)" /* BitcoinCashTestnet */]: (txid) => `https://blockexplorer.one/bitcoin-cash/testnet/blockHash/${txid}`,
|
|
220
220
|
["Stellar" /* StellarMainnet */]: (txid) => `https://blockchair.com/stellar/transaction/${txid}`,
|
|
221
221
|
["Stellar (Testnet)" /* StellarTestnet */]: (txid) => `https://testnet.steexp.com/tx/${txid}`,
|
|
222
|
-
["Proton" /* ProtonMainnet */]: (txid, traces) => `https://
|
|
223
|
-
["Proton (Testnet)" /* ProtonTestnet */]: (txid, traces) => `https://
|
|
222
|
+
["Proton" /* ProtonMainnet */]: (txid, traces) => `https://explorer.xprnetwork.org/transaction/${txid}${traces ? "?tab=traces" : ""}`,
|
|
223
|
+
["Proton (Testnet)" /* ProtonTestnet */]: (txid, traces) => `https://testnet.explorer.xprnetwork.org/transaction/${txid}${traces ? "?tab=traces" : ""}`,
|
|
224
224
|
["Polkadot" /* PolkadotMainnet */]: (txid) => `https://polkadot.subscan.io/extrinsic/${txid}`,
|
|
225
225
|
["Binance (BEP2)" /* BinanceBEP2 */]: (txid) => `https://binance.mintscan.io/txs/${txid}`,
|
|
226
226
|
["Binance (BEP20)" /* BinanceBEP20 */]: (txid) => `https://bscscan.com/tx/${txid}`,
|
|
@@ -1648,7 +1648,7 @@ var initializeConstants = (chain) => {
|
|
|
1648
1648
|
"https://testnet.protonchain.com"
|
|
1649
1649
|
],
|
|
1650
1650
|
CHAIN_ID: chain === "proton" ? "384da888112027f0321850a169f737c33e53b388aad48b5adace4bab97f437e0" : "71ee83bcf52142d61019d95f9cc5427ba6a0d7ff8accd9e2088ae2abeaf3d3dd",
|
|
1651
|
-
COINS_URL: chain === "proton" ? "https://
|
|
1651
|
+
COINS_URL: chain === "proton" ? "https://app.metalx.com/mainnet-coins.json" : "https://app.metalx.com/testnet-coins.json",
|
|
1652
1652
|
DEX_PROCESS_SIZE: 30,
|
|
1653
1653
|
DEX_SLTPPROCESS_SIZE: 10,
|
|
1654
1654
|
MAX_PRICE: "9223372036854775806",
|
package/dist/index.mjs
CHANGED
|
@@ -64,8 +64,8 @@ var explorerLinkByChain = {
|
|
|
64
64
|
["Bitcoin Cash (Testnet)" /* BitcoinCashTestnet */]: (txid) => `https://blockexplorer.one/bitcoin-cash/testnet/blockHash/${txid}`,
|
|
65
65
|
["Stellar" /* StellarMainnet */]: (txid) => `https://blockchair.com/stellar/transaction/${txid}`,
|
|
66
66
|
["Stellar (Testnet)" /* StellarTestnet */]: (txid) => `https://testnet.steexp.com/tx/${txid}`,
|
|
67
|
-
["Proton" /* ProtonMainnet */]: (txid, traces) => `https://
|
|
68
|
-
["Proton (Testnet)" /* ProtonTestnet */]: (txid, traces) => `https://
|
|
67
|
+
["Proton" /* ProtonMainnet */]: (txid, traces) => `https://explorer.xprnetwork.org/transaction/${txid}${traces ? "?tab=traces" : ""}`,
|
|
68
|
+
["Proton (Testnet)" /* ProtonTestnet */]: (txid, traces) => `https://testnet.explorer.xprnetwork.org/transaction/${txid}${traces ? "?tab=traces" : ""}`,
|
|
69
69
|
["Polkadot" /* PolkadotMainnet */]: (txid) => `https://polkadot.subscan.io/extrinsic/${txid}`,
|
|
70
70
|
["Binance (BEP2)" /* BinanceBEP2 */]: (txid) => `https://binance.mintscan.io/txs/${txid}`,
|
|
71
71
|
["Binance (BEP20)" /* BinanceBEP20 */]: (txid) => `https://bscscan.com/tx/${txid}`,
|
|
@@ -1493,7 +1493,7 @@ var initializeConstants = (chain) => {
|
|
|
1493
1493
|
"https://testnet.protonchain.com"
|
|
1494
1494
|
],
|
|
1495
1495
|
CHAIN_ID: chain === "proton" ? "384da888112027f0321850a169f737c33e53b388aad48b5adace4bab97f437e0" : "71ee83bcf52142d61019d95f9cc5427ba6a0d7ff8accd9e2088ae2abeaf3d3dd",
|
|
1496
|
-
COINS_URL: chain === "proton" ? "https://
|
|
1496
|
+
COINS_URL: chain === "proton" ? "https://app.metalx.com/mainnet-coins.json" : "https://app.metalx.com/testnet-coins.json",
|
|
1497
1497
|
DEX_PROCESS_SIZE: 30,
|
|
1498
1498
|
DEX_SLTPPROCESS_SIZE: 10,
|
|
1499
1499
|
MAX_PRICE: "9223372036854775806",
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
8
|
-
"version": "0.2.
|
|
8
|
+
"version": "0.2.173",
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"main": "dist/index.js",
|
|
11
11
|
"typings": "dist/index.d.ts",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"resolutions": {
|
|
41
41
|
"typescript": "4.5"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "2f9a55af4d380665d657af9a251e53db1ef11ff2"
|
|
44
44
|
}
|
package/src/coins.ts
CHANGED
|
@@ -107,9 +107,9 @@ export const explorerLinkByChain = {
|
|
|
107
107
|
[Chains.StellarTestnet]: (txid: string) =>
|
|
108
108
|
`https://testnet.steexp.com/tx/${txid}`,
|
|
109
109
|
[Chains.ProtonMainnet]: (txid: string, traces?: boolean) =>
|
|
110
|
-
`https://
|
|
110
|
+
`https://explorer.xprnetwork.org/transaction/${txid}${traces ? "?tab=traces" : ""}`,
|
|
111
111
|
[Chains.ProtonTestnet]: (txid: string, traces?: boolean) =>
|
|
112
|
-
`https://
|
|
112
|
+
`https://testnet.explorer.xprnetwork.org/transaction/${txid}${traces ? "?tab=traces" : ""
|
|
113
113
|
}`,
|
|
114
114
|
[Chains.PolkadotMainnet]: (txid: string) =>
|
|
115
115
|
`https://polkadot.subscan.io/extrinsic/${txid}`,
|
package/src/constants.ts
CHANGED
|
@@ -101,8 +101,8 @@ export const initializeConstants = (chain: string) => {
|
|
|
101
101
|
|
|
102
102
|
COINS_URL:
|
|
103
103
|
chain === "proton"
|
|
104
|
-
? "https://
|
|
105
|
-
: "https://
|
|
104
|
+
? "https://app.metalx.com/mainnet-coins.json"
|
|
105
|
+
: "https://app.metalx.com/testnet-coins.json",
|
|
106
106
|
|
|
107
107
|
DEX_PROCESS_SIZE: 30,
|
|
108
108
|
DEX_SLTPPROCESS_SIZE: 10,
|