pango

Reference

CLI

Every command of pango.

node cli/pango.mjs help. Configuration: PANGO_RPC or --rpc, PANGO_KEY or pango-wallet.json.

CommandWhat it does
wallet newCreates a key file.
initCreates your guard account (once).
statusYour guard account and wallet balance.
preview <tx.b64> --watch k... [--sol N] [--token i:N]Simulates a transaction from any app and says, in words, what the guard would do. Sends nothing.
wrap <tx.b64> --watch ... --out fileAdds Begin and End around the transaction's instructions.
send <file>Signs with your key and sends.
closeCloses your guard account, rent returned.

--sol N is the most SOL you accept losing (a positive number, in SOL). --token i:N is the most tokens you accept losing on watched entry i, in the token's smallest unit.