Open
Description
Describe the bug
// Define the custom network
const eclipse = defineChain({
id: "EtWTRABZaYq6iMfeYKouRu166VU2xqa1",
caipNetworkId: 'solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1',
chainNamespace: 'solana',
name: 'Eclipse',
nativeCurrency: {
decimals: 9,
name: 'Ether',
symbol: 'ETH',
},
rpcUrls: {
default: {
http: [process.env.NEXT_ECLIPSE_RPC_URL ?? "https://mainnetbeta-rpc.eclipse.xyz"],
webSocket: ['WS_RPC_URL'],
},
},
blockExplorers: {
default: { name: 'Explorer', url: 'https://eclipsescan.xyz' },
},
contracts: {
// Add the contracts here
}
})
Putting a foreign chain id give me "invalid chain id" when i try to sign a transaction
When i did this i now get, invalid blockhash