CLI
CLI quickstart
From install to a working first session: verify the tool, check your environment, validate configuration, fund a testnet account, and connect an AI agent — without touching mainnet value on the way.
Order matters on purpose
1 · Install and verify
npm install -g @furlpay/cli
furlpay --version2 · Run diagnostics
furlpay doctor # human-readable
furlpay doctor --output json # machine-readable; exit 1 when the API is unreachableReports install method, registry, local config and connectivity. The JSON mode exits non-zero when the connectivity check fails, so scripts and CI can rely on it.
3 · Validate your configuration
furlpay config validateLocal structural checks only: canonical network passphrases, https endpoints, slippage and risk bounds, and agent-trust cap consistency (a single-transaction cap may not exceed the daily cap). Non-zero exit on any error.
4 · Connect a wallet
furlpay wallet connect ledger --derivation-index 0furlpay wallet list5 · Look at the networks you can reach
furlpay hyperliquid status # validator connectivity, active universe, HLP vault
furlpay balance # balances across Arbitrum, Base, Optimism, EthereumHyperliquid market data is live; hosted FurlPay balances require an authenticated session (furlpay login). The CLI reports what it can actually reach — it does not present unreachable networks as available.
6 · Query live market data
furlpay market BTC # L2 book, depth bands, OFI, micro-price
furlpay market BTC --slippage 0.5 --side buy
furlpay hyperliquid markets # perp universe: mark, funding, open interest7 · Fund a testnet account (real Friendbot, no mainnet)
furlpay faucet --address G... --network testnetThe faucet works on testnet and futurenet only — mainnet is refused outright. FUNDED is reported only on the Friendbot's own success response plus an independent Horizon balance check, with the funding transaction hash.
8 · Verify a transaction honestly
furlpay tx verify <64-hex-hash> --network testnet --output jsonReturns one of five outcomes: CONFIRMED_SUCCESS, CONFIRMED_FAILED, NOT_FOUND (explicitly not proof of absence), INVALID_HASH, UNAVAILABLE. Exit 0 only means confirmed success.
9 · Configure an agent key
furlpay wallet agent-keygen \
--name agent-alpha \
--daily-limit 50.00 \
--allowed-assets USDC,JQQQ,FOBXX \
--expiry 7dA delegated session key with a spending policy: daily cap, allowed assets, expiry. Policy enforcement happens before every gated tool call and fails closed. Details and the MCP wiring: MCP server & agent security.
10 · Connect the MCP server
furlpay mcp --wallet agent-alpha- Add the server to Claude Desktop or Cursor — the exact config and the full tool list with per-tool status are on the MCP page.
- For the hosted FurlPay MCP endpoint (a different surface — the web account, not the CLI), see Claude Connector.
Where you deliberately did not go
