@rebarxyz/cli
v0.0.27
Published
Terminal UI for browsing, editing, and monitoring Rebar chain nodes
Readme
Rebar CLI
A terminal UI for the Rebar chain. Browse on-chain data, inspect calculation logic, push updates, and watch values change in real time — without touching a block explorer or writing a single curl command.
npm install -g @rebarxyz/cli
rebar
See Everything About a Data Source
Select any entry and see the full picture: current value, owner, description, calculation logic, input dependencies, and available actions. No more piecing together state from raw RPC queries.

Edit and Sign In Place
Update values, preview the transaction, and sign — all without leaving the terminal. Supports stored wallets or one-time mnemonic entry.

Live Monitoring
Watch any data source for real-time value changes over WebSocket. Scrolling update history with timestamps, pause/resume, and clear on the fly.
Scriptable Too
Everything you can do interactively also works as one-off commands for scripting and CI:
rebar view --list --json # Dump everything as JSON
rebar view --address <addr> # Query a single data source
rebar view --search "price" --json # Search and pipe to jq
rebar edit <addr> --value "42" # Update a value
rebar monitor <addr> --duration 300 --quiet # Watch for 5 minutesKeyboard Shortcuts
Vim-style navigation throughout. j/k or arrow keys to move, Enter to select, / to search, e to edit, m to monitor, r to refresh, q to go back.
Configuration
rebar config --show # See current settings
rebar config --set-signer # Store a signing wallet
rebar config --rpc <url> # Set default RPC endpointOr set environment variables:
export REBAR_RPC_URL=https://rpc.rebar.xyz
export REBAR_CHAIN_ID=rebar-1Development
pnpm install
bun run dev