Hello Web3Auth team,
I am currently using Web3Auth with the following setup:
const adapters = await getDefaultExternalAdapters({
options: {
clientId,
chainConfig,
web3AuthNetwork: WEB3AUTH_NETWORK.SAPPHIRE_MAINNET,
privateKeyProvider: privateKeyProvider,
}
});
const metamaskAdapter = adapters.find((e) => e.name == "metamask");
web3auth.configureAdapter(metamaskAdapter);
However, despite configuring the MetaMask adapter, multiple wallet options (like Torus and others) are still being displayed in the Web3Auth modal.
What I need:
I want to limit the options to only show MetaMask for wallet connection, as I don’t want other wallets to be available for my users.
Steps Taken:
- I used the
getDefaultExternalAdapters
method to retrieve the adapters and filtered the MetaMask adapter. - I configured Web3Auth to use only the MetaMask adapter, but the modal still shows multiple wallet options.
Could you please provide guidance on how to limit the options to only MetaMask? Is there a specific configuration I might be missing?
Thank you for your help!