Ghost Labs: Private USDC on Solana Without SOL, and Our First Week on Mainnet

Ghost Labs (Source: Ghost Labs)
Disclosure: I founded Ghost Labs, the project this article describes. The implementation is open source under the MIT license. What follows is a technical walkthrough of a problem we kept hitting on Solana, and how the current mainnet pilot is built. It is not financial advice.
On Solana, a private USDC payment has two leaks, not one. The first is obvious: a normal transfer publishes the payer, the balance, and the counterparties. The second shows up a step later. A fresh wallet cannot move a stablecoin until someone funds it with SOL, and that funding transaction draws a public line back to the funder. Ghost tries to close both in one flow. Shield is a fixed-denomination zero-knowledge pool that unlinks a withdrawal from a deposit. Gas turns prepaid USDC into relayer-paid network fees, so a wallet with zero SOL can send without a public SOL handoff.

What an explorer sees, with and without Ghost (Source: Ghost Labs)
The second leak is the one people notice last
Solana accounts are public. Anyone with an explorer can reconstruct a wallet's history, its remaining balance, and who it paid. That is inconvenient for a salary, a vendor invoice, or a treasury transfer, where the commercial details are not meant to be public.
Creating a new address does not fix this by itself. Solana charges a fee in SOL, and the fee payer has to sign and hold enough SOL before a transaction will land. A brand-new wallet, holding only USDC, is stuck. The usual fix is to send it a little SOL from a main wallet. That top-up is public. It names the funder, the new wallet, and the time.
So the useful question is not only "can we hide one transfer?" It is "how does the next wallet spend, without being funded in public?"
The tools people already reach for
This is not an empty market, and Ghost is not a replacement for all of it. The existing tools answer different questions.
Privacy Cash runs a live privacy pool on Solana. A withdrawal can be unlinkable from a deposit. That answers the payment-link question. It does not, by itself, stop the receiving wallet from needing SOL before it can do anything next. If you fund that wallet in the open, you redraw the line the pool just erased.
Kora, from the Solana Foundation, is an open-source fee relayer. It can pay the SOL fee on someone else's transaction, which is the right primitive for gasless sends. A relayer alone does not break the link between a USDC deposit and a later withdrawal.
The earlier private-payments product on the chain, Elusiv, shut down in 2024 and later moved into withdrawal-only mode. Light Protocol moved on to ZK Compression, which is about storing less on-chain, not about private USDC payments.
Each of those is useful. The gap we kept running into was narrower: can you move USDC without publishing the payer, and can the receiving wallet then spend without a SOL top-up that links it straight back?
Shield: the deposit does not name the withdrawal
Ghost Shield is a fixed-denomination privacy pool for USDC. You deposit exactly 1 USDC and keep a Ghost Note. Later, a fresh address withdraws with a Groth16 proof. The proof shows you know the opening of some commitment in the pool, without revealing which one. The Ghost relayer pays the network fee, so the recipient can have zero SOL.
The note is written on your device before the money moves. The browser samples two random values, a secret and a nullifier, and computes a Poseidon commitment and a nullifier hash. The commitment becomes a leaf in a depth-10 Merkle tree, which holds 1,024 deposits per pool. The denomination is fixed at 1 USDC so the amount itself is not a fingerprint.
The Ghost Note is a bearer secret: whoever holds it can withdraw. The SDK builds the note, the Merkle path, and the proof in the browser. Secrets never leave the client. The relayer sees only proofs and public signals.
A withdrawal always walks the same path. You paste the note and choose a recipient. The browser fetches the Merkle path and builds a Groth16 proof that you know the opening of some leaf under a known root, without revealing which leaf. The recipient is bound into the proof, so changing it invalidates it. The nullifier hash is recorded on-chain as a PDA, so the same note cannot be spent twice.
The relayer checks the proof, the root, and the recipient, then submits the withdrawal as fee payer. In the same transaction, the program pays 0.99 USDC to the recipient and 0.01 USDC to the treasury — a 1% fee enforced on-chain. Fail the proof, reuse a nullifier, or point the funds at a different address, and nothing is paid.

Shield deposit flow (Source: Ghost Labs)

Shield withdrawal flow (Source: Ghost Labs)
Gas: prepaid USDC, no SOL handoff
Shield hides which deposit a withdrawal came from. Gas is the product you use when a wallet simply needs to send, and must not be funded with SOL first.
Wallet X1 sends USDC, or another allowlisted token, to Ghost and gets a gas note back. Non-USDC top-ups are priced with a Jupiter quote and take a 200 bps haircut. A 1% protocol fee comes out of the credit. A claim counts only if the transfer is real, at most 15 minutes old, memo-bound to the note, exact in amount, and never claimed before.
Later, wallet X2 pastes the note, picks a token and a recipient, and signs. Ghost builds a transaction with itself as fee payer, checks that the instruction set is allowlisted, debits 0.01 USDC from the note, co-signs, and broadcasts. If broadcast fails, the debit is refunded. Tokens do not pass through Ghost. They move from X2 to the recipient. X1 never sends SOL to X2.
A 5 USDC top-up, after the 1% fee, leaves 4.95 USDC of credit, which covers 495 sponsored transfers.
Ghost Gas is not a mixer. The SPL transfer itself is still visible on an explorer. What it removes is the SOL handoff that would have named who bankrolled the wallet.

