Ghost Labs
Can I pay Solana gas fees in USDC?
Not directly: the Solana network only accepts SOL for fees. But you can pay in USDC indirectly, by letting another account act as the fee payer and paying that account back in USDC.
Short answer: Solana validators only take SOL. "Paying gas in USDC" means a relayer or wallet pays the SOL for you and charges you in USDC. With Ghost Gas you prepay USDC once, receive a gas note, and each sponsored send debits a network-cost + 1–2% platform fee while Ghost's relayer pays the SOL.
What the network actually requires
Every Solana transaction has one fee payer. According to the Solana fee docs, the fee payer is the first signer, it pays a base fee of 5,000 lamports per signature plus any priority fee, and it must hold enough SOL before the transaction will process. There is no protocol-level setting that lets the fee payer use USDC.
What Solana does allow is for the fee payer to be someone other than the person moving tokens. That is the opening every USDC-gas product uses. See What is a gasless transaction on Solana? for the full pattern.
Three ways the USDC gets collected
There are a few ways a fee payer can be paid back in USDC:
- Prepaid credit. You deposit USDC ahead of time. The fee payer keeps a balance and deducts a fee for each transaction. This is how Ghost Gas works today.
- In-transaction payment. The same transaction contains your transfer and a small USDC payment to the fee payer. Because Solana transactions are atomic, both land or neither does. The Solana cookbook describes this pattern, and Kora is built around it.
- Wallet-level deduction. The wallet app sponsors the fee and takes it from the token you send. Phantom does this for eligible sends of verified tokens of at least $0.30.
How Ghost Gas handles USDC gas
Ghost Labs is the team behind Ghost, an open-source privacy suite for USDC on Solana: Ghost Gas lets a wallet with 0 SOL send using prepaid USDC credit, and Ghost Shield unlinks withdrawals from deposits with zero-knowledge proofs.
- Network
- SOL only
- You pay
- USDC note
- Ghost pays
- SOL fee
With Ghost Gas:
- Top up once. A funding wallet sends USDC to the Ghost treasury with a memo binding it to a new note commitment. The relayer verifies the transfer (successful, at most 15 minutes old, exact amount, memo matches, never claimed before) and issues a gas note.
- Spend from any wallet. A second wallet, even with zero SOL, presents the note when sending. The relayer builds a transaction with itself as fee payer, checks the instruction allowlist, debits the note for that send's network cost plus a 1–2% platform fee, co-signs, and broadcasts.
- Refund on failure. If the broadcast fails, the debit is refunded.
The fee is taken from the note, not from the transfer. Send 10 USDC and the recipient gets 10 USDC. The step-by-step flow is in How it works.
Why prepaid instead of per-transaction?
Prepaid credit separates the wallet that pays from the wallet that spends. X1 can be your main wallet. X2 can be a fresh wallet that has never received SOL from anyone. No public SOL top-up links the two on-chain. That is the main reason Ghost Gas exists. We explain the leak in How funding a wallet with SOL links your wallets on-chain.
One honest caveat: Ghost's relayer sees both the deposit that funded a note and the sends that spend it, so the link is hidden from the chain, not from the operator.
What it costs with Ghost
| Item | Default in the code |
|---|---|
| Per sponsored send | 0.01 USDC from the gas note |
| Top-up protocol fee | 1% of credited value |
| Non-USDC top-up haircut | 2% below the Jupiter quote |
Credit after top-up is slightly below the deposit because of the 1–2% platform fee. Each send then debits network cost plus that platform fee. More in Ghost Labs fees explained.
A pay-as-you-go option is proposed
We have written a spec for a second mode where the USDC fee is taken inside the same transaction as your transfer, with no note or top-up. It is a proposal, not a live feature. Details are in Pay-as-you-go gas: charging fees in USDC inside the same transaction.
Limits to keep in mind
- Gas credit balances are held in the relayer's off-chain ledger today, as described in the trust model.
- Gas notes are bearer secrets. Lose the note and the credit is gone.
- Ghost is an early mainnet pilot without a formal third-party audit yet. Read the risk disclosure.
FAQ
Does Solana accept USDC as a transaction fee? No. The network itself only accepts SOL. Paying in USDC means another account pays the SOL and you compensate it in USDC.
How does Ghost let me pay gas in USDC? You prepay USDC once and get a gas note. Each sponsored send debits a network-cost + 1–2% platform fee from the note while Ghost's relayer pays the SOL.
Is the USDC fee taken from the amount I send? Not with Ghost Gas today. The fee comes out of the gas note, so the recipient gets the full amount. A pay-as-you-go mode that takes the fee in the same transaction is proposed, not live.
What are the alternatives? Some wallets, such as Phantom, can deduct the fee from the token you send on eligible transfers. Developers can run a fee relayer like Kora that accepts USDC as payment.
Does paying in USDC cost more than paying in SOL? Usually a little. The fee payer adds a margin or a flat fee. With Ghost Gas the flat fee is network cost + 1–2% platform fee per send by default, plus a 1% fee on top-ups.
Get started
Buy credit at /app/credits and send at /app/send. Read the docs, compare options in Best ways to pay gas in USDC on Solana in 2026, or review the code on GitHub.