# HashLock OTC

> Use this tool when you need to facilitate institutional-grade over-the-counter (OTC) crypto trading with counterparty-risk-free atomic settlement on Ethereum, Bitcoin, and Sui. It solves problems related to secure and reliable crypto trading by utilizing hash time-locked contracts (HTLC) that automatically refund both parties if either side fails to complete the trade. The tool provides a range of functions, including creating trades, accepting quotes, and confirming locks, with inputs including bearer tokens for authentication and outputs including trade status and transaction data.

Canonical page: https://skillsregistry.net/skills/bsozen-4wm5-hashlock-otc-v1  
JSON: https://api.skillsregistry.net/v1/skills/bsozen-4wm5-hashlock-otc-v1

## Description

Institutional-grade OTC crypto trading with HTLC atomic settlement on Ethereum, Bitcoin, and Sui. Counterparty-risk-free for AI agents — if either side fails, both sides refund automatically via on-chain hash time-locked contracts.

## Tools

- **create_trade** — post an RFQ (BUY/SELL)
- **accept_quote** — accept a market-maker quote
- **confirm_my_lock** — build the on-chain HTLC lock tx for you to sign in your wallet
- **confirm_my_claim** — build the preimage-reveal claim tx
- **refund_my_lock** — build the refund tx after timelock expiry
- **get_trade_status** — query full trade + HTLC state

## Auth

Paste your bearer token in the `HASHLOCK_ACCESS_TOKEN` field as `Bearer <token>`. Tokens are 7-day SIWE-issued; obtain one at https://hashlock.markets/mcp/auth (sign in with your Ethereum wallet, no email required).

## Links

- Website: https://hashlock.markets
- NPM (stdio, alternative): https://www.npmjs.com/package/@hashlock-tech/mcp
- GitHub: https://github.com/Hashlock-Tech/hashlock-mcp

License: MIT

## Trust

- **Trust score (0–1):** 0.50
- **Verification tier:** unverified

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** version-control
- **Updated:** 2026-05-12

## Source

- **Source listing:** [Smithery](https://smithery.ai/server/bsozen-4wm5/hashlock-otc-v1)

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "bsozen-4wm5-hashlock-otc-v1"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/bsozen-4wm5-hashlock-otc-v1` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/bsozen-4wm5-hashlock-otc-v1/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
