Sending and Receiving Confidential Transfers

Confidential transfers work differently from regular Solana transactions. Both the sender and receiver need properly configured confidential token accounts.

Sending Confidential Tokens

  1. Ensure the Receiver Has a Configured Confidential Account: Before you can send confidential tokens, verify that the receiver has configured their confidential account (following Section 1).

  2. Transfer Confidential Tokens: With both accounts configured, you can initiate the confidential transfer:

    spl-token transfer <MINT_PUBKEY> <AMOUNT> <DESTINATION_PUBKEY> --confidential
    • This process may take slightly longer than regular transfers due to additional encryption steps.

Last updated