Wallet Lifecycle
Create Wallet
Automatic (Recommended)
createWallet() handles the full flow:
Smart Flow
createWallet() implements smart recovery:
- Check for existing passkey
- If exists, authenticate and recover from backend
- If not, create new passkey and wallet
- Deploy wallet gaslessly
- Backup to backend
Load Existing Wallet
If you know a wallet exists locally:Recover Wallet
For users on new devices with synced passkeys:Check Wallet Status
Has Wallet Locally
Is Deployed On-Chain
Get Wallet Information
Address
Balance
Funding Address
Clear Wallet
Remove wallet from local storage:Logout
Full logout including OAuth session:Storage Details
React Native SDK usesexpo-secure-store:
| Data | Storage | Encryption |
|---|---|---|
| OAuth tokens | SecureStore | OS-level |
| Wallet metadata | SecureStore | OS-level |
| Encrypted private key | SecureStore | Passkey AES-GCM |

