Skip to main content

Introduction to the course

Welcome to the Zero-Knowledge Proof (ZKP) course on Chromia. This course will guide you through a production-ready demonstration of private token transfers using zero-knowledge proofs on the Chromia blockchain. This demo showcases confidential transactions where transfer amounts remain hidden from the public ledger while maintaining full transactional integrity.

Course overview​

This course is based on a demo application that implements a complete private token lifecycle with four core operations:

  1. Balance creation (faucet): Initialize public token balances for demonstration purposes.
  2. Shield operation: Convert public tokens to private notes using ZKP.
  3. Private transfer: Transfer private tokens between users with full privacy and smart consolidation.
  4. Unshield operation: Convert private notes back to public tokens using ZKP.

By the end of this course, you will understand how these components work together to create a secure and private token system on Chromia.

Key features​

The system you'll be exploring has a number of powerful features:

  • Complete privacy: Transfer amounts and balances are hidden using ZKP.
  • Bank-grade security: Hierarchical key derivation with password-based encryption.
  • Smart consolidation: Automatic note consolidation for seamless transfers.
  • Cross-user encryption: Asymmetric encryption for secure note sharing.
  • Production ready: Session management, auto-lock, and enterprise security.
  • MetaMask integration: Seamless wallet connection and account management.
  • Modern UI: Intuitive interface with real-time balance updates.

Let's get started on our journey into zero-knowledge proofs on Chromia!