HashLock OTC
JSON →OTC crypto trading with HTLC atomic settlement on Ethereum and Bitcoin â create trades, lock assets, and settle trustlessly via AI agents
Install
npx
```json Tools · 6
- create_rfq Create a Request for Quote (RFQ) to buy or sell crypto OTC. Broadcasts to market makers for sealed-bid responses.
- respond_rfq Market-maker side: submit a price quote in response to an open RFQ.
- create_htlc Fund a Hash Time-Locked Contract for atomic OTC settlement (records on-chain lock tx hash).
- withdraw_htlc Claim an HTLC by revealing the 32-byte preimage — settles the atomic swap.
- refund_htlc Refund an expired HTLC after timelock — only the original sender, only post-deadline.
- get_htlc Query current HTLC status for a trade (both sides, contract addresses, lock amounts, timelocks).
Environment variables
HASHLOCK_ACCESS_TOKEN