We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10bedf2 commit b62b6c7Copy full SHA for b62b6c7
packages/nextjs/scaffold.config.ts
@@ -15,7 +15,7 @@ export const DEFAULT_ALCHEMY_API_KEY = "oKxs-03sij-U_N0iOlrSsZFr29-IqbuF";
15
16
const scaffoldConfig = {
17
// The networks on which your DApp is live
18
- targetNetworks: [chains.base],
+ targetNetworks: [chains.base, ...(process.env.NODE_ENV === "development" ? [chains.hardhat] : [])],
19
// The interval at which your front-end polls the RPC servers for new data (it has no effect if you only target the local network (default is 4000))
20
pollingInterval: 30000,
21
// This is ours Alchemy's default API key.
0 commit comments