Skip to content

Commit

Permalink
walletz
Browse files Browse the repository at this point in the history
  • Loading branch information
aeolianeth committed Jan 12, 2025
1 parent 8902db3 commit 6b6b917
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 47 deletions.
72 changes: 27 additions & 45 deletions src/constants/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@ export const NETWORKS: Record<number, NetworkInfo> = {
rpcUrl: `https://sepolia.infura.io/v3/${infuraId}`,
token: 'SepETH',
},
42161: {
name: NetworkName.arbitrum,
label: 'Arbitrum',
color: '#28a0f0',
chainId: 42161,
token: 'ArbETH',
rpcUrl: `https://arbitrum-mainnet.infura.io/v3/${infuraId}`,
blockExplorer: 'https://arbiscan.io',
},
// 42161: {
// name: NetworkName.arbitrum,
// label: 'Arbitrum',
// color: '#28a0f0',
// chainId: 42161,
// token: 'ArbETH',
// rpcUrl: `https://arbitrum-mainnet.infura.io/v3/${infuraId}`,
// blockExplorer: 'https://arbiscan.io',
// },
421614: {
name: NetworkName.arbitrumSepolia,
label: 'Arbitrum Sepolia Testnet',
Expand All @@ -58,15 +58,15 @@ export const NETWORKS: Record<number, NetworkInfo> = {
rpcUrl: `https://sepolia-rollup.arbitrum.io/rpc`,
blockExplorer: 'https://sepolia-explorer.arbitrum.io',
},
10: {
name: NetworkName.optimism,
label: 'Optimism',
color: '#ff0420',
chainId: 10,
token: 'OpETH',
rpcUrl: `https://optimism-mainnet.infura.io/v3/${infuraId}`,
blockExplorer: 'https://optimistic.etherscan.io',
},
// 10: {
// name: NetworkName.optimism,
// label: 'Optimism',
// color: '#ff0420',
// chainId: 10,
// token: 'OpETH',
// rpcUrl: `https://optimism-mainnet.infura.io/v3/${infuraId}`,
// blockExplorer: 'https://optimistic.etherscan.io',
// },
11155420: {
name: NetworkName.optimismSepolia,
label: 'Optimism Sepolia Testnet',
Expand All @@ -76,15 +76,15 @@ export const NETWORKS: Record<number, NetworkInfo> = {
rpcUrl: `https://sepolia.optimism.io`,
blockExplorer: 'https://optimism-sepolia.blockscout.com',
},
8453: {
name: NetworkName.base,
label: 'Base',
color: '#00d395',
chainId: 8453,
token: 'BaseETH',
rpcUrl: `https://mainnet.base.org`,
blockExplorer: 'https://basescan.org',
},
// 8453: {
// name: NetworkName.base,
// label: 'Base',
// color: '#00d395',
// chainId: 8453,
// token: 'BaseETH',
// rpcUrl: `https://mainnet.base.org`,
// blockExplorer: 'https://basescan.org',
// },
84532: {
name: NetworkName.baseSepolia,
label: 'Base Sepolia',
Expand All @@ -94,24 +94,6 @@ export const NETWORKS: Record<number, NetworkInfo> = {
rpcUrl: `https://sepolia.base.org`,
blockExplorer: 'https://sepolia.basescan.org',
},
137: {
name: NetworkName.polygon,
label: 'Polygon',
color: '#8247e5',
chainId: 137,
token: 'MATIC',
rpcUrl: `https://polygon-mainnet.infura.io/v3/${infuraId}`,
blockExplorer: 'https://polygonscan.com',
},
1442: {
name: NetworkName.polygonSepolia,
label: 'Polygon Sepolia Testnet',
color: '#9f7bea',
chainId: 1442,
token: 'MATIC',
rpcUrl: `https://sepolia-polygon.io/rpc`,
blockExplorer: 'https://sepolia.polygonscan.com',
},
}

export const TESTNET_IDS = new Set<number>([
Expand Down
2 changes: 0 additions & 2 deletions src/models/networkName.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,4 @@ export enum NetworkName {
optimismSepolia = 'optimismSepolia',
base = 'base',
baseSepolia = 'baseSepolia',
polygon = 'polygon',
polygonSepolia = 'polygonSepolia',
}

0 comments on commit 6b6b917

Please sign in to comment.