I want to use web3auth to create wallet address with user Email

I have an email address input box and a button. What I want is when user submit their email address the button use web3auth to create a wallet address and return it. Is this possible. I don’t want to use Social login or Google. I want to use my own custom domain Email address.
Thanks!

hi @moreapps40,

yes…you can do that. Please check our PnP no-modal example: https://github.com/Web3Auth/web3auth-pnp-examples/blob/main/web-no-modal-sdk/blockchain-connection-examples/evm-no-modal-example/src/App.tsx

const loginWithEmail = async () => {
    if (!web3auth) {
      uiConsole("web3auth not initialized yet");
      return;
    }
    const web3authProvider = await web3auth.connectTo(WALLET_ADAPTERS.OPENLOGIN, {
      loginProvider: "email_passwordless",
      extraLoginOptions: {
        login_hint: "hello@web3auth.io",
      },
    });
    setProvider(web3authProvider);
    if (web3auth.connected) {
      setLoggedIn(true);
    }
  };
1 Like

Hello @TomTom Thanks for your help. While using the Email login and the user is redirected to the verification page (by entering the verification code), There is a small text on the bottom of the modal saying " Self-custody via Web3authLOGO".
My questions are:
1- Can we remove this message and logo?

2- Can we keep the user on our own webpage and let him enter the code on our own web page?

Thanks!