Skip to content

feat: add Radius Network to supported chains (eip155:723487)#1125

Open
TJ-Frederick wants to merge 1 commit intocoinbase:mainfrom
radiustechsystems:add-radius-network
Open

feat: add Radius Network to supported chains (eip155:723487)#1125
TJ-Frederick wants to merge 1 commit intocoinbase:mainfrom
radiustechsystems:add-radius-network

Conversation

@TJ-Frederick
Copy link
Copy Markdown

Summary

Add Radius Network (chain ID 723487) and its testnet (chain ID 72344) to AgentKit's EVM network registry. This lets agents built with AgentKit use Radius via the ViemWalletProvider and CdpEvmWalletProvider paths for non-CDP operations (ERC-20 transfers, generic contract calls via viem).

Radius Network is an EVM-compatible platform optimized for agentic micropayments — sub-penny costs (~$0.0001/tx), sub-second finality, and stablecoin-native gas (RUSD).

Chain details

Chain ID RPC Explorer
Mainnet 723487 https://rpc.radiustech.xyz https://network.radiustech.xyz
Testnet 72344 https://rpc.testnet.radiustech.xyz https://testnet.radiustech.xyz

Native currency: RUSD (Radius USD, 18 decimals). Registered in ethereum-lists/chains and in viem 2.48.0+ as radius / radiusTestnet.

Multicall3 is deployed at the canonical 0xcA11bde05977b3631167028862bE2a173976CA11.

Scope

This PR covers the generic EVM chain registry (src/network/network.ts and coinbase_agentkit/network/network.py) and the create-onchain-agent scaffolder. The x402 action provider's SUPPORTED_NETWORKS list is intentionally not touched — Radius x402 support will follow once x402-foundation/x402#2038 lands and AgentKit bumps its x402 dep.

ERC-20 token address registration for Radius (SBC stablecoin) is tracked as a follow-up PR.

Implementation notes

  • defineChain is used inline in network.ts rather than importing radius / radiusTestnet from viem/chains, to avoid bumping the exact-pinned viem@2.47.4. Happy to switch to the viem imports + version bump if preferred.
  • Matches the PR fix:fixing polygon testnet details #882 pattern: TS changeset + Python changelog.d fragments included for both coinbase-agentkit and create-onchain-agent.

Links

Adds Radius Network (chain ID 723487) and Radius Testnet (chain ID 72344)
to the EVM network registry in both the TypeScript and Python packages,
and to the create-onchain-agent scaffolder so users can select Radius
during setup.

Changes:

typescript/agentkit/src/network/network.ts
  - Define Radius mainnet and testnet chains inline via viem's defineChain
    (viem is pinned at exact 2.47.4 in this repo; importing from viem/chains
    would require a dep bump).
  - Add entries to CHAIN_ID_TO_NETWORK_ID and NETWORK_ID_TO_VIEM_CHAIN.

typescript/create-onchain-agent/src/common/constants.ts
  - Add "radius-mainnet" and "radius-testnet" to EVM_NETWORKS.
  - Map both to NON_CDP_SUPPORTED_EVM_WALLET_PROVIDERS (Viem + Privy) —
    Radius isn't CDP-supported, so CDP wallet providers are excluded.

typescript/create-onchain-agent/src/common/utils.ts
  - Mirror the CHAIN_ID_TO_NETWORK_ID additions.

typescript/.changeset/add-radius-network.md
  - Minor-version changeset for @coinbase/agentkit.

python/coinbase-agentkit/coinbase_agentkit/network/chain_definitions.py
  - Add radius and radius_testnet Chain instances with Multicall3 address.

python/coinbase-agentkit/coinbase_agentkit/network/network.py
  - Add entries to CHAIN_ID_TO_NETWORK_ID and NETWORK_ID_TO_CHAIN.

python/create-onchain-agent/create_onchain_agent/cli.py
  - Add ("radius-mainnet", "Radius Mainnet") and ("radius-testnet",
    "Radius Testnet") to EVM_NETWORKS. The existing get_network_choices
    substring filter classifies them correctly (mainnet vs testnet).

python/coinbase-agentkit/changelog.d/add-radius-network.feature.md
python/create-onchain-agent/changelog.d/add-radius-network.feature.md
  - Changelog fragments.

Scope

This PR only touches the generic EVM network registry and the scaffolder.
It intentionally does NOT modify the x402 action provider's
SUPPORTED_NETWORKS list, which tracks x402 protocol support and is gated
on upstream chain registration (x402-foundation/x402#2038). Adding Radius
as an x402-supported network will follow in a separate PR once the
upstream lands and this repo bumps its x402 dep.

Radius Network is a stablecoin-native EVM platform with ~500ms finality
and sub-penny gas. Native currency is RUSD (Radius USD, 18 decimals).
Registered in viem 2.48.0, alloy-rs/chains, and
ethereum-lists/chains (#8168, merged).

Website: https://radiustech.xyz
Docs: https://docs.radiustech.xyz

Verified locally: @coinbase/agentkit `pnpm check` and `pnpm test`
(60 suites, 864 tests) pass; @coinbase/create-onchain-agent
`pnpm check:types` passes; Python chain_definitions and network modules
import and resolve cleanly.
@cb-heimdall
Copy link
Copy Markdown

🟡 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
2 if repo is sensitive 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

@github-actions github-actions Bot added documentation Improvements or additions to documentation python typescript labels Apr 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation python typescript

Development

Successfully merging this pull request may close these issues.

2 participants