pango

Trust

Limits and risks

The honest list of what Pango for Solana cannot do.

Status. Not audited. Not deployed by us. Tested on a local network with the real runtime and the real SPL Token programs, never on mainnet.

It only guards what is on the list

At most ten accounts. A token account you did not list can be drained by a transaction that never mentions it in your promise.

A weak promise is a weak guard

Accept losing 3 SOL and a 3 SOL drain passes. Pango enforces the numbers you write.

Consent given outside the transaction

An off-chain signature (a marketplace listing, a durable-nonce transaction signed earlier and held by someone) is spent later in a transaction you do not control. A guard inside your transaction cannot see it.

The wallet must cooperate

Pango is an instruction pair, not a wallet feature. Today the CLI and the JS client build guarded transactions. A wallet that signs a transaction without the pair is unprotected.

Partially signed and multi-signer transactions

Only the owner of the guard signs Begin and End. A transaction that other parties modify before you sign needs the wallet to re-add the pair.

Fees and rent

The network fee is paid before Begin, so it is not in the promise. Rent for accounts you create is: declare it in the SOL check.

Networks

Built for mainnet Solana. Token-2022 extensions are not interpreted (see Tokens).