Skip to content

Commit ee55fa7

Browse files
committed
feat: add Lumia mainnet and testnet support in chains.ts and update README
1 parent 241658a commit ee55fa7

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ All services are exposed through a consistent interface of MCP tools and resourc
113113
- Zora
114114
- Aurora
115115
- Canto
116+
- Lumia
116117

117118
### Testnets
118119
- Sepolia
@@ -136,6 +137,7 @@ All services are exposed through a consistent interface of MCP tools and resourc
136137
- Celo Alfajores
137138
- Goerli
138139
- Holesky
140+
- Lumia Testnet
139141

140142
## 🛠️ Prerequisites
141143

src/core/chains.ts

+8
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import {
1919
moonbeam,
2020
moonriver,
2121
cronos,
22+
lumiaMainnet,
2223
scroll,
2324
mantle,
2425
manta,
@@ -41,6 +42,7 @@ import {
4142
bscTestnet,
4243
zksyncSepoliaTestnet,
4344
lineaSepolia,
45+
lumiaTestnet,
4446
scrollSepolia,
4547
mantleSepoliaTestnet,
4648
mantaSepoliaTestnet,
@@ -83,6 +85,7 @@ export const chainMap: Record<number, Chain> = {
8385
534352: scroll,
8486
5000: mantle,
8587
169: manta,
88+
994873017: lumiaMainnet,
8689
81457: blast,
8790
252: fraxtal,
8891
34443: mode,
@@ -102,6 +105,7 @@ export const chainMap: Record<number, Chain> = {
102105
97: bscTestnet,
103106
300: zksyncSepoliaTestnet,
104107
59141: lineaSepolia,
108+
1952959480: lumiaTestnet,
105109
534351: scrollSepolia,
106110
5003: mantleSepoliaTestnet,
107111
3441006: mantaSepoliaTestnet,
@@ -152,6 +156,7 @@ export const networkNameMap: Record<string, number> = {
152156
'scroll': 534352,
153157
'mantle': 5000,
154158
'manta': 169,
159+
'lumia': 994873017,
155160
'blast': 81457,
156161
'fraxtal': 252,
157162
'mode': 34443,
@@ -180,6 +185,7 @@ export const networkNameMap: Record<string, number> = {
180185
'zksyncsepolia': 300,
181186
'linea-sepolia': 59141,
182187
'lineasepolia': 59141,
188+
'lumia-testnet': 1952959480,
183189
'scroll-sepolia': 534351,
184190
'scrollsepolia': 534351,
185191
'mantle-sepolia': 5003,
@@ -231,6 +237,7 @@ export const rpcUrlMap: Record<number, string> = {
231237
169: 'https://pacific-rpc.manta.network/http',
232238
81457: 'https://rpc.blast.io',
233239
252: 'https://rpc.frax.com',
240+
994873017: 'https://mainnet-rpc.lumia.org',
234241
34443: 'https://mainnet.mode.network',
235242
1088: 'https://andromeda.metis.io/?owner=1088',
236243
255: 'https://api.kroma.network',
@@ -251,6 +258,7 @@ export const rpcUrlMap: Record<number, string> = {
251258
534351: 'https://sepolia-rpc.scroll.io',
252259
5003: 'https://rpc.sepolia.mantle.xyz',
253260
3441006: 'https://pacific-rpc.sepolia.manta.network/http',
261+
1952959480: 'https://testnet-rpc.lumia.org',
254262
168587773: 'https://sepolia.blast.io',
255263
2522: 'https://rpc.testnet.frax.com',
256264
919: 'https://sepolia.mode.network',

0 commit comments

Comments
 (0)