Skip to content
This repository was archived by the owner on Apr 23, 2025. It is now read-only.

Commit ec96589

Browse files
committed
final changes implemented
1 parent e3b5089 commit ec96589

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

docs/quick-start/configure-contracts.mdx

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -29,31 +29,8 @@ The contracts pulled from the network are determined by the chain configured in
2929
While some contracts may have the same address on both `Sepolia and Mainnet`, this is not always guaranteed. Always double-check you are on the correct network based on the contract's intended usage.
3030

3131
```ts
32-
export type ScaffoldConfig = {
33-
targetNetworks: readonly chains.Chain[];
34-
pollingInterval: number;
35-
onlyLocalBurnerWallet: boolean;
36-
rpcProviderUrl: string;
37-
walletAutoConnect: boolean;
38-
};
39-
4032
const scaffoldConfig = {
4133
targetNetworks: [chains.devnet],
42-
// Only show the Burner Wallet when running on devnet
43-
onlyLocalBurnerWallet: false,
44-
rpcProviderUrl: process.env.NEXT_PUBLIC_PROVIDER_URL || "",
45-
// The interval at which your front-end polls the RPC servers for new data
46-
// it has no effect if you only target the local network (default is 30_000)
47-
pollingInterval: 30_000,
48-
/**
49-
* Auto connect:
50-
* 1. If the user was connected into a wallet before, on page reload reconnect automatically
51-
* 2. If user is not connected to any wallet: On reload, connect to burner wallet if burnerWallet.enabled is true && burnerWallet.onlyLocal is false
52-
*/
53-
walletAutoConnect: true,
54-
} as const satisfies ScaffoldConfig;
55-
56-
export default scaffoldConfig;
5734
```
5835
5936
#### 2. Enter the Contract Address and Name

0 commit comments

Comments
 (0)