rpc uses CloudFlare Web3 gateway at ethereum.liquidity.party
This commit is contained in:
@@ -28,7 +28,16 @@ const mockchain = defineChain({
|
|||||||
testnet: true,
|
testnet: true,
|
||||||
});
|
});
|
||||||
|
|
||||||
const allChains = [mainnet, polygon, optimism, arbitrum, base, sepolia, mockchain];
|
// Create a deep copy of mainnet with custom RPC URL
|
||||||
|
const ethereum = {
|
||||||
|
...mainnet,
|
||||||
|
rpcUrls: {
|
||||||
|
...mainnet.rpcUrls,
|
||||||
|
default: {http: ['https://ethereum.liquidity.party']},
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
|
const allChains = [ethereum, sepolia, mockchain];
|
||||||
const chains = allChains.filter(chain =>
|
const chains = allChains.filter(chain =>
|
||||||
Object.keys(deployments || {}).includes(chain.id.toString())
|
Object.keys(deployments || {}).includes(chain.id.toString())
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user