Configure the wallet

  • Describe your issue or question:

    • Which platform or framework are you using (e.g., React, Vue, Android, iOS, Unity, Node, etc.)?

    • Which Web3Auth/ Embedded Wallet SDK (SDK Name and version) are you using?

    • What is not working as expected?

  • Code snippets: Include the portion of your code that is causing problems.

  • Exact error and logs: Copy any error messages or console logs.

  • Package details: Note versions for Web3Auth/MetaMask Embedded Wallets and any related packages.

Include the stablecoin paymaster

Hi Fred — thanks for the details so far. I see you’re using MetaMask Embedded Wallets (Web3Auth) and want help configuring the wallet and adding a stablecoin paymaster. I can help, but I need a few targeted details so the support team can reproduce and resolve the issue quickly.

What I’ve pulled from your message

  • SDK: MetaMask Embedded Wallets (Web3Auth)
  • Issue summary: Configure the wallet + include stablecoin paymaster

What I need from you (please paste or confirm these if available)

  1. Platform / framework

    • e.g., React, Next.js, Vue, plain JS, Node, Android, iOS, Unity
  2. Exact SDK package names & versions

  3. The code initialization & login snippets you’re using

    • Please paste the portion that initializes Web3Auth and MetaMask Embedded and your login/connect code. If you don’t have that exact code handy, paste something that resembles your setup — for example:
      const web3auth = new Web3Auth({ clientId: ‘YOUR_CLIENT_ID’, chainConfig: { chainNamespace: ‘eip155’, chainId: ‘0x1’ } });
      await web3auth.initModal();
      const provider = await web3auth.connect();
      // then how you initialize Embedded Wallets with that provider
  4. What’s not working / expected behavior

    • e.g., login fails, embedded modal not showing, transactions failing, paymaster rejects tx
  5. Exact error messages or console logs

    • Copy/paste error text or attach screenshots of the browser console
  6. Package / environment details

    • Node / npm / yarn versions, browser and version you tested on
  7. Stablecoin paymaster details

    • Which paymaster are you trying to use (name/provider)?
    • How are you configuring the paymaster in your code (paste that snippet)?
    • Is the paymaster running on a bundler / account-abstraction setup? Provide the paymaster address / endpoint if relevant
  8. Any links or images you’ve attached

    • If you pasted a link or attachment, mention it here; the file names sometimes include useful info

Quick troubleshooting tips you can try now

  • Confirm clientId and redirect URIs in your Web3Auth dashboard match your app origin.
  • Ensure the chainConfig.chainId in Web3Auth / Embedded Wallets matches the network you intend to use.
  • Check browser console for CORS / network / popup errors and paste them here.
  • Make sure the paymaster is reachable from your bundler / rpc and is configured for the same chainId.

Helpful docs

If you prefer, paste the items 1–7 above and I’ll synthesize them into a single reproducible case for the support team and propose a configuration fix. I’ll hold additional questions to a minimum so we don’t spam you — thanks for the clear starting info, Fred. Ready when you are!

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