Skip to content
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

Breaking changes in react-app fixed by updating to rainbowkit and wagmi's new version's requirements #261

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

amoweolubusayo
Copy link
Contributor

@amoweolubusayo amoweolubusayo commented Dec 8, 2023

Please review, I had issues running the react-app but these changes worked. Also, wen update to nextjs app router?

The react-app is breaking because of upgrades from wagmi. Updates to viem and wagmi is required
Due to wagmi's update. Some variables might become redundant such as publicClient, connectors. Also no need for adding Walletconnect project Id 

https://www.rainbowkit.com/docs/migration-guide
https://wagmi.sh
Also update to rainbowkit new version.
Copy link

netlify bot commented Dec 8, 2023

👷 Deploy request for celo-composer pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 7ab1523

Copy link

Updated dependencies detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives Size Publisher
viem 0.3.30...0.3.50 None +1/-2 3.52 MB jmoxey
wagmi 1.2.1...1.4.10 None +24/-15 21.2 MB awkweb
@rainbow-me/rainbowkit 1.0.3...1.3.0 None +28/-19 25.4 MB danielsinclair

Apologies, please a bit of update. Former code will leave wallet slots empty. Please this might need internal review as it's like an opener to actual fix. But viem was no longer needed and replace celoGroups with getDefaultWallets according to https://www.rainbowkit.com/docs/installation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant