Skip to content

Commit

Permalink
update supported chain
Browse files Browse the repository at this point in the history
  • Loading branch information
cauta committed May 17, 2024
1 parent d3f15f0 commit adb7d54
Showing 1 changed file with 47 additions and 20 deletions.
67 changes: 47 additions & 20 deletions app/libs/utils/src/supportedChain.util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,63 +2,90 @@ export class SupportedChain {
static ETH = {
id: 1,
idHex: '0x1',
name: 'ETH',
name: 'Ethereum',
confirmationBlock: 12,
explorer: 'https://etherscan.io',
nativeCurrency: 'ETH',
};

static BSC = {
id: 56,
idHex: '0x38',
name: 'BSC',
confirmationBlock: 18,
explorer: 'https://bscscan.com',
nativeCurrency: 'BNB',
};

static POLYGON = {
id: 137,
idHex: '0x89',
name: 'POLYGON',
name: 'Polygon',
confirmationBlock: 50,
explorer: 'https://polygonscan.com',
nativeCurrency: 'MATIC',
};

static AVALANCHE = {
id: 43114,
idHex: '0xa86a',
name: 'AVALANCHE',
confirmationBlock: 50,
};

static FANTOM = {
id: 250,
idHex: '0xfa',
name: 'FANTOM',
name: 'Avalanche',
confirmationBlock: 50,
explorer: 'https://snowtrace.io',
nativeCurrency: 'AVAX',
};

static ARBITRUM = {
id: 42161,
idHex: '0xa4b1',
name: 'ARBITRUM',
confirmationBlock: 50,
};

static OPTIMISM = {
id: 10,
idHex: '0xa',
name: 'OPTIMISM',
name: 'Arbitrum',
confirmationBlock: 50,
explorer: 'https://arbiscan.io',
nativeCurrency: 'ETH',
};

static BASE = {
id: 8453,
idHex: '0x2105',
name: 'BASE',
name: 'Base',
confirmationBlock: 50,
explorer: 'https://basescan.org/',
nativeCurrency: 'BASE',
};

static MANTLE = {
id: 5000,
idHex: '0x1388',
name: 'Mantle',
confirmationBlock: 50,
explorer: 'https://explorer.mantle.xyz',
nativeCurrency: 'MNT',
};

static FANTOM = {
id: 250,
idHex: '0xfa',
name: 'Fantom',
confirmationBlock: 50,
explorer: 'https://ftmscan.com',
nativeCurrency: 'FTM',
};

static OPTIMISM = {
id: 10,
idHex: '0xa',
name: 'Optimism',
confirmationBlock: 50,
explorer: 'https://optimistic.etherscan.io',
nativeCurrency: 'ETH',
};

static GNOSIS = {
id: 100,
idHex: '0x64',
name: 'GNOSIS',
name: 'Gnosis',
confirmationBlock: 50,
explorer: 'https://gnosisscan.io',
nativeCurrency: 'xDAI',
};
}

0 comments on commit adb7d54

Please sign in to comment.