When to use
ChooseemailSigner when you want the lowest-friction onboarding: the user enters their email,
receives a code, and pays - no wallet install, no seed phrase, no OAuth account. The resulting key
backs a classic G... account.
Factory
emailSigner(opts) accepts an EmailSignerOptions object:
Two-step authentication
The email signer uses a two-step flow before the payment: Step 1 - Request the OTPauthenticate() resolves, the signer’s getPublicKey() and signAuthEntry() are ready
and the payment can proceed with the normal prepare -> sign -> send flow.
Server-side proxy
Mount the signer-proxy in your backend:issue and verify actions to the facilitator with the backend secret.
Example
Next
Social login
Use an OAuth provider (Google, Apple, Discord) instead of an email code.
Facilitator and BFF
How the signer-proxy and API key work together server-side.

