With Guest Mode enabled, you can offer an option for your users to get started with a guest account without signing up. When users eventually sign up, any previously created guest wallets will immediately be linked to their account.
Integration Methods
There are two primary ways to implement Guest Mode:- Para Modal
- React Hook
The easiest way to implement Guest Mode is via the Para Modal. Simply set the corresponding configuration setting (
isGuestModeEnabled) in your ParaProvider configuration to true.This setting adds a “Continue as Guest” option to the modal sign-in screen, which closes the modal and performs wallet setup in the background. If the modal is reopened, guest users will see a special version of the account screen, from which they can proceed to finish signing up and then claim their existing wallets.Tracking Guest Wallet Creation
Whether you use the modal or a custom solution, you can monitor and reflect guest wallet creation status by using theuseCreateGuestWalletsState hook. For example, you will likely want to block any signing-related interface actions until the wallets have been created.