-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: wagmi v2 #1588
feat: wagmi v2 #1588
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
ThemeStore.setModal(modal) | ||
|
||
export default function Wagmi() { | ||
const [ready, setReady] = useState(false) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this can be removed, we could add SSR config instead: https://beta.wagmi.sh/react/guides/ssr
connectors, | ||
publicClient | ||
multiInjectedProviderDiscovery: enableEIP6963 !== false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in order to support more features (like SSR) in our defaultWagmiConfig can we add a spread operator?
multiInjectedProviderDiscovery: enableEIP6963 !== false | |
multiInjectedProviderDiscovery: enableEIP6963 !== false, | |
...wagmiOptions |
Breaking Changes
WagmiConfig
is no longer supported,WagmiProvider
should be used instead.For complete notes see:
Changes
Notes
http
transport. We were previously providing the WC Blockchain API transport as well but now we need to expose a client with a specific transport. Do we want to use the WC one as main or keep the public default client as main?Associated Issues
#1587