From a6c60cec6aecbd7b4726f472bfdbc54c07165371 Mon Sep 17 00:00:00 2001 From: Tyler Frederick <40179660+TJ-Frederick@users.noreply.github.com> Date: Thu, 16 Apr 2026 16:48:48 -0400 Subject: [PATCH] feat: add Radius Network support (eip155:723487) Adds Radius Network (chain ID 723487) and Radius Testnet (chain ID 72344) to the chains registry, following the pattern used for other EVM chains. - Import `radius` and `radiusTestnet` from viem/chains (available since viem 2.48.0; the repo's `^2.39.3` range accepts it). - Add entries to `chainMap`, `networkNameMap` (with `radius` / `radius-network` / `radiusnetwork` aliases for mainnet and `radius-testnet` / `radiustestnet` for testnet), and `rpcUrlMap`. - Add both networks to the Supported Networks list in README.md. Radius Network is a stablecoin-native EVM platform with ~500ms finality and sub-penny gas. Registered in ethereum-lists/chains (#8168, merged). Website: https://radiustech.xyz Docs: https://docs.radiustech.xyz --- README.md | 2 ++ src/core/chains.ts | 21 ++++++++++++++++----- 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 8c36429..a8e1ae0 100644 --- a/README.md +++ b/README.md @@ -144,6 +144,7 @@ All services are exposed through a consistent interface of MCP tools, resources, - Canto - Flow - Lumia +- Radius Network ### Testnets @@ -171,6 +172,7 @@ All services are exposed through a consistent interface of MCP tools, resources, - Flow Testnet - Filecoin Calibration - Lumia Testnet +- Radius Testnet ## 🛠️ Prerequisites diff --git a/src/core/chains.ts b/src/core/chains.ts index 75115d3..8220d2f 100644 --- a/src/core/chains.ts +++ b/src/core/chains.ts @@ -32,7 +32,8 @@ import { aurora, canto, flowMainnet, - + radius, + // Testnets sepolia, optimismSepolia, @@ -57,7 +58,8 @@ import { goerli, holesky, flowTestnet, - filecoinCalibration + filecoinCalibration, + radiusTestnet } from 'viem/chains'; // Default configuration values @@ -98,7 +100,8 @@ export const chainMap: Record = { 1313161554: aurora, 7700: canto, 747: flowMainnet, - + 723487: radius, + // Testnets 11155111: sepolia, 11155420: optimismSepolia, @@ -124,6 +127,7 @@ export const chainMap: Record = { 17000: holesky, 545: flowTestnet, 314159: filecoinCalibration, + 72344: radiusTestnet, }; // Map network names to chain IDs for easier reference @@ -172,7 +176,10 @@ export const networkNameMap: Record = { 'aurora': 1313161554, 'canto': 7700, 'flow': 747, - + 'radius': 723487, + 'radius-network': 723487, + 'radiusnetwork': 723487, + // Testnets 'sepolia': 11155111, 'optimism-sepolia': 11155420, @@ -218,6 +225,8 @@ export const networkNameMap: Record = { 'holesky': 17000, 'flow-testnet': 545, 'filecoin-calibration': 314159, + 'radius-testnet': 72344, + 'radiustestnet': 72344, }; // Map chain IDs to RPC URLs @@ -254,7 +263,8 @@ export const rpcUrlMap: Record = { 1313161554: 'https://mainnet.aurora.dev', 7700: 'https://canto.gravitychain.io', 747: 'https://mainnet.evm.nodes.onflow.org', - + 723487: 'https://rpc.radiustech.xyz', + // Testnets 11155111: 'https://sepolia.drpc.org', 11155420: 'https://sepolia.optimism.io', @@ -280,6 +290,7 @@ export const rpcUrlMap: Record = { 17000: 'https://ethereum-holesky.publicnode.com', 545: 'https://testnet.evm.nodes.onflow.org', 314159: 'https://api.calibration.node.glif.io/rpc/v1', + 72344: 'https://rpc.testnet.radiustech.xyz', }; /**