Step 1: Setting up Privy

To integrate Privy into your codebase, follow Privy’s Quickstart documentation. Keep in mind the following considerations:

  1. User EOA Creation: It’s recommended to create the user’s externally owned address (EOA) upon their first login.

  2. Confirmation Prompt: Decide if the user needs to explicitly confirm actions or if they should be automatically processed in the UI.

  3. 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

Last updated