Skip to content

feat: add Arbitrum One and Arbitrum Sepolia EVM support #204

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jordo1138
Copy link

Following the pattern established in PR #157 for Avalanche support:

  • Add Arbitrum One (chainId: 42161) and Arbitrum Sepolia (chainId: 421614)
  • Configure USDC contract addresses:
    • Arbitrum One: 0xaf88d065e77c8cc2239327c5edb3a432268e5831 (Native USDC)
    • Arbitrum Sepolia: 0x75faf114eafb1BDbe2F0316DF893fd58CE46AA4d (Native USDC)
  • Add client/signer functions: createClientArbitrumOne, createSignerArbitrumOne, etc.
  • Update network mappings and supported networks list

This enables x402 payments on Arbitrum networks using the existing EIP-3009 exact scheme with lower gas costs and faster settlement times.

Copy link

vercel bot commented May 26, 2025

@jordo1138 is attempting to deploy a commit to the Coinbase Team on Vercel.

A member of the Team first needs to authorize it.

@cb-heimdall
Copy link

cb-heimdall commented May 26, 2025

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

erikreppel-cb
erikreppel-cb previously approved these changes May 27, 2025
@erikreppel-cb
Copy link
Contributor

@jordo1138 looks good to me but seems to be failing lint, mind running pnpm run lint and addressing the issues?

@jordo1138
Copy link
Author

@jordo1138 looks good to me but seems to be failing lint, mind running pnpm run lint and addressing the issues?

thanks - interesting line return vs single line lint - i reproduced issue locally and fixed and re-ran, all passing locally. Let me know if there is still a remaining issue. @erikreppel-cb

@erikreppel-cb
Copy link
Contributor

@jordo1138 lgtm just needs a rebase

jordo1138 added 2 commits June 6, 2025 16:27
Following the pattern established in PR coinbase#157 for Avalanche support:

- Add Arbitrum One (chainId: 42161) and Arbitrum Sepolia (chainId: 421614)
- Configure USDC contract addresses:
  * Arbitrum One: 0xaf88d065e77c8cc2239327c5edb3a432268e5831 (Native USDC)
  * Arbitrum Sepolia: 0x75faf114eafb1BDbe2F0316DF893fd58CE46AA4d (Native USDC)
- Add client/signer functions: createClientArbitrumOne, createSignerArbitrumOne, etc.
- Update network mappings and supported networks list

This enables x402 payments on Arbitrum networks using the existing
EIP-3009 exact scheme with lower gas costs and faster settlement times.
@jordo1138 jordo1138 force-pushed the feat/arbitrum-evm-support branch from 9b4378f to 5ceaab7 Compare June 6, 2025 23:33
@jordo1138
Copy link
Author

jordo1138 commented Jun 6, 2025

@erikreppel-cb did the rebase thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants