Agentic Finance & Mandates
FurlPay CLI (@furlpay/cli)
Open-source terminal execution and dual MCP agent server layer for multi-source oracle quotes, Solana RPC reads, Hyperliquid perps, Stellar SDEX/Soroban simulation, ETSS escrow, and x402 workflows—labeled at runtime as LIVE, SIMULATED, or READ-ONLY.
Runtime Honesty Matrix Enforced
FURLPAY_LIVE and valid risk limits are met; Stellar order routing and local x402 facilitation explicitly report SIMULATED.Install & Quick Diagnostics
Requires Node.js ≥ 22.19.0 across macOS, Linux, and Windows without root privileges:
npm install -g @furlpay/cli
furlpay --version
furlpay doctor
furlpay mainnet readiness # 13 read-only pre-flight checksHonesty Matrix & Execution Planes
Signed EIP-712 orders gated behind pre-trade risk engine, USDC peg check, and FURLPAY_LIVE gate.
Multi-source USD pricing (Coinbase, Kraken, Binance, Jupiter) with sanity bands and cross-source agreement.
Status and balance lookups plus indicative Jupiter quotes; no autonomous signing path.
Deterministic Horizon/Soroban local simulation; never broadcasts live Stellar trades.
Local escrow state machine at ~/.furlpay/escrows.json with tamper-evident audit entries.
Simulated local x402 settlement alongside testnet-default Binance spot adapter gated by agent policies.
Core Command Index (Embedded Reference)
| Parameter | Type | Description |
|---|---|---|
| furlpay doctor / updateoptional | Diagnostics | Verify Node runtime, environment wiring, RPC reachability, and safely self-update. |
| furlpay mainnet readinessoptional | Safety Gate | Runs 13 strictly read-only runtime, signer, oracle, peg, and policy checks (exit 0 only when passing). |
| furlpay oracle price <asset>optional | Read-only | Fetch multi-venue price feed with spread agreement bounds. |
| furlpay solana status|balanceoptional | Read-only | Inspect Solana accounts, token balances, and slot health over JSON-RPC. |
| furlpay wallet agent-keygenoptional | Identity | Create scoped agent keypair with daily cap, per-tx ceiling, asset whitelist, and expiry. |
| furlpay mcp --wallet <agent>optional | MCP Server | Start read-only MCP server (pass --enable-execution only with active agent spend policy). |
Mainnet Readiness Gate
Before any real-money operation, furlpay mainnet readiness verifies 13 gates labeled PASS / FAIL / BLOCKED / NOT_VERIFIED. Preparing a dry run evaluates the pre-trade risk engine and never signs or broadcasts.
MCP Agent Servers & Two-Phase Safety Protocol
- TypeScript Execution Server (35 tools) & JS Research Server (29 tools): Mutating tools stay hidden from
tools/listuntil--enable-executionis paired with a valid policy (exits47if absent). - Two-Phase Execution:
furlpay_preview_executionbinds arguments to a one-time hash;furlpay_confirm_executionreplays that exact hash once within 10 minutes and re-verifies limits.
Secrets & Environment Boundaries
Store signing keys solely via environment variables or stdin—never CLI flags or logs. Key redaction is verified across JSON responses, errors, and logs.
Hosted Platform Integration & Full Manual
The CLI combines hosted platform APIs (plus our /api/sandbox/* endpoints), public chains, and local tools. Browse the full standalone CLI manual at furlpay.github.io/furlpay-cli or GitHub.
