Reference
CLI
Every command of pango.
node cli/pango.mjs help. Configuration: PANGO_RPC or --rpc, PANGO_KEY or pango-wallet.json.
| Command | What it does |
|---|---|
wallet new | Creates a key file. |
init | Creates your guard account (once). |
status | Your 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 file | Adds Begin and End around the transaction's instructions. |
send <file> | Signs with your key and sends. |
close | Closes 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.