Skip to content

Add Arc mainnet (chain 5042) - #1025

Merged
taylanpince merged 1 commit into
v2from
add-arc-mainnet-network
Sep 16, 2026
Merged

taylanpince merged 1 commit into
v2from
add-arc-mainnet-network

Conversation

@ScreamingHawk

Copy link
Copy Markdown
Contributor

Summary

Adds Arc mainnet (chain 5042) to @0xsequence/network. Arc Testnet (5042002) was added in #901, but the mainnet chain has no entry, so networks[5042] is undefined — consumers get no chain title, logo or block explorer URL for Arc.

  • ChainId.ARC = 5042
  • networks[ChainId.ARC] — title "Arc", explorer https://arc.etherscan.io/, native token USDC (18 decimals), matching the Arc Testnet entry's shape
  • createNetworkConfig(ChainId.ARC) in allNetworks

Native currency and explorer match the Arc chain definition the Trails SDK ships (0xtrails 0.18.6).

Why now

0xtrails 0.18.6 added Arc support, and trails-app consumes both packages. Without this entry, every Arc transaction in that app renders with a blank chain name and no explorer link, so the app currently carries a local shim of the networks map that can be deleted once this lands and releases.

Verification

  • tsc --noEmit clean.
  • networks[5042] resolves and allNetworks includes it, confirmed by importing the built source.
  • The logo asset https://assets.sequence.info/images/networks/medium/5042.webp returns 200.
  • eslint and prettier clean on both touched files.

@ScreamingHawk
ScreamingHawk requested a review from a team September 16, 2026 21:06
@ScreamingHawk
ScreamingHawk requested a review from a team as a code owner September 16, 2026 21:06
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 16, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-16T21:09:52.464075Z 73c37e9 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@taylanpince
taylanpince merged commit 968c43e into v2 Sep 16, 2026
25 checks passed
@taylanpince
taylanpince deleted the add-arc-mainnet-network branch September 16, 2026 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants