Arc Relay Bridge — open-source CCTP V2 bridge + USDC paymaster reference for Arc Testnet #180
osr21
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Arc Relay Bridge — open-source CCTP V2 bridge + USDC paymaster for Arc Testnet
Repo: https://github.com/osr21/arc-relay-bridge
Release: https://github.com/osr21/arc-relay-bridge/releases/tag/v1.0.0
What it is
A standalone, frontend-only cross-chain USDC bridge built directly on CCTP V2 — no SDK wrapper, no backend DB, no wrapped tokens. Users connect MetaMask, pick source/destination chain, and move native USDC in a 4-step flow (Approve → Burn → Attest → Mint).
Supported chains: Arc Testnet ↔ Ethereum Sepolia ↔ Base Sepolia ↔ Avalanche Fuji
What makes it different from the existing sample apps
The 5 apps in the gallery cover payments, escrow, and treasury — none covers bridging. This fills that gap with a full CCTP V2 reference: 7-param
depositForBurn, per-chainminFinalityThreshold, and Circle Iris attestation polling.It also ships three pieces of infrastructure not yet deployed anywhere else on Arc Testnet:
0xf89773D7d9C43c01203793bf991e2550975a0C490xEE39e1690F1bE07e8a68813f57cE3142197CECf60xFf8f0Fc1Cca51ddE49ee1E7083D36CC99Af01665All contracts compiled with
evmVersion: "paris"(no PUSH0) and single-immutable (0x60a0) init — compatible with Arc's EVM constraints.Key technical notes for Arc builders
depositForBurn(selector0x8e0250ee). V1 4-param selector willrequire(false)on these contracts.minFinalityThreshold: 2000 (finalized); all others: 1000 (safe, ~1–2 min attestation).validatePaymasterUserOpmust NOT usenonReentrant— global_lockedstorage writes violate ERC-7562 for unstaked paymasters and cause silent Pimlico rejections.0x60c0) silently reverts on Arc/Base/Fuji — keep any second constructor var asconstant.Question for the team
Is there a process for submitting community apps to the sample apps gallery? The gallery currently has 5 great apps but nothing covering CCTP bridging — happy to adapt it to better fit the reference implementation format.
Also interested in the AMP design partner program — the GasRelayer here is conceptually related to what AMP describes at the protocol level.
Beta Was this translation helpful? Give feedback.
All reactions