Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Support for RainbowKit 0.12.x #44

Open
fodisi opened this issue Jun 19, 2023 · 5 comments
Open

Support for RainbowKit 0.12.x #44

fodisi opened this issue Jun 19, 2023 · 5 comments
Assignees

Comments

@fodisi
Copy link

fodisi commented Jun 19, 2023

Hi.
Which version should be used with rainbowkit 0.12.x? this rainbowkit version has support for wallet connect v2, without the need to fully migrate to v1.x.x. But it still accepts passing projectId from WC Cloud, which is now required.

Thanks

@aaronmgdr
Copy link
Member

ah this version slipped by us.

@aaronmgdr aaronmgdr mentioned this issue Jun 20, 2023
@aaronmgdr
Copy link
Member

having more trouble with this than the 1.0 release. 🫤

@fodisi
Copy link
Author

fodisi commented Jun 21, 2023

having more trouble with this than the 1.0 release. 🫤

Oh no - sorry to hear that.

Have you've seen/used the newly released ethers.js adapters for wagmi 1.x.x? This allows projects to continue using ethers.js w/ wagmi 1.x, and incrementally migrate to viem.
I believe celo-rainbowkit v1 would also work with these adpaters without issues, correct? Or would it require further changes?

Thanks for all the work (and fighting all the trouble ;-) ) to get this released, @aaronmgdr .

@dckesler dckesler self-assigned this Jun 21, 2023
@dckesler
Copy link
Contributor

@fodisi Yes, you should be able to follow the tutorials that you linked in your comment above for your application without any changes to rainbowkit-celo.

I was able to get it working on our example in this repo and I've made a branch for reference. You can see here where I implemented the code given by the wagmi team. Then you can see here where I use both the ethers signer and the ethers provider.

Hopefully, this is also sufficient for your needs. Please reach out again if you run into any issues!

@dckesler
Copy link
Contributor

Also, here's a more in-depth tutorial I posted to Celo Academy that includes a guide on using Ethers with rainbowkit/wagmi 1.x.x.
https://celo.academy/t/upgrading-your-dapp-to-wallet-connect-v2/2907?u=daniel_kesler

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants