-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or request
Description
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
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request