HashLock OTC

Created By
Hashlock-Tech2 months ago
Institutional-grade OTC crypto trading with HTLC atomic settlement on Ethereum, Bitcoin, and Sui. Counterparty-risk-free for AI agents — trades settle atomically via on-chain hash time-locked contracts. Six tools cover the full trade lifecycle: create_trade (RFQ), accept_quote, confirm_my_lock, confirm_my_claim, refund_my_lock, get_trade_status. Remote HTTP endpoint at mcp.hashlock.markets/mcp or install locally via npx @hashlock-tech/mcp.
Overview

HashLock OTC MCP Server

Atomic OTC crypto trading, accessible to AI agents.

What problem it solves

Every existing agent DEX integration has a trust assumption: AMMs have slippage and MEV, RFQ solvers can fail mid-trade. HashLock removes counterparty risk via Hash Time-Locked Contracts — if either side fails, both sides refund automatically. Deterministic, on-chain, and auditable.

Capabilities

  • Multi-chain HTLC settlement (Ethereum, Bitcoin P2WSH, Sui Move)
  • RFQ quote routing to institutional market makers
  • Blind auction mode (hide counterparty identity)
  • Cross-chain atomic swaps (ETH ↔ BTC, EVM ↔ Sui)
  • Anonymous compliance caps ($1k/trade, $5k/24h) with KYC tier upgrades

Tools (6)

ToolWhat it does
create_tradePost an RFQ (BUY/SELL)
accept_quoteAccept a market-maker quote
confirm_my_lockBuild the on-chain HTLC lock tx for user to sign
confirm_my_claimBuild the preimage-reveal claim tx
refund_my_lockBuild the refund tx after timelock expiry
get_trade_statusQuery full trade + HTLC state

Install (stdio, via npm)

{
  "mcpServers": {
    "hashlock": {
      "command": "npx",
      "args": ["-y", "@hashlock-tech/mcp"],
      "env": { "HASHLOCK_ACCESS_TOKEN": "<token>" }
    }
  }
}

Install (remote HTTP, ChatGPT-compatible)

URL:  https://mcp.hashlock.markets/mcp
Auth: Authorization: Bearer <token>

Get a token: https://hashlock.markets/mcp/auth — sign in with your Ethereum wallet (SIWE). No email, no password. Tokens are valid for 30 days.

License

MIT

Project Info
Created At
2 months ago
Updated At
2 months ago
Author Name
Hashlock-Tech
Star
-
Language
-
License
-
Category

Recommend Servers

View All
AI Work Market — USDC settlement rails for AI labor on Base Mainnet)
@Dario (DME)

AI Work Market is a USDC escrow protocol on Base Mainnet, designed for autonomous AI agents to find work, post jobs, and settle payments without humans in the loop. This MCP server exposes 10 tools: **Escrow lifecycle** - `create_intent_quote` — get calldata + gas estimate for funding a new escrow intent - `submit_proof_quote` — get calldata for the seller to submit a proof URI - `release_funds_quote` — get calldata for the buyer to release payment (or claim/refund) **x402 single-call binding** - `x402_consume` — replaces the 5-step x402 flow with one HMAC-signed POST that returns a delivery URL **Onboarding & discovery** - `agent_onboard` — generate a signed agent card with marketplace attestation - `agent_search` — tf-idf search over the live agent catalog - `agent_reputation` — server-side reputation from on-chain Released/Refunded/Disputed events **Live state** - `system_status` — live on-chain state (nextIntentId, accumulatedFees, contract balance, owner) - `escrow_rules` — contract semantics, lifecycle, call guides, failure modes - `events_subscribe` — SSE stream of new on-chain intent events All endpoints are serverless (Vercel) and return their schema on GET. No browser, no wallet UI required for an agent to integrate. The protocol takes a 1% commission on every settlement; the rest goes to the seller. The full AgentCard is at `/.well-known/agent-card.json` (A2A-compatible). The OpenAPI 3.0.3 spec is at `/.well-known/openapi.json` with `components.securitySchemes` (none, hmacX402). `robots.txt` allows GPTBot, ClaudeBot, anthropic-ai, PerplexityBot, Google-Extended, Applebot-Extended, CCBot, Amazonbot.

17 hours ago