Step 1: Setting up Privy
Last updated
Last updated
To integrate Privy into your codebase, follow and these considerations:
User EOA Creation: It’s recommended to create the user’s externally owned address (EOA) upon their first login.
Confirmation Prompt: Decide if the user needs to explicitly confirm actions or if they should be automatically processed in the UI.
Authentication Methods: Choose appropriate authentication methods (e.g., social login, browser wallet).
Note: If the user authenticates with a browser wallet, this is the only point where the wallet will be used. All other EOAs for the Smart Contract Account (SCA) are created independently of the wallet.
Once Privy is set up, ensure you have the following:
Privy App ID
PrivyProvider configured on your client
User login workflow organized and tested on the client side