Support for Solana wallets like phantom #344
Replies: 2 comments 2 replies
-
I like this idea. Based on my limited knowledge of how Solana works + current ecosystem, I think there's a bit of work to get support for Solana into RainbowKit. First, RainbowKit relies on wagmi and ethers. Ethers does not support Solana, and to my knowledge, there does not exist a fork of Ethers for Solana. This is a major hurdle. Once we had that Solana Ethers fork (or similar), we'd need to separate Ethereum-specific logic from wagmi core and react libraries. This seems doable, especially given recent updates to modularize the wagmi codebase. After that, I imagine there are still some challenges within the RainbowKit UI and core logic, plus some differences between Solana and EVM-chains, dapps, etc etc etc. All that being said, I don't think this is impossible, and would frankly be excited to see community involvement and support to make this happen. If you and/or other Solana contributors want to put together an RFC laying out how you see this working, that'd be super cool. We might find out that the best path forward is a fork of the mentioned libraries (including RainbowKit), and that's okay too. Pumped about pushing all developer tools (and user experience) forward, regardless of chain or wallet. |
Beta Was this translation helpful? Give feedback.
-
Hey @nickbytes we've implemented our own version of a unified wallet modal in our dapp https://app.metapasshq.xyz Try connecting your wallet, it supports Metamask, Wallet Connect and Solana Wallets and we use wagmi under the hood |
Beta Was this translation helpful? Give feedback.
-
We could easily plug in solana wallet adapter and support for wallets like phantom and solflare which would truly make this a multichain solution
Beta Was this translation helpful? Give feedback.
All reactions