Skip to main content
The Bundler makes first time sign up easier by allowing a user to register an fid, add a key and rent storage in one transaction. If you want to create a new Farcaster account in a single transaction, use the Bundler.

Read

price

Get the price in wei to register an fid, including 1 storage unit. To add additional storage units to the calculation, use the extraStorage parameter.

Write

register

Register an fid, add one or more keys, and rent storage in a single step. For a detailed usage example, see the signup demo app. RegistrationParams struct The RegistrationParams struct includes registration parameters and an IdGateway Register signature from the fid recipient. SignerParams struct The SignerParams struct includes signer key parameters and a KeyGateway Add signature from the fid recipient. Callers may provide multiple SignerParams structs to add multiple keys at registration time.

Errors

Source

Bundler.sol