Description
Currently escrow creation requires full MCP SSE client implementation. Many integrators just want simple REST calls.
Current State
Must implement:
- SSE connection to MCP server
- Session management
- Multiple round-trips for prepare/sign/submit
Proposed Solution
Add simple REST endpoints:
POST /api/v1/escrows/prepare
Body: { seller, contentHash, price, expiryDays, ... }
Returns: { unsignedTx, encryptionKey, estimatedGas }
POST /api/v1/escrows/submit
Body: { signedTx }
Returns: { escrowId, txHash }
Benefits
- Dramatically simplifies integration
- Works with any HTTP client
- Still maintains security (signing happens client-side)
- Reduces barrier to entry for sellers
Alternative
At minimum, provide a Node.js SDK that wraps the MCP complexity.
Found during seller flow UX testing
Description
Currently escrow creation requires full MCP SSE client implementation. Many integrators just want simple REST calls.
Current State
Must implement:
Proposed Solution
Add simple REST endpoints:
Benefits
Alternative
At minimum, provide a Node.js SDK that wraps the MCP complexity.
Found during seller flow UX testing