Skip to main content

Overview

zkAuth provides passwordless authentication using social login (Google, GitHub, X) with STARK proofs on Starknet for verification. No passwords, no seed phrases - just seamless Web3 authentication. Status: In Development

How It Works

  1. Social Login: User authenticates with Google, GitHub, or X via Web3Auth.
  2. Key Generation: Web3Auth generates a non-custodial key unique to the user and app.
  3. STARK Proof: A STARK proof is generated proving ownership of the key without revealing it.
  4. On-Chain Verification: The proof is verified on Starknet via a Cairo smart contract.

Why STARK?

  1. Quantum Resistant: STARK proofs are secure against quantum computers.
  2. No Trusted Setup: Unlike Groth16, STARKs require no trusted ceremony.
  3. Transparent: Fully transparent verification with no hidden assumptions.
  4. Scalable: Proof size grows logarithmically with computation.

Planned Terminal Commands

These commands are planned for the zkAuth release:

Technical Architecture

Web3Auth Integration

zkAuth will use Web3Auth for non-custodial key management:

STARK Proof Generation

STARK proofs will be generated using Cairo:

Security Model

  1. Threshold Cryptography: Web3Auth splits the key between user’s device, Web3Auth network, and optional recovery share.
  2. Proof Expiry: STARK proofs have configurable expiry (default: 7 days).
  3. Session Binding: Each proof is bound to specific session ID, user’s public key, timestamp, and application domain.

Comparison with Traditional Auth

Supported Providers

Planned providers for zkAuth:
  1. Google: Gmail and Google Workspace accounts
  2. GitHub: Personal and organization accounts
  3. X (Twitter): X/Twitter accounts

Roadmap

  1. Apple Sign-In: iOS-native authentication
  2. Discord: Gaming and community integration
  3. Email OTP: Passwordless email verification
  4. Biometric: Face ID and fingerprint support