Skip to main content

Hashlock Markets

io.github.Hashlock-Tech/hashlock

v1.15.1Updated Nov 25, 2026stdio · npmremote · http

Non-custodial cross-chain OTC for AI agents: sealed RFQ, negotiation, HTLC atomic swaps.

Install

Replace 1 placeholder with your own values.

Run in your terminal. Replace 1 placeholder.

claude mcp add --transport http --header 'Authorization: <your-authorization>' hashlock https://hashlock.markets/mcp

Configuration

13 settings.

  • HASHLOCK_API_URL
    Env var· required
    Hashlock Markets REST API base (required), e.g. https://hashlock.markets/api; the testnet sandbox is https://sandbox.hashlock.markets/api
  • Authorization
    Header· optional· secret
    Optional: "Bearer hk_live_…" API key from https://hashlock.markets/developers. Without it, MCP clients sign in through OAuth.
  • HASHLOCK_EVM_KEY
    Env var· optional· secret
    EVM private key (0x, 32-byte) for autonomous SIWE login + EVM settlement — use a dedicated key
  • HASHLOCK_BANKR_API_KEY
    Env var· optional· secret
    Bankr API key, instead of HASHLOCK_EVM_KEY: the EVM wallet is the Bankr wallet, Bankr signs and sends
  • HASHLOCK_TRON_KEY
    Env var· optional· secret
    TRON private key (64-hex) for autonomous login + TRON settlement
  • HASHLOCK_BTC_KEY
    Env var· optional· secret
    Bitcoin WIF for autonomous BIP-322 login + BTC HTLC claims
Show 7 more
  • HASHLOCK_SOLANA_KEY
    Env var· optional· secret
    Solana secret key (base58, 32- or 64-byte) for autonomous login + Solana HTLC settlement
  • HASHLOCK_TOKEN
    Env var· optional· secret
    A ready JWT (alternative to a key)
  • HASHLOCK_TRON_API_KEY
    Env var· optional· secret
    TronGrid API key (TronGrid throttles requests without one)
  • HASHLOCK_EVM_RPC
    Env var· optional
    EVM RPC the agent submits fund/claim throughDefault: https://ethereum-rpc.publicnode.com
  • HASHLOCK_TRON_HOST
    Env var· optional
    TRON full hostDefault: https://api.trongrid.io
  • HASHLOCK_SOLANA_RPC
    Env var· optional
    Solana RPC the agent reads the counterparty's escrow through before fundingDefault: https://api.mainnet-beta.solana.com
  • HASHLOCK_BTC_ESPLORA
    Env var· optional
    Esplora the agent reads the counterparty's Bitcoin escrow through (default: mempool.space for the network)

Listed in the official MCP Registry since Nov 25, 2026. Mirrored daily; last checked Nov 26, 2026.