witness/docs

solana mainnet prove it

How it works

Evidence, not screenshots.

Witness turns a wallet's public trade history into a signed card. Here is exactly what it does.

  1. Read the chain

    You paste a wallet address. We list its transactions for the last 7 or 30 days and read each one from a Solana node. Nothing is uploaded by you, and nothing is taken from a third-party PnL tracker.

  2. Count each trade

    For every transaction we add up the SOL that moved in and out of the wallet and its token accounts, and how many tokens it gained or lost. A token gained for SOL is a buy. A token sold for SOL is a sell. Profit uses average cost per coin.

  3. Prove the owner

    To get the Verified Owner stamp, you send a unique, exact amount (between 0.0001 and 0.001 SOL) from the wallet to our deposit address within 30 minutes. A signed message works too, if you prefer a wallet pop-up, and it leaves no public record. The card says which one you used.

  4. Sign the card

    We round the numbers, drop the address, and sign the card with our ed25519 key. The card page shows whether the signature is valid.

How we count

  • Realized PnL is proceeds from sells minus the average cost of the tokens sold, in SOL.
  • Costs include network fees, priority fees, tips and bot fees paid by the wallet.
  • Only what a swap pays counts. SOL or tokens that reach the wallet any other way are not trade proceeds. SOL from a second signer or the wallet's own nonce or stake account is taken out. Tokens moved in are kept apart as received. SOL paid by a program that is not a known swap, like a multisig vault, makes the trade mixed, and mixed trades are skipped.
  • Rent is not a cost. SOL locked in the wallet's own token accounts comes back when they close.
  • Win rate is coins sold for a profit divided by coins with any sell.
  • Best trade is the coin with the highest realized SOL. Its multiple is proceeds over cost.
  • Open bags are estimates at current prices. They never count toward realized PnL.
  • Failed transactions are skipped, and their fees are not counted.
  • Transfers: tokens sent out count as sold for nothing. Tokens received, even in the same transaction as a trade, have no known cost, so they never count as profit, and selling them skips the coin.
  • Skipped coins: received tokens sold, traded against another token, mixed with outside SOL, or bought before the window. A leftover balance of 1% or less from before the window is treated as dust and ignored.

FAQ

Why no wallet connect?

Connecting a wallet to a site you do not know is how drainers work. Witness never needs it. Your trades are already public on Solana, so we read them from the chain. To prove the wallet is yours, you send a tiny amount from your own wallet app. If you prefer, you can sign one message instead: that opens your wallet's connect prompt, signs text only and moves no funds.

What does sending prove?

Only someone with the wallet's key can send from it. When the exact amount we asked for arrives, signed by the wallet you scanned, within 30 minutes, the card gets the Verified Owner stamp. The amount is unique to your check, so nobody else's send can count for you. It costs under 0.001 SOL plus the network fee. The send is public: anyone can see that this wallet sent to Witness on that day. Signing a message instead leaves no public record.

What do you store?

No wallet addresses. A scan lives in memory and is gone 30 minutes after it finishes, or after your last check or card (two hours at most). Cards store rounded numbers and dates only. For the board and for "remember this browser" we keep a keyed hash of the wallet, which cannot be turned back into the address.

Can a card be faked?

The numbers come from the chain, not from you, and every card is signed with our key. Anyone can check the signature from the card's signed record. Verified Owner means the owner sent from the wallet or signed a message with it, and the card says which. Unverified only means someone pasted the address. SOL or tokens moved in from outside a swap never count as profit. What no tool can stop: someone with two wallets showing the better one, or trading against their own pool. Coins sent out by transfer count as sold for nothing, so moving a bag away cannot hide it.

What counts as a trade?

Buying a token with SOL or selling it for SOL, on pump.fun, PumpSwap, Raydium, Meteora, Orca, Jupiter or a trading bot. Network fees, priority fees and tips count as costs. Rent for token accounts does not, because it comes back when the account closes. Writing a coin off (destroying the tokens) or sending it to another wallet counts as selling it for nothing, so dead coins cannot be hidden that way.

Why are some coins excluded?

We only count a coin when we can see both what you paid and what you got back. A coin is skipped if tokens received by transfer were sold (their cost is unknown), it was only ever received, it was traded against another token instead of SOL, a trade was mixed with SOL from outside the trade, or it was bought before the window. Tokens someone sends you that you never sell change nothing. Stablecoins and staked SOL are not memecoins, so they are listed apart. The scan lists every skipped coin and the reason.

Could someone find my wallet from a card?

Rounded numbers and no tickers by default make it hard. But very unusual stats can narrow it down, like one huge trade on a known coin in a short window. Leave tickers off if that matters to you. A verification send is public too: anyone can see which wallets paid our deposit address and compare them with cards issued that day. If that matters, verify by signing a message instead. It leaves no public record.

Which prices do you use?

Realized PnL is in SOL, straight from the chain. The USD figure uses today's SOL price. Open bags are estimates at current prices and are never part of realized PnL.

How far back does it read?

7 or 30 days, up to the newest 2,000 transactions. Very busy wallets can hit that cap. When they do, the scan and the card cover the shorter window that was actually read, and the card names those dates instead of 7D or 30D. If the node cannot return some transactions even after we ask again, the scan says so and makes no card until a full read.

Check a card yourself

Every card has a signed record at /c/<id>.json. It holds the payload, an ed25519 signature and our public key, all base58. The payload is canonical JSON: keys sorted, no spaces.

// Node, with tweetnacl and bs58 installed
const card = await (await fetch('https://witnessed.fun/c/ID.json')).json();
const sorted = (v) => Array.isArray(v) ? '[' + v.map(sorted).join(',') + ']'
  : v && typeof v === 'object' ? '{' + Object.keys(v).sort().map((k) => JSON.stringify(k) + ':' + sorted(v[k])).join(',') + '}'
  : JSON.stringify(v);
const ok = nacl.sign.detached.verify(new TextEncoder().encode(sorted(card.payload)),
  bs58.decode(card.signature), bs58.decode(card.publicKey));

Check that publicKey is the key at /api/pubkey, or one of the older keys listed there under retiredPublicKeys. A card keeps the key it was signed with.

Read my trades