Skip to content

Commit

Permalink
update network
Browse files Browse the repository at this point in the history
  • Loading branch information
TiyoSheng committed Aug 9, 2024
1 parent db9ea86 commit 2fc0fc3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
4 changes: 2 additions & 2 deletions packages/client/.env
Original file line number Diff line number Diff line change
@@ -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
3 changes: 2 additions & 1 deletion packages/client/src/mud/supportedChains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
4 changes: 0 additions & 4 deletions packages/client/src/pages/home/header/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,6 @@ const HomeHeader = (props: IProps) => {
select ? <div>
<div className='network-list'>
<div className='network-item' onClick={() => changeNetwork(421614)}>Arbitrum Sepolia</div>
<div className='network-item' onClick={() => changeNetwork(204)}>opBNB</div>
<div className='network-item' onClick={() => changeNetwork(11155420)}>OP Sepolia</div>

<div className='network-item' >Starknet(Coming Soon)</div>
{
import.meta.env.DEV ? <div className='network-item' onClick={() => changeNetwork(31337)}>Foundry</div> : null
}
Expand Down
2 changes: 1 addition & 1 deletion packages/contracts/worlds.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"blockNumber": 3018802
},
"31337": {
"address": "0x6eb9682fe93c6fe4346e0a1e70bc049aa18cc0ca"
"address": "0xc7fbc007c077ccb92d40b5ddcc58182307776eb6"
},
"33784": {
"address": "0x6e9474e9c83676b9a71133ff96db43e7aa0a4342",
Expand Down

0 comments on commit 2fc0fc3

Please sign in to comment.