Email & Social Wallets
AppKit enables passwordless Web3 onboarding and authentication, allowing your users interact with your application by creating a non-custodial wallet with just their emails or social accounts.
Email & Social Wallets Demo
Remember to whitelist your dapp’s iOS’s bundleId and Android’s packageName in your cloud configuration.
- LogIn into https://cloud.reown.com
- Open Dashboard and scroll down to Mobile Application IDs menu
- Add your iOS Bundle ID and your Android Package Name
Email and Social login are supported only on EVM networks and Solana.
Integration
In order to support Email and Social Wallets creation just set featuresConfig:
parameter in ReownAppKitModal
initialization.
Options
- socials
List<AppKitSocialOption>
: This list contains the list of social platforms that you want to enable for user authentication. Is empty by default, it means that no social options is enabled. The buttons in the modal will be shown in the same order you configure the list. - showMainWallets
bool
: This boolean defines whether you want to show the main wallet options on the first connect screen. If this isfalse
it will show a button that directs you to a new screen displaying all available wallets. Defaulttrue
.
In order for Farcaster to work properly, either AppKitModalConnectButton()
or AppKitModalAccountButton()
has to be instantiated during the whole lifetime of the app.
If you already use them then nothing else has to be done, but in case you don’t use them but still want to support Email & Social Wallets you would have to instantiate and hide them as follows:
User Flow
-
Users can connect to your application using either an email address or a social login option. Upon selecting an option, they will be redirected to a secure login page in the device’s default browser. If the Email option is selected, AppKit will first send an approval link to the user’s email, followed by a One-Time Password (OTP) to be used in the login flow. This process helps verify the user’s identity. In both cases, whether using Email or Social login, a non-custodial wallet will be created for the user. This wallet will be accessible across any application that integrates AppKit and Email Wallets.
-
Eventually, users can optionally choose to upgrade from a non-custodial wallet to a self-custodial one by tapping “Upgrade Wallet” in AppKit. This action opens the Reown secure website, which guides the user through the upgrade process.