Providers Config #285
-
How do I set up different network for the same provider? So, I am trying to build dApp that should allow users to interact with multiple blockchain, but I am confused how I can have multiple network setup as my providers when I am using the const config = createConfig(
getDefaultConfig({
alchemyId: process.env.NEXT_SERVER_ALCHEMY_ID, // or infuraId
walletConnectProjectId:
process.env.NEXT_PUBLIC_WALLETCONNECT_PROJECT_ID || "",
chains,
appName: "App UI",
})
); Do I write a conditional statement that let's me select Does anyone know my options here? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
You should be able to use both You can read more about providers in the ConnectKit Docs here: https://docs.family.co/connectkit/providers |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Just reading through some of the wagmi discussions it looks like this has been answered here: wevm/wagmi#2805 (reply in thread)