Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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: 2 additions & 0 deletions go/.changes/unreleased/adi-chain.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
kind: added
body: Add ADI Chain (chain ID 36900) support with USDC.e as the default stablecoin
11 changes: 11 additions & 0 deletions go/mechanisms/evm/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ var (
ChainIDArbSepolia = big.NewInt(421614)
ChainIDRadius = big.NewInt(723487)
ChainIDRadiusTestnet = big.NewInt(72344)
ChainIDADI = big.NewInt(36900)
ChainIDHPP = big.NewInt(190415)
ChainIDHPPSepolia = big.NewInt(181228)

Expand Down Expand Up @@ -225,6 +226,16 @@ var (
SupportsEip2612: true,
},
},
// ADI Chain
"eip155:36900": {
ChainID: ChainIDADI,
DefaultAsset: AssetInfo{
Address: "0x9cb8142aEBBcdc60AF7c97Af897A67A8f3CA71C2", // USDC.e on ADI Chain
Name: "USDC.e",
Version: "2",
Decimals: DefaultDecimals,
},
},
// HPP Mainnet
"eip155:190415": {
ChainID: ChainIDHPP,
Expand Down
1 change: 1 addition & 0 deletions python/x402/changelog.d/adi-chain.feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add ADI Chain (chain ID 36900) support with USDC.e as the default stablecoin
10 changes: 10 additions & 0 deletions python/x402/mechanisms/evm/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,16 @@ class NetworkConfig(_NetworkConfigRequired, total=False):
"supports_eip2612": True,
},
},
# ADI Chain
"eip155:36900": {
"chain_id": 36900,
"default_asset": {
"address": "0x9cb8142aEBBcdc60AF7c97Af897A67A8f3CA71C2",
"name": "USDC.e",
"version": "2",
"decimals": 6,
},
},
# HPP Mainnet
"eip155:190415": {
"chain_id": 190415,
Expand Down
5 changes: 5 additions & 0 deletions typescript/.changeset/adi-chain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@x402/evm": minor
---

Add ADI Chain (chain ID 36900) support with USDC.e as the default stablecoin
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,12 @@ export const DEFAULT_STABLECOINS: Record<string, ExactDefaultAssetInfo> = {
assetTransferMethod: "permit2",
supportsEip2612: true,
}, // Radius Testnet SBC (no EIP-3009, supports EIP-2612)
"eip155:36900": {
address: "0x9cb8142aEBBcdc60AF7c97Af897A67A8f3CA71C2",
name: "USDC.e",
version: "2",
decimals: 6,
}, // ADI Chain USDC.e (EIP-3009 supported)
"eip155:190415": {
address: "0x401eCb1D350407f13ba348573E5630B83638E30D",
name: "Bridged USDC",
Expand Down
Loading