Skip to content
Open
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 README.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ All services are exposed through a consistent interface of MCP tools, resources,
- Canto
- Flow
- Lumia
- Radius Network

### Testnets

Expand Down Expand Up @@ -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

Expand Down
21 changes: 16 additions & 5 deletions src/core/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ import {
aurora,
canto,
flowMainnet,

radius,

// Testnets
sepolia,
optimismSepolia,
Expand All @@ -57,7 +58,8 @@ import {
goerli,
holesky,
flowTestnet,
filecoinCalibration
filecoinCalibration,
radiusTestnet
} from 'viem/chains';

// Default configuration values
Expand Down Expand Up @@ -98,7 +100,8 @@ export const chainMap: Record<number, Chain> = {
1313161554: aurora,
7700: canto,
747: flowMainnet,

723487: radius,

// Testnets
11155111: sepolia,
11155420: optimismSepolia,
Expand All @@ -124,6 +127,7 @@ export const chainMap: Record<number, Chain> = {
17000: holesky,
545: flowTestnet,
314159: filecoinCalibration,
72344: radiusTestnet,
};

// Map network names to chain IDs for easier reference
Expand Down Expand Up @@ -172,7 +176,10 @@ export const networkNameMap: Record<string, number> = {
'aurora': 1313161554,
'canto': 7700,
'flow': 747,

'radius': 723487,
'radius-network': 723487,
'radiusnetwork': 723487,

// Testnets
'sepolia': 11155111,
'optimism-sepolia': 11155420,
Expand Down Expand Up @@ -218,6 +225,8 @@ export const networkNameMap: Record<string, number> = {
'holesky': 17000,
'flow-testnet': 545,
'filecoin-calibration': 314159,
'radius-testnet': 72344,
'radiustestnet': 72344,
};

// Map chain IDs to RPC URLs
Expand Down Expand Up @@ -254,7 +263,8 @@ export const rpcUrlMap: Record<number, string> = {
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',
Expand All @@ -280,6 +290,7 @@ export const rpcUrlMap: Record<number, string> = {
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',
};

/**
Expand Down