Email & Phone Number Sign-In
Users can sign in through Connect via a one-time password sent to their email or SMS.
For both OTP login methods, thirdweb generates a non-custodial in-app wallet within your application. In-app wallets enable your users to interact with your application, as well as store tokens and assets they receive while interacting with your application.
Add in-app wallet
To add phone and email sign-in options, pass inAppWallet
to the wallets
array.
Interacting with your App
Once a user is signed in and their wallet is generated, use the Wallet Connection hooks to get information about the connected wallet such as the wallet address, account, and more.