⭕
zkvoid Docs
  • ☀️Overview
  • 📗Getting Started
    • ⚙️Setup Token Account
    • ⬇️Deposit Tokens
    • 👨‍🔬Apply Pending Balance
    • 🛫Send Confidential Transfers
    • ⬆️Withdraw Tokens
    • 🤔Understanding Balances
  • 🔎Void vs. CLI
  • ⭕cSOL
  • 📶API
    • ✍️Documentation
    • 👨‍🍳Cookbook
    • 👨‍🔧Deep Dive
Powered by GitBook
On this page
  1. Getting Started

Send Confidential Transfers

What it does: Sends tokens to another address with encrypted amounts that are hidden from public view.

Requirements for receiver:

  • Must have a token account configured for confidential transfers (Step 1)

  • Must provide their wallet address (public key)

  • No other setup required - they can receive confidential transfers once their account is configured

Transaction details:

  • Encrypts the transfer amount using the recipient's public key

  • Generates ZK proofs that verify you have sufficient balance without revealing your actual balance

  • Creates range proofs that verify the transfer amount is valid

  • Updates both sender and recipient confidential balances

Why multiple transactions: Confidential transfers require complex cryptographic operations:

  1. Transfer transaction: Executes the encrypted transfer with ZK proofs

  2. Additional proof transactions: May include supplementary range proofs or balance validations

What you're signing:

  1. A message signature for key derivation

  2. Multiple transactions containing:

    • Encrypted transfer amounts

    • Zero-knowledge proofs of balance sufficiency

    • Range proofs validating transfer amounts

    • Balance update instructions

PreviousApply Pending BalanceNextWithdraw Tokens

Last updated 8 days ago

📗
🛫