Overview
zkID is a privacy-preserving universal identity system that generates adid:zk decentralized identifier with on-chain verification on both Solana and Starknet.
DID Format
How It Works
- Create Identity: Generate a new zkID with a username and password. The system creates an Ed25519 keypair, unique DID, and password hash using bcrypt.
- Generate Proof: Client-side proof generation using Ed25519 signatures. The proof demonstrates ownership of the identity without revealing the private key.
- On-Chain Verification: The proof is verified on-chain via Solana Mainnet transaction or Starknet Cairo contract (ZkIDProofRegistry).
Terminal Commands
Register New zkID
did:zk identity with an Ed25519 keypair.
Login
Generate Proof
Verify On-Chain
Check Status
View Proof History
Logout
Help
API Reference
Register zkID
Login
Check Session
Logout
On-Chain Architecture
Solana Verification
zkID proofs are stored on Solana Mainnet using a Program Derived Address (PDA) structure. Only the signature hash goes on-chain for privacy.Starknet Verification
TheZkIDProofRegistry Cairo contract stores zkID proofs on Starknet:
Security Features
- Ed25519 Cryptography: Elliptic curve cryptography for secure key generation and signatures.
- bcrypt Password Hashing: 10 rounds of bcrypt for password protection.
- Client-Side Proof Generation: Private key never leaves your device.
- Dual-Chain Verification: Redundancy through verification on both Solana and Starknet.
- Replay Protection: Nonce and timestamp prevent proof reuse.
- Session-Based Auth: HTTP-only cookies for secure session management.