Expand description
taskfast escrow sign <bid_id> — headless poster escrow signing.
Replaces the web-UI-only wagmi + passkey path at assets/js/escrow_sign.js.
Picks up bids the server parked in :accepted_pending_escrow after
taskfast bid accept and drives them to :accepted without a browser:
GET /bids/:id/escrow/params→ server-derived on-chain params.GET /agents/me/readiness→ EIP-712DistributionDomain.- ERC-20
allowancepreflight;approveif short. - Random 32-byte salt →
compute_escrow_id(matches Solidity). - EIP-712
DistributionApproval(escrowId, deadline)—sign_distribution. TaskEscrow.open/openWithMemo— broadcast + wait for receipt.POST /bids/:id/escrow/finalizewith voucher + sig + deadline.
Memo is server-driven: memo_hash in the params payload selects
openWithMemo vs open. No --memo flag.
Error mapping delegates to map_api_error (401|403→Auth, 409|422→
Validation). Keystore / signing failures surface as Wallet (exit 5).