diff --git a/client/src/blockchain-api/wagmi/wagmiClient.ts b/client/src/blockchain-api/wagmi/wagmiClient.ts index 4cfaa8d..4866761 100644 --- a/client/src/blockchain-api/wagmi/wagmiClient.ts +++ b/client/src/blockchain-api/wagmi/wagmiClient.ts @@ -13,7 +13,7 @@ import { publicProvider } from "wagmi/providers/public"; // import polygonTestIcon from "assets/networks/polygonTest.svg"; import zkMainIcon from "assets/networks/zkEvmMain.svg"; import zkTestIcon from "assets/networks/zkEvmTest.svg"; -import { x1 } from "utils/chains"; +import { arbitrumSepolia, x1 } from "utils/chains"; const defaultChains: Chain[] = [ // { ...polygon, iconUrl: polygonMainIcon, iconBackground: 'transparent' }, @@ -25,6 +25,7 @@ const defaultChains: Chain[] = [ iconBackground: "transparent", }, x1, + arbitrumSepolia, ]; const { chains, provider } = configureChains(defaultChains, [publicProvider()]); diff --git a/client/src/utils/chains.ts b/client/src/utils/chains.ts index 4fc4d90..07f3283 100644 --- a/client/src/utils/chains.ts +++ b/client/src/utils/chains.ts @@ -18,3 +18,39 @@ export const x1 = { default: { name: "OKLink", url: "https://www.oklink.com/x1-test" }, }, } as const satisfies Chain; + +export const arbitrumSepolia = { + id: 421_614, + name: "Arbitrum Sepolia", + network: "arbitrumSepolia", + nativeCurrency: { + name: "Arbitrum Sepolia Ether", + symbol: "ETH", + decimals: 18, + }, + rpcUrls: { + public: { + http: ["https://sepolia-rollup.arbitrum.io/rpc"], + }, + default: { + http: ["https://sepolia-rollup.arbitrum.io/rpc"], + }, + }, + blockExplorers: { + etherscan: { + name: "Arbiscan", + url: "https://sepolia.arbiscan.io", + }, + default: { + name: "Arbiscan", + url: "https://sepolia.arbiscan.io", + }, + }, + contracts: { + multicall3: { + address: "0xca11bde05977b3631167028862be2a173976ca11", + blockCreated: 81930, + }, + }, + testnet: true, +} as const satisfies Chain;