CLI
Petri is the Amoeba Farm command-line interface.
Use it when you want a repeatable way to inspect markets, check wallet state, read oracle status, plan trades, or work with JSON output.
Common Commands
Section titled “Common Commands”petripetri marketspetri markets show ramxpetri contracts --market ramxpetri writers listpetri oracle recipe ramxpetri config showpetri staking statusUse petri help for the current command list.
What the CLI Is Good For
Section titled “What the CLI Is Good For”The CLI is useful for:
- listing markets such as RAMX and NANDX;
- inspecting a market before trading;
- checking wallet and ledger state;
- inspecting staking status and queued activation readiness;
- inspecting collective writer sleeves, Flat ownership, auctions, staged closes, and policy audits;
- reading source recipes and oracle status;
- preparing exact-input collective secondary swaps;
- producing JSON output for scripts and agent workflows.
Petri signs supported collective writer, Flat transfer, staking, and secondary-swap operations only after the backend, SDK, and a fresh finalized chain observation agree. Petri does not calculate reserve, payout, auction fill, close withdrawal, settlement liability, or security exposure.
The interactive Lab Bench TUI covers markets, charts, options, account/ledger views, staking, oracle work, GitBook help, and AI-agent connection management. Collective writer actions currently use the petri writers command family rather than a dedicated TUI screen.
Wallet Safety
Section titled “Wallet Safety”CLI examples should use placeholder keys and public keys only.
Do not paste private key material, seed phrases, API keys, or keypair JSON contents into documentation, chat, or terminal history.
Petri is a pre-production Devnet source preview. Official signed Windows and macOS downloads are not yet published; source installation should use a dedicated testing wallet.
More Detail
Section titled “More Detail”For the full command list, read Command Reference.

