Start
Overview
What Pango for Solana is, the problem it removes, and what it does not promise.
What it is
Pango wraps any Solana transaction in a promise about the state it must leave behind. The wallet adds two instructions: Begin first, which takes a snapshot of the accounts you care about, and End last, which reads them again. If the final state breaks the promise, End fails, and since a Solana transaction is atomic, the whole transaction fails: nothing happened, only the network fee was paid.
It is a small program (31,624 bytes, no dependency besides Pinocchio) with no admin, no fee and no upgrade path once its upgrade authority is revoked. Your funds never move into a vault. Your wallet stays your wallet.
The problem
A wallet shows a preview of what a transaction does. A preview is a prediction, and the usual Solana drainers are built around what a preview does not show:
- a "claim" that says 0.05 SOL and takes 3;
- a swap whose output lands in someone else's token account;
- an
Approvehidden in the same transaction: a delegate who can spend all your tokens later; - a
SetAuthoritythat changes the owner of your token account: no balance moves, so a balance preview shows nothing; - a System
Assignthat hands your wallet to another program: again, no balance moves.
The idea
Do not predict. Make the outcome part of the signed transaction. The chain itself refuses any outcome you did not accept, including the ones that move no balance.
What it is not
- Not a scanner and not a score. Nothing is guessed.
- Not custody. Funds stay in your accounts.
- Not audited and not deployed by us yet. See Limits and risks.