To configure Privy to automatically create embedded wallets for your user when they login, set the
config.embedded.solana.createOnLogin
property of your PrivyProvider
:Determines when to create a wallet for the user.
'all-users'
: Create a wallet for all users on login.'users-without-wallets'
: Create a wallet for users who do not have a wallet on login.'off'
: Do not create a wallet on login.