Pregenerating wallets for new users
To pregenerate embedded wallets for a given user, use the
importUser
method from PrivyClient
.Usage
Params
An array of linked accounts to associate with the user.
(Optional) Custom metadata to associate with the user.
(Optional) An array of wallets to create for the user.
Returns
The user with the newly created wallets.
Creating wallets for existing users
To create embedded wallets for an existing user, use the
createWallets
method from PrivyClient
.Usage
Params
The Privy user ID to create wallets for.
(Optional) An array of wallets to create for the user.
Returns
The user with the newly created wallets.