Skip to content

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.

Terminal window
petri
petri markets
petri markets show ramx
petri contracts --market ramx
petri writers list
petri oracle recipe ramx
petri config show
petri staking status

Use petri help for the current command list.

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.

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.

For the full command list, read Command Reference.