You’re viewing the 2.0 (LTS) docs. View the current 3.0 version of this page.
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.
Create Guest Wallets
Use theuseCreateGuestWallets hook to create guest wallets programmatically:
AppContent.tsx
Tracking Guest Wallet Creation
Monitor wallet creation status with theuseCreateGuestWallets hook’s own state, or use a separate state variable for cross-component access: