Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.111",
"version": "3.1.112",
"description": "Export commonly re-used values for Across repositories",
"repository": {
"type": "git",
Expand Down
22 changes: 22 additions & 0 deletions src/networks.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Chain names and IDs.
export const TESTNET_SEPOLIA_CHAIN_IDs = {
ARBITRUM_SEPOLIA: 421614,
ARC_TESTNET: 5042002,
BASE_SEPOLIA: 84532,
BLAST_SEPOLIA: 168587773,
BOB_SEPOLIA: 808813,
Expand Down Expand Up @@ -28,6 +29,7 @@ export const TESTNET_CHAIN_IDs = {
export const MAINNET_CHAIN_IDs = {
ALEPH_ZERO: 41455,
ARBITRUM: 42161,
ARC: 5042,
AVALANCHE: 43114,
BASE: 8453,
BLAST: 81457,
Expand Down Expand Up @@ -155,6 +157,16 @@ export const PRODUCTION_NETWORKS: { [chainId: number]: PublicNetwork } = {
oftEid: PRODUCTION_OFT_EIDs.ARBITRUM,
hypDomainId: MAINNET_CHAIN_IDs.ARBITRUM,
},
[CHAIN_IDs.ARC]: {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep Arc out of production until mainnet details exist

This adds Arc to PRODUCTION_NETWORKS, so production consumers that enumerate supported chains or use the fallback RPC/explorer will treat chain 5042 as live. Arc's public docs currently identify the public testnet as the active network with chain ID 5042002 and say mainnet endpoints/parameters are published separately when available; Circle's domain 26 is also listed for Arc Testnet. Until real mainnet parameters exist, this should stay only in TEST_NETWORKS to avoid routing production flows to placeholder/non-live Arc endpoints.

Useful? React with 👍 / 👎.

name: "ARC",
family: NONE,
nativeToken: "USDC",
publicRPC: "https://rpc.arc.network", // @TODO: Add proper RPC endpoint
blockExplorer: "https://arcscan.app", // @TODO: Add proper block explorer
cctpDomain: 26,
oftEid: OFT_NO_EID,
hypDomainId: HYPERLANE_NO_DOMAIN_ID,
},
[CHAIN_IDs.AVALANCHE]: {
name: "Avalanche",
family: NONE,
Expand Down Expand Up @@ -478,6 +490,16 @@ export const TEST_NETWORKS: { [chainId: number]: PublicNetwork } = {
oftEid: TESTNET_OFT_EIDs.ARBITRUM_SEPOLIA,
hypDomainId: TESTNET_CHAIN_IDs.ARBITRUM_SEPOLIA,
},
[CHAIN_IDs.ARC_TESTNET]: {
name: "ARC Testnet",
family: NONE,
nativeToken: "USDC",
publicRPC: "https://rpc.testnet.arc.network", // @TODO: Add proper RPC endpoint
blockExplorer: "https://testnet.arcscan.app", // @TODO: Add proper block explorer
cctpDomain: 26,
oftEid: OFT_NO_EID,
hypDomainId: HYPERLANE_NO_DOMAIN_ID,
},
[CHAIN_IDs.BASE_SEPOLIA]: {
name: "Base Sepolia",
family: OP_STACK,
Expand Down
2 changes: 2 additions & 0 deletions src/tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,8 @@ export const TOKEN_SYMBOLS_MAP = {
addresses: {
[CHAIN_IDs.ARBITRUM]: "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
[CHAIN_IDs.ARBITRUM_SEPOLIA]: "0x75faf114eafb1BDbe2F0316DF893fd58CE46AA4d",
[CHAIN_IDs.ARC]: "0x3600000000000000000000000000000000000000",
[CHAIN_IDs.ARC_TESTNET]: "0x3600000000000000000000000000000000000000",
[CHAIN_IDs.AVALANCHE]: "0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E",
[CHAIN_IDs.BASE]: "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
[CHAIN_IDs.BASE_SEPOLIA]: "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
Expand Down