Skip to content

feat: add Radius Network support (mainnet + testnet)#42

Open
TJ-Frederick wants to merge 1 commit into
microchipgnu:mainfrom
radiustechsystems:feat/radius-network
Open

feat: add Radius Network support (mainnet + testnet)#42
TJ-Frederick wants to merge 1 commit into
microchipgnu:mainfrom
radiustechsystems:feat/radius-network

Conversation

@TJ-Frederick
Copy link
Copy Markdown

@TJ-Frederick TJ-Frederick commented May 14, 2026

Overview

This PR adds Radius Network (mainnet and testnet) to MCPay. Radius is an EVM-compatible network purpose-built for high-throughput stablecoin payments, with sub-second finality and very low per-tx cost — a natural fit for x402/MCPay micropayment flows.

Changes:

  • Bumps viem override and mcpay dep from 2.37.13 to ^2.48.0. viem 2.48.0+ ships native radius and radiusTestnet chain definitions, so no custom chain config is needed.
  • Adds radius and radius-testnet cases to the chain switch in packages/js-sdk/src/utils/signer.ts.
  • Adds radius and radius-testnet entries to UNIFIED_NETWORKS in apps/app/src/lib/commons/networks.ts, registers SBC (Brale-issued stablecoin, EIP-2612) as a verified stablecoin on both, and extends the UnifiedNetwork / EVMNetwork types.

Network details

Field Mainnet Testnet
Name Radius Radius Testnet
Chain ID 723487 72344
Native RUSD (18 decimals) RUSD (18 decimals)
RPC https://rpc.radiustech.xyz https://rpc.testnet.radiustech.xyz
Explorer https://network.radiustech.xyz https://testnet.radiustech.xyz
SBC stablecoin 0x33ad9e4BD16B69B5BFdED37D8B5D9fF9aba014Fb (6 decimals, EIP-2612) same address

SBC (Stablecoin by Brale) is a regulated USD-backed stablecoin issued by Brale and is the canonical stablecoin on Radius. The contract address is identical on mainnet and testnet.

A note on x402

x402Supported is set to false on both Radius entries for now. Radius support landed upstream in x402-foundation/x402#2038 (merged 2026-05-07), but as of this PR the latest x402 npm release (1.2.0, published 2026-04-16) does not yet include those defaults. Once a release with Radius defaults is published, flipping x402Supported: true is a one-line change in both entries — TODO comments mark the spot.

Icon asset

The entries reference /networks/radius.svg, which is not committed in this PR (only apps/app/public/networks/ SVGs already in the repo are referenced by other networks). Happy to provide an SVG in whatever format/dimensions the existing icon set uses — let me know.

References

@vercel
Copy link
Copy Markdown

vercel Bot commented May 14, 2026

@TJ-Frederick is attempting to deploy a commit to the Inventions Hub Team on Vercel.

A member of the Team first needs to authorize it.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant