Install
openclaw skills install @adwilkinson/peer-cashCash out Base USDC to fiat through Peer with custody-separated MCP tools.
openclaw skills install @adwilkinson/peer-cashUse Peer Cash when the user wants to cash out Base USDC to fiat, compare live payout rails, estimate fiat received, track a cash-out, withdraw unmatched funds, or top up an open order.
Peer Cash is custody-separated. Its MCP server prepares transactions and reads protocol state, but it never accepts a private key, signs, or broadcasts. The OpenClaw host or connected wallet owns approval, signing, submission, and receipt confirmation.
Check whether the server is already configured:
openclaw mcp show peer-cash --json
If it is missing, add the published stdio server and prove that it starts:
openclaw mcp add peer-cash --command npx --arg -y --arg peer-cash-mcp
openclaw mcp doctor peer-cash --probe
Do not overwrite an existing peer-cash definition without showing the current configuration and getting operator approval. Optional environment variables belong on the OpenClaw gateway host. Never place secrets in a prompt, tracked config, or command argument.
The MCP tool names may be namespaced by the runtime. Match them by the exact suffixes documented below.
peer_cash_capabilities before naming a payout platform, currency, amount bound, or source asset.peer_cash_estimate as approximate. The binding Chainlink rate resolves when a buyer fills; never call it a locked quote.100000000.depositId. It is the durable resume key for order tracking and recovery.peer_cash_capabilities.peer_cash_estimate with the requested Base USDC amount and currency. Explain that the result is an oracle estimate, not a guaranteed payout.peer_cash_prepare with the amount and one or more receive legs.steps for approval.createDeposit receipt, then call peer_cash_finalize with that transaction hash.accessPolicyRequired to true, call peer_cash_prepare_access_policy, obtain approval, and submit that policy transaction with the depositor wallet.depositId. Use peer_cash_order for current state and next actions.peer_cash_order: read one order from its depositId.peer_cash_orders: list a maker wallet's orders. Set inFlight to true for orders still needing attention.peer_cash_prepare_withdraw: prepare a full close when amount is omitted, or a partial unmatched-funds withdrawal when it is present.peer_cash_prepare_top_up: prepare approval and addFunds transactions for a live order.Withdrawal and top-up plans follow the same approval and ordered-submission rules as a new cash-out.
Peer Cash errors may include code, retryable, remediation, and recovery. Follow those fields instead of improvising retries.
ORDER_NOT_FOUND immediately after finalization can be indexer lag. Retry only the read. The confirmed receipt remains the source of truth.TRANSACTION_SUBMISSION_UNKNOWN: inspect wallet activity and existing orders before any resubmission.TRANSACTION_STATUS_UNKNOWN: inspect the named transaction hash first.ACCESS_POLICY_CONFIGURATION_FAILED: the deposit already exists. Repair the policy step; do not create another cash-out.INDEXER_UNAVAILABLE or ORACLE_READ_FAILED: retry the read only.If the evidence cannot prove whether a mutation happened, stop and ask the user to inspect the wallet or block explorer. Do not manufacture certainty.