@@ -31,6 +31,7 @@ import {
3131 zora ,
3232 aurora ,
3333 canto ,
34+ flowMainnet ,
3435
3536 // Testnets
3637 sepolia ,
@@ -54,7 +55,8 @@ import {
5455 zoraSepolia ,
5556 celoAlfajores ,
5657 goerli ,
57- holesky
58+ holesky ,
59+ flowTestnet
5860} from 'viem/chains' ;
5961
6062// Default configuration values
@@ -94,6 +96,7 @@ export const chainMap: Record<number, Chain> = {
9496 7777777 : zora ,
9597 1313161554 : aurora ,
9698 7700 : canto ,
99+ 747 : flowMainnet ,
97100
98101 // Testnets
99102 11155111 : sepolia ,
@@ -117,7 +120,8 @@ export const chainMap: Record<number, Chain> = {
117120 999999999 : zoraSepolia ,
118121 44787 : celoAlfajores ,
119122 5 : goerli ,
120- 17000 : holesky
123+ 17000 : holesky ,
124+ 545 : flowTestnet ,
121125} ;
122126
123127// Map network names to chain IDs for easier reference
@@ -165,6 +169,7 @@ export const networkNameMap: Record<string, number> = {
165169 'zora' : 7777777 ,
166170 'aurora' : 1313161554 ,
167171 'canto' : 7700 ,
172+ 'flow' : 747 ,
168173
169174 // Testnets
170175 'sepolia' : 11155111 ,
@@ -208,7 +213,8 @@ export const networkNameMap: Record<string, number> = {
208213 'celoalfajores' : 44787 ,
209214 'alfajores' : 44787 ,
210215 'goerli' : 5 ,
211- 'holesky' : 17000
216+ 'holesky' : 17000 ,
217+ 'flow-testnet' : 545 ,
212218} ;
213219
214220// Map chain IDs to RPC URLs
@@ -244,6 +250,7 @@ export const rpcUrlMap: Record<number, string> = {
244250 7777777 : 'https://rpc.zora.energy' ,
245251 1313161554 : 'https://mainnet.aurora.dev' ,
246252 7700 : 'https://canto.gravitychain.io' ,
253+ 747 : 'https://mainnet.evm.nodes.onflow.org' ,
247254
248255 // Testnets
249256 11155111 : 'https://sepolia.drpc.org' ,
@@ -267,7 +274,8 @@ export const rpcUrlMap: Record<number, string> = {
267274 999999999 : 'https://sepolia.rpc.zora.energy' ,
268275 44787 : 'https://alfajores-forno.celo-testnet.org' ,
269276 5 : 'https://rpc.ankr.com/eth_goerli' ,
270- 17000 : 'https://ethereum-holesky.publicnode.com'
277+ 17000 : 'https://ethereum-holesky.publicnode.com' ,
278+ 545 : 'https://testnet.evm.nodes.onflow.org' ,
271279} ;
272280
273281/**
@@ -341,4 +349,4 @@ export function getSupportedNetworks(): string[] {
341349 return Object . keys ( networkNameMap )
342350 . filter ( name => name . length > 2 ) // Filter out short aliases
343351 . sort ( ) ;
344- }
352+ }
0 commit comments