From ee55fa750d4759d5d4e7254ce811f62a4fd5c6e9 Mon Sep 17 00:00:00 2001 From: Deniz Dalkilic Date: Thu, 20 Mar 2025 14:58:11 +0000 Subject: [PATCH] feat: add Lumia mainnet and testnet support in chains.ts and update README --- README.md | 2 ++ src/core/chains.ts | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/README.md b/README.md index e61ac63..4ac0d7c 100644 --- a/README.md +++ b/README.md @@ -113,6 +113,7 @@ All services are exposed through a consistent interface of MCP tools and resourc - Zora - Aurora - Canto +- Lumia ### Testnets - Sepolia @@ -136,6 +137,7 @@ All services are exposed through a consistent interface of MCP tools and resourc - Celo Alfajores - Goerli - Holesky +- Lumia Testnet ## 🛠️ Prerequisites diff --git a/src/core/chains.ts b/src/core/chains.ts index fa0c725..e89b275 100644 --- a/src/core/chains.ts +++ b/src/core/chains.ts @@ -19,6 +19,7 @@ import { moonbeam, moonriver, cronos, + lumiaMainnet, scroll, mantle, manta, @@ -41,6 +42,7 @@ import { bscTestnet, zksyncSepoliaTestnet, lineaSepolia, + lumiaTestnet, scrollSepolia, mantleSepoliaTestnet, mantaSepoliaTestnet, @@ -83,6 +85,7 @@ export const chainMap: Record = { 534352: scroll, 5000: mantle, 169: manta, + 994873017: lumiaMainnet, 81457: blast, 252: fraxtal, 34443: mode, @@ -102,6 +105,7 @@ export const chainMap: Record = { 97: bscTestnet, 300: zksyncSepoliaTestnet, 59141: lineaSepolia, + 1952959480: lumiaTestnet, 534351: scrollSepolia, 5003: mantleSepoliaTestnet, 3441006: mantaSepoliaTestnet, @@ -152,6 +156,7 @@ export const networkNameMap: Record = { 'scroll': 534352, 'mantle': 5000, 'manta': 169, + 'lumia': 994873017, 'blast': 81457, 'fraxtal': 252, 'mode': 34443, @@ -180,6 +185,7 @@ export const networkNameMap: Record = { 'zksyncsepolia': 300, 'linea-sepolia': 59141, 'lineasepolia': 59141, + 'lumia-testnet': 1952959480, 'scroll-sepolia': 534351, 'scrollsepolia': 534351, 'mantle-sepolia': 5003, @@ -231,6 +237,7 @@ export const rpcUrlMap: Record = { 169: 'https://pacific-rpc.manta.network/http', 81457: 'https://rpc.blast.io', 252: 'https://rpc.frax.com', + 994873017: 'https://mainnet-rpc.lumia.org', 34443: 'https://mainnet.mode.network', 1088: 'https://andromeda.metis.io/?owner=1088', 255: 'https://api.kroma.network', @@ -251,6 +258,7 @@ export const rpcUrlMap: Record = { 534351: 'https://sepolia-rpc.scroll.io', 5003: 'https://rpc.sepolia.mantle.xyz', 3441006: 'https://pacific-rpc.sepolia.manta.network/http', + 1952959480: 'https://testnet-rpc.lumia.org', 168587773: 'https://sepolia.blast.io', 2522: 'https://rpc.testnet.frax.com', 919: 'https://sepolia.mode.network',