Ghost Labs
How do I withdraw USDC privately without linking my wallets?
Deposit USDC into a shielded pool from your main wallet, then withdraw to a brand-new wallet with a zero-knowledge proof, and make sure the new wallet never receives SOL from you. The pool breaks the payment link, and a relayer that pays the fees removes the need for a SOL top-up that would link the wallets again.
Short answer: There are two links to break. Ghost Shield breaks the payment link: deposit 1 USDC, keep the note, and later withdraw to a fresh address with a proof that does not reveal which deposit is yours. Ghost Gas breaks the funding link: the fresh wallet can send with zero SOL because Ghost's relayer pays the fee.
The two links
- The payment link. A direct transfer from wallet A to wallet B is public. Anyone can see that A paid B.
- The funding link. Even if B got its USDC privately, B needs SOL to move it. If A sends B some SOL, that transfer links them anyway. We explain this in How funding a wallet with SOL links your wallets on-chain.
Most guides stop after the first. The second is the one people notice last.
Step by step with Ghost
Ghost Labs is the team behind Ghost, an open-source privacy suite for USDC on Solana with two products: Ghost Shield, a zero-knowledge pool that unlinks withdrawals from deposits, and Ghost Gas, prepaid USDC gas for wallets with zero SOL.
- Link 1
- Deposit trace
- Link 2
- SOL top-up
- Tool
- Shield + Gas
1. Create a fresh recipient wallet
Make a new wallet that has never interacted with your main wallet. Do not fund it with anything.
2. Deposit into Ghost Shield
From your main wallet, open /app and deposit into Shield. Each deposit is exactly 1 USDC. Your browser generates a secret and a nullifier, computes a Poseidon commitment, and gives you a Ghost Note (ghost:v1:...). Save the note offline. It is a bearer secret: whoever has it can withdraw, and Ghost cannot recover it.
3. Wait
Your withdrawal hides among the deposits made before it, up to 1,024 per pool. Withdrawing immediately after depositing makes timing correlation easy. Waiting lets more deposits join.
4. Withdraw to the fresh wallet
Paste the note and enter the fresh wallet's address. Your browser builds a Groth16 proof that your note is in the pool. The recipient is bound into the proof, so it cannot be redirected. Ghost's relayer checks the proof and submits the withdrawal, paying the fee and creating the recipient's USDC account if needed. The fresh wallet receives 0.99 USDC; 0.01 USDC goes to the treasury as the on-chain 1% fee.
5. Spend without a SOL top-up
The fresh wallet now has USDC and zero SOL. To send from it, use a Ghost Gas note. The note must be funded by some wallet, so think about which one. Funding it from your main wallet means Ghost's relayer can connect that deposit to the fresh wallet's sends, even though the chain cannot. Then send at /app/send; the relayer pays the SOL and debits the note for that send's network cost plus a 1–2% platform fee.
A proposed pay-as-you-go mode would let a fresh Shield recipient pay gas from its own USDC with no separate note. It is not live yet. See Pay-as-you-go gas.
Mistakes that undo the privacy
- Withdrawing to an address that is linked to you, such as one that has received funds from your main wallet before.
- Sending SOL to the fresh wallet from any wallet tied to you.
- Unusual timing or amounts, like making seven 1 USDC deposits and then seven withdrawals to the same new wallet a minute later.
- Sending the withdrawn funds straight back to your main wallet or a known exchange account.
- Leaking the note in a screenshot, chat, or cloud document.
Our risk disclosure lists these and more: timing analysis, RPC providers, and wallet software can all reduce privacy.
What Ghost can and cannot see
- Shield: the relayer receives the proof, the Merkle root, the nullifier hash, and the recipient. It does not learn which deposit is yours. However, verification happens in the relayer today and only the designated relayer can call withdraw, so you are trusting it to operate honestly. See What is a relayer and why private withdrawals need one.
- Gas: the relayer can link the deposit that funded a note to the sends that use it. The chain cannot.
FAQ
What are the two links I need to break? The payment link, which ties a withdrawal to the deposit that funded it, and the funding link, created when you send SOL to the new wallet so it can pay fees.
Does the fresh wallet need SOL to receive a Ghost Shield withdrawal? No. Ghost's relayer submits the withdrawal and pays the fee, and creates the recipient's USDC account if needed.
How do I spend from the fresh wallet without SOL? Use Ghost Gas. A gas note lets a wallet with zero SOL make sponsored sends while Ghost's relayer pays the fee.
What mistakes ruin privacy? Withdrawing to an address linked to you, withdrawing right after depositing, funding the new wallet with SOL from your main wallet, and sharing or leaking your note.
Can Ghost see which wallets I used? For Shield, the relayer sees only the proof and the recipient, not which deposit is yours. For Gas, the relayer can link the deposit that funded a note to the wallet that spends it.
Try it with 1 USDC
Start small. Do one deposit and one withdrawal at /app, read the Shield docs and trust model, and check the code on GitHub. Background reading: How shielded pools work on Solana.