Skip to content

Commit 73c37e9

Browse files
committed
Add Arc mainnet (chain 5042)
1 parent ea1de4e commit 73c37e9

3 files changed

Lines changed: 25 additions & 0 deletions

File tree

‎.changeset/add-arc-mainnet.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@0xsequence/network': patch
3+
---
4+
5+
Add Arc mainnet (chain 5042)

‎packages/network/src/config.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ export const allNetworks = validateAndSortNetworks([
145145
createNetworkConfig(ChainId.INCENTIV, { disabled: true }),
146146
createNetworkConfig(ChainId.KATANA),
147147
createNetworkConfig(ChainId.SANDBOX_TESTNET, { disabled: true }),
148+
createNetworkConfig(ChainId.ARC),
148149
createNetworkConfig(ChainId.ARC_TESTNET),
149150
createNetworkConfig(ChainId.HYPEREVM),
150151
createNetworkConfig(ChainId.BERACHAIN),

‎packages/network/src/constants.ts‎

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ export enum ChainId {
147147
SANDBOX_TESTNET = 6252,
148148

149149
// ARC
150+
ARC = 5042,
150151
ARC_TESTNET = 5042002,
151152

152153
// HYPEREVM
@@ -1216,6 +1217,24 @@ export const networks: Record<ChainId, NetworkMetadata> = {
12161217
}
12171218
},
12181219

1220+
[ChainId.ARC]: {
1221+
chainId: ChainId.ARC,
1222+
type: NetworkType.MAINNET,
1223+
name: 'arc',
1224+
title: 'Arc',
1225+
logoURI: `https://assets.sequence.info/images/networks/medium/${ChainId.ARC}.webp`,
1226+
testnet: false,
1227+
blockExplorer: {
1228+
name: 'Arc Explorer',
1229+
rootUrl: 'https://arc.etherscan.io/'
1230+
},
1231+
nativeToken: {
1232+
symbol: 'USDC',
1233+
name: 'USDC',
1234+
decimals: 18
1235+
}
1236+
},
1237+
12191238
[ChainId.ARC_TESTNET]: {
12201239
chainId: ChainId.ARC_TESTNET,
12211240
type: NetworkType.TESTNET,

0 commit comments

Comments
 (0)