Architecture
- Connect an Ethereum wallet and choose an ENS name. The L1 contract uses the ENS Universal Resolver to check ownership.
- Commit to a secret. The L1 contract sends a commitment derived from the secret and name through Ethereum-to-Aztec messaging. The secret itself stays with the user.
- Wait for the message on Aztec. The L2 contract consumes it with
consume_l1_to_l2_message. - Connect an Aztec wallet and claim. The user supplies the secret to create a private ownership record.
- Verify in an app. Aztec applications can use the ownership record for name-based checks without relying on the public Ethereum wallet for each action.
Components
The Ethereum ownership check and its transaction are public. This page describes the intended flow; contract interfaces and deployment details should be documented after implementation is verified. See the repository for source code.