Solana self-custodial

Is it possible to connect a Solana self-custodial wallet with Web3Auth on a website? Looking for any references or guidance.

Hi Ajit,

Thanks for your question! You’re exploring whether it’s possible to connect a Solana self-custodial wallet with Web3Auth on a website and are looking for references or guidance.

Here’s a summary for the support team:


User Query:
Is it possible to connect a Solana self-custodial wallet with Web3Auth on a website? Looking for references or guidance.

Context Provided:

  • Platform: Website (Web SDK context)
  • SDK Details: Plug n Play (no specific SDK version mentioned)
  • No code snippets, screenshots, or additional integration details provided.

Guidance

Currently, Web3Auth primarily provides non-custodial wallet creation and management for users via social logins, passwordless methods, or custom authentication, and supports Solana as a blockchain network. However, direct integration for connecting existing self-custodial Solana wallets (e.g., Phantom, Solflare) as external wallet providers is not natively supported out-of-the-box in the Plug n Play SDK.

What you can do:

  • You can enable “External Wallets” (like MetaMask for EVM chains) in the Plug n Play SDK, but for Solana, this feature is limited as most external wallet support is focused on EVM-compatible wallets.
  • For Solana, users typically onboard through Web3Auth’s authentication flows, and a new non-custodial wallet is generated for them.
  • If you want users to connect an existing Solana wallet (like Phantom), you would need to implement a separate connection flow for those wallets outside of Web3Auth, or use a hybrid approach where both Web3Auth and external wallet options are available in your UI.

References:


Summary:
Currently, Web3Auth does not natively support connecting existing Solana self-custodial wallets as an authentication method in the Plug n Play SDK. You can provide both Web3Auth and native Solana wallet options in your dApp for a seamless user experience.

If you have a specific use case or are looking for a feature request, please let us know!

Let me know if you need sample code or further clarification on implementing hybrid wallet connections.

Note: This response was generated by an AI bot and may require further verification. The Web3Auth support team has tracked this issue and will be responding as soon as possible.

Additionally, we would recommend you to join our biweekly Office Hours to get this resolved even faster. Web3Auth Developer Office Hours