diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 90b779f..7f7debe 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -16,7 +16,7 @@ pnpm run dev This will start a local server on `http://localhost:3000` with the example app linked to local package -The burner wallet should be automatically connected to sepolia network, and can interact with the [`YourContract`](https://sepolia.etherscan.io/address/0x0D25b202D1B5126ECFcaeFa85f7a37ed86EF79ea) deployed on the sepolia. +The burner wallet should be automatically connected to optimism sepolia network, and can interact with the [`YourContract`](https://optimism-sepolia.blockscout.com/address/0xFB30C0790128b97e3aC540E6124e512E37c47D00). ## Testing with hardhat diff --git a/example/app/components/Example.tsx b/example/app/components/Example.tsx index 3693ea3..f7de96c 100644 --- a/example/app/components/Example.tsx +++ b/example/app/components/Example.tsx @@ -7,6 +7,7 @@ import { import { FaucetButton } from "./FaucetButton"; import toast from "react-hot-toast"; import deployedContracts from "../contracts/deployedContracts"; +import { optimismSepolia } from "viem/chains"; export const Example = () => { const { isConnected, chain } = useAccount(); @@ -19,7 +20,7 @@ export const Example = () => { chain?.id && chain.id in deployedContracts ? deployedContracts[chain.id as keyof typeof deployedContracts] .YourContract - : deployedContracts[11155420].YourContract; + : deployedContracts[optimismSepolia.id].YourContract; const { data: totalCounter } = useReadContract({ ...yourContract,