How to migrate custom wallet to rainbowkit v2 beta? (new wallet not showing) #1737
-
Currently going through rainbowkit v2 beta upgrade: https://beta.rainbowkit.com/guides/rainbowkit-wagmi-v2 My main hangup is that right now we built a custom Tokenproof wallet integration (they're not actually meant to be a wallet but we wanted to include tokenproof as a rainbowkit-native UX pattern), and I haven't been able to get the Tokenproof option to show up in the wallet display. This is the rough structure of our custom setup: https://gist.github.com/thatguyintech/834a150fdb28b1522161fd275307433d This is what it looks like with our rainbowkit v1 implementation: With rainbowkit v2 the option is not showing up: Any ideas on what I might be doing wrong? Could be a wagmi/viem issue too that I'm not catching? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
ok ended up figuring this out by copying one of the reference wallet implementations (i.e. it turns out, my main issue was that I wasn't adhering to the eip6963 spec for the icon image uri:
Adding that TLDR; if your custom wallet implementation isn't showing up, make sure to start backwards from an already-working implementation and then modify to support your custom wallet logic. |
Beta Was this translation helpful? Give feedback.
-
Amazing thanks for working on this |
Beta Was this translation helpful? Give feedback.
ok ended up figuring this out by copying one of the reference wallet implementations (i.e.
coinbaseWallet
), and then re-porting over the custom connector logic and propertiesit turns out, my main issue was that I wasn't adhering to the eip6963 spec for the icon image uri: