@proton/wrap-constants 0.2.70 → 0.2.71

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/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
8
- "version": "0.2.70",
8
+ "version": "0.2.71",
9
9
  "license": "MIT",
10
10
  "main": "dist/index.js",
11
11
  "typings": "dist/index.d.ts",
@@ -44,5 +44,5 @@
44
44
  "resolutions": {
45
45
  "typescript": "4.5"
46
46
  },
47
- "gitHead": "8b462c23ff833f4714019ddcedbdd348e72d8b53"
47
+ "gitHead": "1f608fe090427d0d7b85433f8be3c51da6f8479f"
48
48
  }
package/src/coins.ts CHANGED
@@ -115,6 +115,7 @@ export const explorerLinkByChain = {
115
115
  [Chains.MetalXTestnet] : (txid: string) => `https://metalscan.io/tx/${txid}`,
116
116
  [Chains.MetalCTestnet] : (txid: string) => `https://tahoe.metaltrace.io/tx/${txid}`,
117
117
  [Chains.MetalCMainnet] : (txid: string) => `https://metalscan.io/tx/${txid}`,
118
+ [Chains.XDCMainnet] : (txid: string) => `https://xdc.blocksscan.io/txs/${txid}`,
118
119
  }
119
120
 
120
121
  export const protonExplorerTxUrl = (chain: string, txId: string, traces?: boolean) => chain === 'proton'
@@ -492,31 +493,31 @@ export const initializeCoins = (protonChain: string): {
492
493
  image: 'https://assets.coingecko.com/coins/images/26045/small/euro-coin.png?1655394420',
493
494
  coingeckoId: 'euro-coin'
494
495
  },
495
- // {
496
- // allowSwap: false,
497
- // allowBridge: IS_MAINNET,
498
- // allowLend: false,
499
- // allowBorrow: false,
500
- // name: 'XDC Network',
501
- // coin: 'XDC',
502
- // xtokenSymbol: 'XDC',
503
- // xtokenPrecision: 4,
504
- // xtokenContract: 'xtokens',
505
- // wallets: [
506
- // ...(IS_MAINNET ? [{
507
- // wallet: 'XDC',
508
- // symbol: 'XDC',
509
- // chain: Chains.XDCMainnet,
510
- // network: Networks.Mainnet,
511
- // precision: 18,
512
- // contract: '',
513
- // provider: Providers.FIREBLOCKS,
514
- // hasWithdrawMemo: false
515
- // }]: [])
516
- // ],
517
- // image: 'https://assets.coingecko.com/coins/images/2912/small/xdc-icon.png?1633700890',
518
- // coingeckoId: 'xdce-crowd-sale'
519
- // },
496
+ {
497
+ allowSwap: false,
498
+ allowBridge: IS_MAINNET,
499
+ allowLend: false,
500
+ allowBorrow: false,
501
+ name: 'XDC Network',
502
+ coin: 'XDC',
503
+ xtokenSymbol: 'XDC',
504
+ xtokenPrecision: 4,
505
+ xtokenContract: 'xtokens',
506
+ wallets: [
507
+ ...(IS_MAINNET ? [{
508
+ wallet: 'XDC',
509
+ symbol: 'XDC',
510
+ chain: Chains.XDCMainnet,
511
+ network: Networks.Mainnet,
512
+ precision: 18,
513
+ contract: '',
514
+ provider: Providers.FIREBLOCKS,
515
+ hasWithdrawMemo: false
516
+ }]: [])
517
+ ],
518
+ image: 'https://assets.coingecko.com/coins/images/2912/small/xdc-icon.png?1633700890',
519
+ coingeckoId: 'xdce-crowd-sale'
520
+ },
520
521
  {
521
522
  allowSwap: false,
522
523
  allowBridge: IS_MAINNET,