Ghost Labs
How do I make a private USDC transfer on Solana?
To make a private USDC transfer on Solana, you route the money through a shielded pool: deposit from one wallet, then withdraw to a different wallet with a zero-knowledge proof, so nothing on-chain says which deposit paid which withdrawal. A plain USDC transfer cannot do this, because every Solana transfer is public.
Short answer: Deposit into a privacy pool, keep the secret note, wait, and withdraw to a fresh address. With Ghost Shield you deposit exactly 1 USDC, the withdrawal is proven with a Groth16 proof built in your browser, the relayer pays the SOL fee, and the recipient gets 0.99 USDC after a 1% on-chain fee.
Why a normal transfer is not private
Solana accounts are public. A USDC payment shows the payer's address, the recipient, the amount, and the time. From the payer's address anyone can see the remaining balance and every past counterparty. For salaries, vendor invoices, or moving money between your own wallets, that is more than most people want to publish.
Creating a new wallet does not fix it. The new wallet needs SOL to do anything, and that SOL usually comes from your main wallet in a public transaction. We go into this in How funding a wallet with SOL links your wallets on-chain.
What a shielded pool does
A shielded pool collects deposits from many people into one vault. Each depositor keeps a secret. To withdraw, you prove with zero-knowledge cryptography that you own one of the deposits, without saying which one. An outside observer sees money go into the pool and money come out, but cannot match a withdrawal to a deposit. The plain-English version is in How shielded pools work on Solana.
How Ghost Shield works
Ghost Labs is the team behind Ghost, an open-source privacy suite for USDC on Solana with two products: Ghost Shield, a fixed-denomination zero-knowledge pool, and Ghost Gas, prepaid USDC gas for wallets with zero SOL.
- Denom
- 1 USDC
- Proof
- Groth16
- Leaves
- 1,024
The Shield flow:
- Create a note on your device. Your browser generates two random values, a secret and a nullifier, and computes a Poseidon commitment. You save the resulting Ghost Note (
ghost:v1:...). - Deposit exactly 1 USDC. The commitment is stored as a leaf in a depth-10 Merkle tree, which holds 1,024 deposits per pool. Every deposit is the same size, so the amount does not identify you.
- Wait. Other deposits make the set you hide in larger.
- Withdraw to a fresh address. Paste the note and choose a recipient. Your browser builds a Groth16 proof that the note is in the tree. The recipient address is bound into the proof, so it cannot be changed or front-run.
- The relayer submits it. Ghost's relayer checks the proof and submits the withdrawal as fee payer. The program records the nullifier so the note cannot be spent twice, sends 0.99 USDC to the recipient, and sends 0.01 USDC to the treasury.
Your secrets never leave the device. The relayer sees only the proof and public signals. Details are in the Shield docs.
Spending from the fresh wallet afterwards
A withdrawal lands in a wallet with USDC and no SOL. If you then fund it with SOL from your main wallet, you redraw the link the pool just erased. Ghost Gas exists for this step: it lets a zero-SOL wallet send using prepaid USDC credit. See How do I send USDC on Solana without SOL?.
How private is it?
Be realistic about the guarantees:
- The anonymity set is the deposits before yours. A withdrawal made after k deposits hides among those k, with at most 1,024 per pool. A new or quiet pool offers less cover.
- Timing and behaviour matter. Depositing and withdrawing a minute apart, or withdrawing to an address tied to you, makes correlation easy.
- Fixed denomination. Shield uses 1 USDC per deposit today. Larger amounts mean multiple deposits, which can form patterns.
- The relayer is trusted today. Groth16 verification happens in the relayer, not yet on-chain, and only the designated relayer can call withdraw. Our risk disclosure says plainly that a malicious or compromised relayer could steal pool funds.
- No formal audit yet. A multi-party trusted setup and an independent audit are on the roadmap.
We go deeper in Is Ghost Labs safe?.
Other options on Solana
Privacy Cash runs a live privacy pool on Solana that supports SOL and SPL tokens including USDC. Helius, after acquiring Light Protocol, has launched Solana Privacy Rings. We compare them neutrally in Ghost vs Privacy Cash vs Elusiv vs Light Protocol.
Use privacy responsibly
Privacy tools have legitimate uses, like keeping salaries and business payments confidential. Local laws vary, and you are responsible for your own compliance. See Is there Tornado Cash on Solana? for context.
FAQ
Are USDC transfers on Solana private by default? No. Every transfer shows the sender, recipient, amount, and time on public explorers, and anyone can trace a wallet's history.
How does Ghost Shield make a transfer private? You deposit exactly 1 USDC into a pool and keep a secret note. Later, a fresh address withdraws with a zero-knowledge proof that does not reveal which deposit it came from.
Does the recipient need SOL to receive a Shield withdrawal? No. Ghost's relayer submits the withdrawal and pays the network fee, so the recipient wallet can hold zero SOL.
How private is it really? A withdrawal hides among the deposits made before it, up to 1,024 per pool. Timing, reusing addresses, and a small pool all reduce privacy. It is not absolute.
What does a private withdrawal cost? Ghost Shield takes a 1% fee enforced on-chain: from a 1 USDC deposit, the recipient gets 0.99 USDC and 0.01 USDC goes to the treasury.
Try Shield
Open the app at /app, start with a single 1 USDC deposit, and save your note somewhere safe. Read the Shield docs and the litepaper, or audit the circuit and program yourself on GitHub.