What you’ll see
- The exact sequence the CLI will run on Parmigiana: fund → balance → deposit → swap → exit.
- A TUI preview so you know the menu layout before installing.
- Copy-ready commands you can paste once the package hits npm.
Try the preview
Parmigiana CLI (Preview)
Simulated output — no wallet or RPC required
Wallet
Orders (searcher / filler)
System & tools
Prefer the TUI? Here's the menu structure:
$ parmigiana
🧀 Wallet utilities
├─ Check balances
├─ Create order
├─ Submit order
└─ List orders
🔧 System & debug tools
├─ Ping RPC
├─ Network info
├─ List contracts
├─ Faucet info
├─ Compute L1 alias
└─ Run cast
📦 Orders (searcher/filler)
├─ Pending orders
└─ Fill orders (atomic)Runbook (real CLI, when live)
bash
# Install (coming soon)
npm install -g parmigiana-cli
# Point to your key
export PRIVATE_KEY=0xYOUR_KEY
# Fund + balances
parmigiana fund
parmigiana balance
# Deposit host ETH → rollup USD
parmigiana deposit --amount $(cast --to-wei 0.1)
# Swap USD → WETH
parmigiana swap --sell USD --buy WETH --amount $(cast --to-wei 10)
# Exit to L1
parmigiana exit --amount $(cast --to-wei 5)How this preview works
- Purely client-side; it mirrors the CLI output format but never touches a network or wallet.
- Button presets mirror the happy path; custom commands echo back so you can rehearse.
- When the npm package ships, replace the preview with the real commands against the Parmigiana RPC endpoints.