import { interopAlphaChains, mainnetChains, sepoliaChains, supersimChains, supersimL1, } from '@eth-optimism/viem/chains';
import { mainnet, sepolia } from 'viem/chains';
export const mainnetNetwork = {
    name: 'mainnet',
    sourceChain: mainnet,
    chains: mainnetChains,
};
export const sepoliaNetwork = {
    name: 'sepolia',
    sourceChain: sepolia,
    chains: sepoliaChains,
};
export const supersimNetwork = {
    name: 'supersim',
    sourceChain: supersimL1,
    chains: supersimChains,
};
export const interopAlphaNetwork = {
    name: 'interop-alpha',
    sourceChain: sepolia,
    chains: interopAlphaChains,
};
export const networks = [
    mainnetNetwork,
    sepoliaNetwork,
    interopAlphaNetwork,
    supersimNetwork,
];
export const networkByName = networks.reduce((acc, network) => {
    acc[network.name] = network;
    return acc;
}, {});
