-
Notifications
You must be signed in to change notification settings - Fork 964
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
Allow usage of predefined UI packages without @solana/wallet-adapter-react
dependency
#818
Comments
Hmm. Can you help me understand why you don't want to use the |
If it's specifically about the connection logic, that's all opt-in. By default |
Thanks for your quick response. I did try to address this in the Additional context section, but I'm happy to elaborate Our wallet connection logic is implemented as a pure TypeScript (TS) abstraction (no React involved), and React is layered on top of this, consuming it. The need for our own wallet connector abstraction arises from the fact that our application has to support multiple protocols, each with its own wallets and methods. While Integrating I hope this additional explanation clarifies both our need for an abstraction and the challenges of using |
Is your feature request related to a problem? Please describe.
I am a developer who would like to utilize the predefined UI packages in Solana, such as material-ui, without necessarily depending on and using wallet-adapter-react. This desire stems from the need to implement custom wallet connection logic while still maintaining a consistent user experience across Solana applications by using standard Solana UI.
Describe the solution you'd like
wallet-adapter-react
(e.g.,material-ui-base
,ant-ui-base
, etc.).WalletDialog
component, acceptwallets: Wallet[]
andselect: (wallet: Wallet) => void
as props.Describe alternatives you've considered
Additional context
At Mailchain, we have a specific need for this feature, stemming from our handling of multiple protocols. We've designed an abstraction layer that unifies all protocol wallets under a common interface, implemented outside the React package as pure TS. Utilizing the
wallet-adapter-react
library within this abstraction requires complicated workarounds, hence the need for a more flexible solution.The text was updated successfully, but these errors were encountered: