CLI
Install and use Prism's developer CLI for reports, markets, x402 quotes, and validation receipts.
The Prism CLI is the fastest developer surface. It reads public dashboard APIs, resolves safe Polymarket market metadata, and orchestrates x402 validation without key custody.
Install
Run once without installation:
uvx --from "prism-cli @ git+https://github.com/Fato07/prism.git#subdirectory=apps/cli" prism demoInstall as a tool:
uv tool install "prism-cli @ git+https://github.com/Fato07/prism.git#subdirectory=apps/cli"
prism --versionFrom a clone:
cd apps/cli
uv run prism --helpRead-only commands
uv run prism doctor --no-circle
uv run prism stats --json
uv run prism history --limit 5
uv run prism report d6cdd60f-f5e0-43ab-ba2d-7dcab76a8e24
uv run prism inspect ipfs://QmNzqnPEEQUMn3GMbiEZANpKXZRPmTHxVwt5nNevR8iXt8 --jsonSafe demo
uv run prism demoThis is dry-run by default. It does not sign payment and does not submit validation. It writes local receipts under .prism/receipts/.
x402 quote
uv run prism quote ipfs://QmNzqnPEEQUMn3GMbiEZANpKXZRPmTHxVwt5nNevR8iXt8 \
--trace-hash 0x1a750011608a7480e9cb11f1d20587e32efb7a7dd433b85820f0dbfcdee19fdbPaid validation
Use an externally signed X-PAYMENT header:
uv run prism validate ipfs://Qm... --trace-hash 0x... \
--x-payment-file ./x-payment.txtOr ask Circle CLI to sign typed data:
uv run prism validate ipfs://Qm... --trace-hash 0x... \
--circle-address 0xYOUR_BASE_SEPOLIA_WALLET \
--max-amount-usdc 0.01The payment cap is deliberate. Paid flows are explicit, not automatic.
Markets
uv run prism markets --limit 5
uv run prism market resolve "<question from prism markets>" --jsonLive trade execution requires an explicit token ID. Prism does not fuzzy-route live orders into Polymarket markets.