Skip to content

Commit 02b38ec

Browse files
authored
Add infuraAPIKey (#2167)
Adding infuraAPIKey, suggested by the Dashboard team.
1 parent a441e61 commit 02b38ec

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

sdk/connect/javascript-wagmi.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,11 @@ For example:
146146
const config = createConfig({
147147
ssr: true, // Make sure to enable this for server-side rendering (SSR) applications.
148148
chains: [mainnet, linea, lineaSepolia],
149-
connectors: [metaMask()],
149+
connectors: [
150+
metaMask({
151+
infuraAPIKey: process.env.NEXT_PUBLIC_INFURA_API_KEY!,
152+
}),
153+
],
150154
transports: {
151155
[mainnet.id]: http(),
152156
[linea.id]: http(),

0 commit comments

Comments
 (0)