Linking an Email to a Wallet Using Two-Proof Verification on Lit Protocol
The article describes a method for verifying a user's email address and linking it to their crypto wallet by requiring two proofs: control of the mailbox and agreement from the wallet. A Lit Action signs a verification link and emails it to the user, who then confirms by signing with the same wallet. The action checks both proofs before issuing a short-lived authorization that is submitted to a registry contract, which stores only an opaque identifier for the email. The design keeps the backend from seeing the verification link before the user does, so it cannot verify emails it doesn't control. The approach relies on fixed signed messages, short deadlines, and an identifier computed through a Lit wallet tied to the developer's account.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.



Discussion (0)
Log in to join the discussion and vote.
Log in