Thanks — happy to help! It sounds like you’re exploring a new integration (not reporting a bug). I pulled what you already shared:
- SDK details: Web3Auth
- SDK version: 9.0.2 (you provided this)
- Platform: not specified (web vs mobile — please tell me if you’re building a web app, React Native, or something else)
High-level guidance / recommended approaches
- Use a wallet/auth provider + chain-specific swap/aggregator
- Web3Auth can provide key management/providers for multiple chains (EVM and Solana). Keep Web3Auth as the single sign-on layer, then call chain-specific swap aggregators to build the swap transaction/route and sign with the appropriate provider.
- EVM: use 1inch, 0x, Paraswap (or direct DEX) to get swap routes and calldata, then sign/send via an Ethers/Web3 provider (MetaMask or Web3Auth EVM provider).
- Solana: use Jupiter (or Orca) to get swap routes and build Solana swap instructions, then sign/send via solana-web3.js with the Solana signer (Web3Auth’s Solana adapter or a Solana wallet like Phantom).
- Alternative: let users connect native chain wallets
- EVM users: MetaMask (extension / mobile) for signing EVM swaps
- Solana users: Phantom, Solflare, etc., for Solana swaps
This reduces work on your side (you just integrate each wallet + corresponding aggregator).
Why MetaMask alone won’t cover both chains
- MetaMask SDK / extension is focused on EVM-compatible chains. It doesn’t natively sign Solana transactions. For Solana you’ll need Solana-native wallets or a multi-chain key provider like Web3Auth.
Useful docs and aggregator links
- MetaMask docs: https://docs.metamask.io
- MetaMask Builder Hub: https://builder.metamask.io
- Web3Auth docs: Introduction | Documentation | Web3Auth
- 1inch docs (EVM aggregator): https://docs.1inch.io/
- 0x API / docs: Welcome | 0x
- Paraswap docs: https://paraswap.io/
- Jupiter (Solana aggregator): https://docs.jup.ag/
- Solana web3.js: https://docs.solana.com/developing/clients/javascript-reference
Suggested next steps I can help with
- If you want a single-provider flow: I can outline an example architecture and provide code snippets for Web3Auth (v9) + 1inch for EVM and Web3Auth (Solana adapter) + Jupiter for Solana. Please tell me whether you’re building for web or mobile.
- If you prefer wallet-per-chain: I can show how to detect and connect MetaMask (EVM) and Phantom (Solana) and how to call the aggregators.
If you want us to escalate this as an integration question for the support team, please optionally share:
- Which platform (web, React Native, backend) you’re targeting
- Whether you want an in-app UX (you generate and sign tx) or prefer redirecting users to their wallet’s swap UI
Would you like example code for Web3Auth + 1inch (EVM) and Web3Auth + Jupiter (Solana) for a web app? If yes, tell me your stack (vanilla JS, React, Next.js, etc.) and I’ll prepare snippets.
Note: This response was generated by an AI bot and may require further verification. The MetaMask Community 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. MetaMask Developer Office Hours