diff --git a/go/.changes/unreleased/adi-chain.yaml b/go/.changes/unreleased/adi-chain.yaml new file mode 100644 index 0000000000..77d1c67b64 --- /dev/null +++ b/go/.changes/unreleased/adi-chain.yaml @@ -0,0 +1,2 @@ +kind: added +body: Add ADI Chain (chain ID 36900) support with USDC.e as the default stablecoin diff --git a/go/mechanisms/evm/constants.go b/go/mechanisms/evm/constants.go index 0c90de65df..876f0fa74f 100644 --- a/go/mechanisms/evm/constants.go +++ b/go/mechanisms/evm/constants.go @@ -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) @@ -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, diff --git a/python/x402/changelog.d/adi-chain.feature.md b/python/x402/changelog.d/adi-chain.feature.md new file mode 100644 index 0000000000..d05574f72f --- /dev/null +++ b/python/x402/changelog.d/adi-chain.feature.md @@ -0,0 +1 @@ +Add ADI Chain (chain ID 36900) support with USDC.e as the default stablecoin diff --git a/python/x402/mechanisms/evm/constants.py b/python/x402/mechanisms/evm/constants.py index e3afb21acc..bd958a38b0 100644 --- a/python/x402/mechanisms/evm/constants.py +++ b/python/x402/mechanisms/evm/constants.py @@ -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, diff --git a/typescript/.changeset/adi-chain.md b/typescript/.changeset/adi-chain.md new file mode 100644 index 0000000000..eda141e5bd --- /dev/null +++ b/typescript/.changeset/adi-chain.md @@ -0,0 +1,5 @@ +--- +"@x402/evm": minor +--- + +Add ADI Chain (chain ID 36900) support with USDC.e as the default stablecoin diff --git a/typescript/packages/mechanisms/evm/src/shared/defaultAssets.ts b/typescript/packages/mechanisms/evm/src/shared/defaultAssets.ts index dab97b33f4..834a2d98f0 100644 --- a/typescript/packages/mechanisms/evm/src/shared/defaultAssets.ts +++ b/typescript/packages/mechanisms/evm/src/shared/defaultAssets.ts @@ -121,6 +121,12 @@ export const DEFAULT_STABLECOINS: Record = { 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",