In the world of CBDCs and digital assets, that’s simply unacceptable — which is why Harpo was designed with a fundamental security principle: the sum of inputs must equal the sum of outputs.
📦 When an asset moves from the public to the private environment, we use a method known as mass-conserving swap. This ensures that nothing is created or lost — only securely and privately transferred.
🔐 How does it work in practice?
Imagine you hold an asset in a public ERC-20 contract. When performing the swap:
🔥 The public asset is burned.
🧾 A ZKP (Zero-Knowledge Proof) is generated, attesting that:
The sender’s address has sufficient balance
The value is positive (> 0)
And the sender is indeed the rightful owner
🧱 A new UTXO is minted in the private environment, with full integrity guarantees — but without revealing identity, value, or destination.
🔄 The reverse process happens during withdrawal:
A nullifier (spend identifier) is published
The asset is minted again in the public environment
🧭 The key point:
Even though deposits and withdrawals are visible, everything that happens inside the private environment is completely opaque — ensuring total privacy without losing auditability.
💥 This architecture makes Harpo fully compatible with existing contracts and EVM networks, without requiring drastic changes to public infrastructure.
To see more 👉click here👈
Top comments (0)