OpenSwap CLI documentation
- Quickstart — How to swap crypto from your terminal in about two minutes with OpenSwap — no account, no wallet connection, no browser extension.
- Command reference — Every OpenSwap command, flag, output mode, exit code, and environment variable, explained in plain English on one page.
- Test mode & tour — How to practice crypto swaps with zero risk: OpenSwap test mode simulates the whole exchange, with magic amounts to script any outcome.
- Bots & automation — How to automate crypto swaps safely with OpenSwap: policy files that set hard limits, a live price feed, and simulation before any real trade.
- For AI agents — The complete machine contract: JSON envelope, exit codes, financial rules, and recipes — identical to `openswap agent docs`.
- Security & custody — Is OpenSwap safe? The CLI never holds funds or keys — you pay a deposit address from your own wallet. Here is the full security model.
- Keys, fees & founding keys — What OpenSwap costs (0.10% standard, 0.01% on stables), how to earn affiliate fees with your own free key, and the 100 founding keys.
- Receipts & data on disk — Where OpenSwap stores swap receipts and settings on your machine, every receipt field explained, and how to remove all of it.
- Changelog — OpenSwap CLI release notes.
Every page is also raw markdown: append .md to any URL, or fetch /cli/docs.md for all pages in one file.