From 2fc0fc38a6cd41c38709f6bac7624a3f7952776c Mon Sep 17 00:00:00 2001 From: Tiyo Date: Fri, 9 Aug 2024 22:41:38 +0800 Subject: [PATCH] update network --- packages/client/.env | 4 ++-- packages/client/src/mud/supportedChains.ts | 3 ++- packages/client/src/pages/home/header/index.tsx | 4 ---- packages/contracts/worlds.json | 2 +- 4 files changed, 5 insertions(+), 8 deletions(-) diff --git a/packages/client/.env b/packages/client/.env index 4b3bf926..13750d2e 100644 --- a/packages/client/.env +++ b/packages/client/.env @@ -1,3 +1,3 @@ -VITE_CHAIN_ID=31337 -VITE_TEST_CHAIN_ID=31337 +VITE_CHAIN_ID=421614 +VITE_TEST_CHAIN_ID=421614 VITE_IS_OPEN=true \ No newline at end of file diff --git a/packages/client/src/mud/supportedChains.ts b/packages/client/src/mud/supportedChains.ts index 6457bddd..88d297d8 100644 --- a/packages/client/src/mud/supportedChains.ts +++ b/packages/client/src/mud/supportedChains.ts @@ -30,7 +30,8 @@ const arbSepolia = { http: ["https://arb-sepolia.g.alchemy.com/v2/rDwBqKe2Zy38AF5b-GB2Y5bfH7wspLM5"], webSocket: ["wss://arb-sepolia.g.alchemy.com/v2/rDwBqKe2Zy38AF5b-GB2Y5bfH7wspLM5"], }, - } + }, + indexerUrl: 'https://indexer.lidamao.tech' }; const opSepolia = { diff --git a/packages/client/src/pages/home/header/index.tsx b/packages/client/src/pages/home/header/index.tsx index 609ee7bb..98c98d21 100644 --- a/packages/client/src/pages/home/header/index.tsx +++ b/packages/client/src/pages/home/header/index.tsx @@ -115,10 +115,6 @@ const HomeHeader = (props: IProps) => { select ?
changeNetwork(421614)}>Arbitrum Sepolia
-
changeNetwork(204)}>opBNB
-
changeNetwork(11155420)}>OP Sepolia
- -
Starknet(Coming Soon)
{ import.meta.env.DEV ?
changeNetwork(31337)}>Foundry
: null } diff --git a/packages/contracts/worlds.json b/packages/contracts/worlds.json index a4693c93..5541d8c6 100644 --- a/packages/contracts/worlds.json +++ b/packages/contracts/worlds.json @@ -12,7 +12,7 @@ "blockNumber": 3018802 }, "31337": { - "address": "0x6eb9682fe93c6fe4346e0a1e70bc049aa18cc0ca" + "address": "0xc7fbc007c077ccb92d40b5ddcc58182307776eb6" }, "33784": { "address": "0x6e9474e9c83676b9a71133ff96db43e7aa0a4342",