Embedded wallets
Learn how to create embedded wallets for users within your application using the Okto SDK.
Creating Embedded Wallets
Okto's embedded wallets provide a seamless way to integrate wallet functionality into your application. This guide explains how to create and manage embedded wallets for your users.
Automatic Wallet Creation
Okto automatically handles wallet creation for your users. When a user authenticates with your application, Okto creates their embedded wallet addresses across supported chains. This means:
- No manual wallet creation is required
- Wallets are instantly available after authentication
- Users can immediately start interacting with supported chains
Accessing User Wallets
To retrieve a user's wallets across different chains, use the getAccount
function:
Note
Ensure that the user is authenticated before calling getAccount()
. You should prompt users to log in if they are not already authenticated.