Gas credit and sponsored transfer flow (Source: Ghost Labs)

Ghost architecture (Source: Ghost Labs)
What the protocol actually enforces
Three properties matter more than the product names.
First, secrets stay on the device. Ghost Notes and gas-note secrets are generated in the browser. The relayer is not a custodian of those secrets, and it cannot recover a note you lose. Store it like a password.
Second, the recipient is part of the proof. A Shield withdrawal cannot be redirected or front-run, because a different recipient is a different statement. Double-spends fail on-chain: a second withdrawal of the same note cannot create the same nullifier account twice.
Third, the fee payer is Ghost, not the funder. X1 prepays Ghost in USDC. X2 never receives SOL from X1. Sponsored transactions are allowlisted and rate-limited.
The pilot settles Gas credit in Circle USDC on Solana mainnet, mint EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v. There is no mock mint on this build. It is an early mainnet pilot, with small limits per transaction. The code is on GitHub under MIT, and the litepaper maps each formula back to a file in the repo.
Where Ghost came from, and the first week on mainnet
Ghost did not start as a Solana product. It started on 27 February 2026 at BNB Hack Bengaluru, where around 250 developers were locked in one room competing for $160,000 in prizes. Our privacy suite took 2nd place and $3,000. That was the first proof that the problem was worth working on.

The team at BNB Hack Bengaluru, 2nd place (Source: Ghost Labs)
Two people from that floor stayed with us. Lucas Liao, Solutions Architect at BNB Chain (@0xlucasliao), and Vlad, Business Developer at BNB Chain (@draffilog), have joined Ghost Labs as advisors.

Lucas Liao, Solutions Architect, BNB Chain, advisor (Source: Ghost Labs)

Vlad, Business Developer, BNB Chain, advisor (Source: Ghost Labs)
We then rebuilt the product for Solana and opened the socials in late November. The first week moved faster than we expected:
- More than 1,000 community members in under 24 hours, and 2,000 followers across platforms in under 48 hours.
- Solana Hub's weekly recap listed Ghost Labs under Privacy and Confidential Finance: "Ghostlabs unveils shielded deposits and gasless settlement."
- A $10,000 Ambassador Program and a $1,000 creator and meme contest went live for the community.
- Applications are in with Y Combinator, Alliance and YZI Labs.

2,000 followers across platforms (Source: Ghost Labs)

Ghost Labs in the Solana Hub weekly recap (Source: Ghost Labs)

The $10,000 Ambassador Program (Source: Ghost Labs)

The $1,000 community contest (Source: Ghost Labs)
Traffic
Cloudflare recorded about 155,000 pageviews and 154,600 visits on ghostlabshq.xyz over the last 30 days, almost all of it since launch week (from about 24 November). That is roughly 153,000 pageviews in the last 7 days and about 29,600 in the last 24 hours. Our own Grafana dashboard, which counts server-side HTML hits and browser beacons separately, shows about 141,000 page views, with the send and credits pages of the app among the most visited paths after the homepage.

Cloudflare, last 30 days (Source: Ghost Labs)

Cloudflare, last 7 days (Source: Ghost Labs)

Cloudflare, last 24 hours (Source: Ghost Labs)

Ghost page views by path, Grafana (Source: Ghost Labs)
What does not work yet
A privacy product that hides its gaps is not worth trusting, so here they are, plainly.
Groth16 verification is done by the relayer today, not yet on-chain. On-chain verification with Solana's alt_bn128 syscalls is on the roadmap. Until then, users are trusting the relayer to check the proof before it submits the withdrawal. Nullifiers, the fee split, the denomination, and the relayer-only withdraw path are already enforced by the program.
The proving keys come from a Powers of Tau ceremony and a circuit-specific phase-2 contribution. A multi-party trusted-setup ceremony, then an independent security audit, are still ahead.
Shield is one denomination, 1 USDC, and 1,024 deposits per pool. More denominations and larger trees are planned, not part of this pilot. Withdrawals can be submitted only by the designated relayer. Gas credits live in the relayer's ledger, not in a consensus protocol. Those are the guarantees of an auditable service, and they should be described that way.
We started this work as a privacy suite on BNB Chain, won our first prize with it, and rebuilt it for Solana, because the two leaks show up together there: every transfer exposes a sender's history, and every new wallet needs SOL before it can move a stablecoin. Hiding a deposit is not enough if the receiving wallet still has to be funded in public.
Try it at ghostlabshq.xyz, read the docs, or join us on Telegram, Discord and X.
If you move USDC on Solana and care who can reconstruct the graph, the useful test is a concrete one. Deposit, withdraw to a fresh address, then spend from that address without a public SOL top-up. If a note, a withdrawal, or a sponsored transfer behaves in a way it shouldn't, that is the bug report that matters.
Shield breaks the payment link. Gas removes the SOL handoff.
Disclosure: I am the founder of Ghost Labs. I have a vested interest in the project described above.