Neynar simplifies the account creation process on Farcaster by pre-registering several new accounts and securely storing their credentials in a database. For detailed instructions on how to register or create an account on Farcaster, please refer to the Farcaster account creation guide. When a developer requests a new account—Step 1—Neynar provides the FID (Farcaster ID) of a pre-registered account to the developer. To transfer the pre-registered account to the end user, a specific process must be followed. This approach is chosen because Neynar does not store or manage the end user’s account mnemonic for security reasons. The developer is required to generate a signature using the FID of the pre-registered account and the custody address of the end user. This can be achieved by utilizing theDocumentation Index
Fetch the complete documentation index at: https://docs.neynar.com/llms.txt
Use this file to discover all available pages before exploring further.
signTransfer method described in the script—Step 2.
Upon making a POST - /v2/farcaster/user request, two significant actions are initiated:
-
Fname Transfer
- This step is executed only when the fname is included in the request body. Developers have the option to collect the fname from the user during account creation.
- If the developer decides not to collect the fname initially, the transfer can be conducted at a later stage. For more information, consult the guide on fname transfer
-
Account transfer
- This step outlines the procedure for transferring the account to the end user. Detailed guidance on account transfer can be found in the Farcaster account transfer documentation.