09 / 19Module 2 – DappAdvanced
Module 2 – Dapp
This Rell dapp is a token system that uses zero-knowledge proofs to keep transactions confidential. It supports three core operations: shield, which turns public tokens into private commitments; unshield, which turns private notes back into public tokens; and private transfer, which moves tokens between users without exposing amounts or identities.
To block double-spending, the dapp keeps track of unspent commitments and spent nullifiers, while transaction details remain fully private. It also stores encrypted notes on-chain so that wallets can synchronize their state.
Every operation is backed by a PLONK proof, which the dapp checks through Chromia's ZKPGTXModule. This verification guarantees cryptographic integrity and keeps sensitive transaction data off the public ledger.