Skip to content

Commit

Permalink
feat(ink): add constants for network (#84)
Browse files Browse the repository at this point in the history
Adds INK + INK Sepolia & ETH/WETH

Signed-off-by: james-a-morris <[email protected]>
  • Loading branch information
james-a-morris authored Dec 18, 2024
1 parent d083060 commit 7da6dc3
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@across-protocol/constants",
"version": "3.1.22",
"version": "3.1.23",
"description": "Export commonly re-used values for Across repositories",
"repository": "https://github.com/across-protocol/constants.git",
"author": "[email protected]",
Expand Down
7 changes: 7 additions & 0 deletions src/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ export const TESTNET_SEPOLIA_CHAIN_IDs = {
ARBITRUM_SEPOLIA: 421614,
BASE_SEPOLIA: 84532,
BLAST_SEPOLIA: 168587773,
INK_SEPOLIA: 763373,
LISK_SEPOLIA: 4202,
MODE_SEPOLIA: 919,
OPTIMISM_SEPOLIA: 11155420,
Expand All @@ -22,6 +23,7 @@ export const MAINNET_CHAIN_IDs = {
BASE: 8453,
BLAST: 81457,
BOBA: 288,
INK: 57073,
LINEA: 59144,
LISK: 1135,
MAINNET: 1,
Expand Down Expand Up @@ -83,6 +85,11 @@ export const PRODUCTION_NETWORKS: { [chainId: number]: PublicNetwork } = {
nativeToken: "ETH",
blockExplorer: "https://blockexplorer.boba.network"
},
[CHAIN_IDs.INK]: {
name: "Ink",
nativeToken: "ETH",
blockExplorer: "https://explorer.inkonchain.com"
},
[CHAIN_IDs.LINEA]: {
name: "Linea",
nativeToken: "ETH",
Expand Down
4 changes: 4 additions & 0 deletions src/tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ export const TOKEN_SYMBOLS_MAP = {
[CHAIN_IDs.BOBA]: "0xDeadDeAddeAddEAddeadDEaDDEAdDeaDDeAD0000",
[CHAIN_IDs.BLAST]: "0x4300000000000000000000000000000000000004",
[CHAIN_IDs.BLAST_SEPOLIA]: "0x4200000000000000000000000000000000000023",
[CHAIN_IDs.INK]: "0x4200000000000000000000000000000000000006",
[CHAIN_IDs.INK_SEPOLIA]: "0x4200000000000000000000000000000000000006",
[CHAIN_IDs.LINEA]: "0xe5D7C2a44FfDDf6b295A15c148167daaAf5Cf34f",
[CHAIN_IDs.LISK]: "0x4200000000000000000000000000000000000006",
[CHAIN_IDs.LISK_SEPOLIA]: "0x4200000000000000000000000000000000000006",
Expand Down Expand Up @@ -337,6 +339,8 @@ export const TOKEN_SYMBOLS_MAP = {
[CHAIN_IDs.BOBA]: "0xDeadDeAddeAddEAddeadDEaDDEAdDeaDDeAD0000",
[CHAIN_IDs.BLAST]: "0x4300000000000000000000000000000000000004",
[CHAIN_IDs.BLAST_SEPOLIA]: "0x4200000000000000000000000000000000000023",
[CHAIN_IDs.INK]: "0x4200000000000000000000000000000000000006",
[CHAIN_IDs.INK_SEPOLIA]: "0x4200000000000000000000000000000000000006",
[CHAIN_IDs.LINEA]: "0xe5D7C2a44FfDDf6b295A15c148167daaAf5Cf34f",
[CHAIN_IDs.LISK]: "0x4200000000000000000000000000000000000006",
[CHAIN_IDs.LISK_SEPOLIA]: "0x4200000000000000000000000000000000000006",
Expand Down

0 comments on commit 7da6dc3

Please sign in to comment.