Skip to content
QSwapDocs

Security

What the app, the API and Jupiter can and can't do with your funds and your data.

Who holds what

How one swap travels
Your browserQSwap app + your wallet
Quote and order
Signed transaction
QSwap APIA small proxy: holds the keys, adds the referral fee, caches
Quote and order
Read-only calls
JupiterFinds the route, builds the transaction, lands it
Solana RPCBalances and status, read through the API's /rpc

Your wallet signs. It never sends: Jupiter lands the transaction.

Quantum Swap is a preview. It will take a separate path: proofs made in your browser, sent by a relayer.

PartyHoldsCan't
Your walletYour keysBe bypassed: every swap needs its signature
QSwap appYour public address, the quoteSign or send anything without your wallet
QSwap APIThe Jupiter API key and the RPC URLSign for you; it only ever sees an already-signed transaction
JupiterThe route and the unsigned transactionLand a transaction you didn't sign

The RPC proxy

The browser never sees the RPC provider's key. It calls the API's /rpc, which forwards an allowlist of read and simulate methods and refuses everything else.

The /rpc allowlistPick a JSON-RPC method. The API forwards reads and simulations to the RPC; everything else gets -32601.
Method
ResultAllowedRead-onlyForwarded with the server's RPC key
{ "jsonrpc": "2.0", "id": 1, "result": … }
Source: docs/API-CONTRACT.md → POST /rpc

Quantum Swap

Where Quantum Swap secrets live
Page (main thread)Public results only: balances, progress
Never crosses this line
SDK workerKeys, notes, nullifiers. Encrypted at rest.
Quantum backend (not built yet)Would see proofs. Never your wallet or cookies.
WalletUsed twice only: derive the key, send the shield deposit.
Source: src/features/quantum/sdk/
RuleHow
No identifiers on Quantum Swap requestsRequests send no cookies, no API key and no wallet address.
No private reads through the wallet RPCThe SDK reads only from the QSwap API.
Secrets clear on lock, account switch and closeThe SDK is locked on each of them.
No analyticsNone anywhere at launch.

Before you sign

What QSwap asks your wallet for
  • ConnectYour public address. Nothing else.
  • Sign a transactionOnce per swap. Your wallet shows what the transaction does before you approve.
  • NeverYour seed phrase, a message to sign, or permission to send on your behalf.

Your wallet shows what the transaction does before you approve it: the tokens that leave your wallet and the ones that arrive. If it differs from the quote in QSwap, reject it.