- Airdrops and rewards: Distribute tokens or NFTs to users before they sign up
- Web2 to web3 migrations: Import existing users from a database and provision wallets for them
- Frictionless onboarding: Allow users to receive assets before creating an account
- Server-side provisioning: Generate wallets programmatically based on off-chain events or criteria
Pregenerating wallets for new users
Create new users with pregenerated wallets in a single operation. This is useful for airdrops, migrations, or any scenario where wallets need to exist before authentication.To pregenerate embedded wallets for a new user, use the
create method on the users() interface of the Privy client.Usage
Params and returns
Check out the API reference for more details.Creating wallets for existing users
Add additional embedded wallets to users who already have Privy accounts. This is useful when expanding to support new chains or creating wallets based on in-app actions.To create embedded wallets for an existing user, use the Check out the API reference for more details.
pregenerateWallets method from the users() interface of the Privy client.
