Skip to content

Commit

Permalink
feat: Add Lisk definitions (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
pxrl authored Jun 24, 2024
1 parent 5bb9ecc commit d667cbd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
export const TESTNET_SEPOLIA_CHAIN_IDs = {
ZK_SYNC_SEPOLIA: 300,
MODE_SEPOLIA: 919,
LISK_SEPOLIA: 4202,
POLYGON_AMOY: 80002,
BASE_SEPOLIA: 84532,
ARBITRUM_SEPOLIA: 421614,
Expand All @@ -20,6 +21,7 @@ export const MAINNET_CHAIN_IDs = {
POLYGON: 137,
BOBA: 288,
ZK_SYNC: 324,
LISK: 1135,
BASE: 8453,
MODE: 34443,
ARBITRUM: 42161,
Expand All @@ -43,6 +45,7 @@ export const PRODUCTION_NETWORKS: { [chainId: number]: PublicNetwork } = {
[CHAIN_IDs.BASE]: { name: "Base", nativeToken: "ETH", blockExplorer: "https://basescan.org" },
[CHAIN_IDs.BOBA]: { name: "Boba", nativeToken: "ETH", blockExplorer: "https://blockexplorer.boba.network" },
[CHAIN_IDs.LINEA]: { name: "Linea", nativeToken: "ETH", blockExplorer: "https://lineascan.build" },
[CHAIN_IDs.LISK]: { name: "Lisk", nativeToken: "ETH", blockExplorer: "https://blockscout.lisk.com" },
[CHAIN_IDs.MAINNET]: { name: "Mainnet", nativeToken: "ETH", blockExplorer: "https://etherscan.io" },
[CHAIN_IDs.MODE]: { name: "Mode", nativeToken: "ETH", blockExplorer: "https://explorer.mode.network" },
[CHAIN_IDs.OPTIMISM]: { name: "Optimism", nativeToken: "ETH", blockExplorer: "https://optimistic.etherscan.io" },
Expand All @@ -54,6 +57,7 @@ export const PRODUCTION_NETWORKS: { [chainId: number]: PublicNetwork } = {
export const TEST_NETWORKS: { [chainId: number]: PublicNetwork } = {
[CHAIN_IDs.ARBITRUM_SEPOLIA]: { name: "Arbitrum Sepolia", nativeToken: "ETH", blockExplorer: "https://sepolia.arbiscan.io" },
[CHAIN_IDs.BASE_SEPOLIA]: { name: "Base Sepolia", nativeToken: "ETH", blockExplorer: "https://sepolia.basescan.org" },
[CHAIN_IDs.LISK_SEPOLIA]: { name: "Lisk Sepolia", nativeToken: "ETH", blockExplorer: "https://sepolia-blockscout.lisk.com" },
[CHAIN_IDs.MODE_SEPOLIA]: { name: "Mode Sepolia", nativeToken: "ETH", blockExplorer: "https://sepolia.explorer.mode.network" },
[CHAIN_IDs.OPTIMISM_SEPOLIA]: { name: "Optimism Sepolia", nativeToken: "ETH", blockExplorer: "https://sepolia-optimism.etherscan.io" },
[CHAIN_IDs.POLYGON_AMOY]: { name: "Polygon Amoy", nativeToken: "MATIC", blockExplorer: "https://amoy.polygonscan.com" },
Expand Down
5 changes: 5 additions & 0 deletions src/tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ export const TOKEN_SYMBOLS_MAP = {
[CHAIN_IDs.BASE_SEPOLIA]: "0x4200000000000000000000000000000000000006",
[CHAIN_IDs.BOBA]: "0xDeadDeAddeAddEAddeadDEaDDEAdDeaDDeAD0000",
[CHAIN_IDs.LINEA]: "0xe5D7C2a44FfDDf6b295A15c148167daaAf5Cf34f",
[CHAIN_IDs.LISK]: "0x4200000000000000000000000000000000000006",
[CHAIN_IDs.LISK_SEPOLIA]: "0x4200000000000000000000000000000000000006",
[CHAIN_IDs.MAINNET]: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
[CHAIN_IDs.MODE]: "0x4200000000000000000000000000000000000006",
[CHAIN_IDs.MODE_SEPOLIA]: "0x4200000000000000000000000000000000000006",
Expand Down Expand Up @@ -194,6 +196,7 @@ export const TOKEN_SYMBOLS_MAP = {
[CHAIN_IDs.ARBITRUM]: "0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9",
[CHAIN_IDs.BOBA]: "0x5DE1677344D3Cb0D7D465c10b72A8f60699C062d",
[CHAIN_IDs.LINEA]: "0xA219439258ca9da29E9Cc4cE5596924745e12B93",
[CHAIN_IDs.LISK]: "0x05D032ac25d322df992303dCa074EE7392C117b9",
[CHAIN_IDs.MAINNET]: "0xdAC17F958D2ee523a2206206994597C13D831ec7",
[CHAIN_IDs.MODE]: "0xf0F161fDA2712DB8b566946122a5af183995e2eD",
[CHAIN_IDs.OPTIMISM]: "0x94b008aA00579c1307B0EF2c499aD98a8ce58e58",
Expand Down Expand Up @@ -228,6 +231,8 @@ export const TOKEN_SYMBOLS_MAP = {
[CHAIN_IDs.BASE_SEPOLIA]: "0x4200000000000000000000000000000000000006",
[CHAIN_IDs.BOBA]: "0xDeadDeAddeAddEAddeadDEaDDEAdDeaDDeAD0000",
[CHAIN_IDs.LINEA]: "0xe5D7C2a44FfDDf6b295A15c148167daaAf5Cf34f",
[CHAIN_IDs.LISK]: "0x4200000000000000000000000000000000000006",
[CHAIN_IDs.LISK_SEPOLIA]: "0x4200000000000000000000000000000000000006",
[CHAIN_IDs.MAINNET]: "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
[CHAIN_IDs.MODE]: "0x4200000000000000000000000000000000000006",
[CHAIN_IDs.MODE_SEPOLIA]: "0x4200000000000000000000000000000000000006",
Expand Down

0 comments on commit d667cbd

Please sign in to comment.