TradeWhisper / Docs

Protocol Documentation

Product capabilities, trade flow, testnet setup, integrations, and security model.

Capabilities

  • Natural-language OTC intent parsing and request submission.
  • Wallet-first flow with HashKey Testnet network switching.
  • On-chain request publication through TradeRouter and AtomicSwap settlement.
  • Reputation-based market-maker ranking via ReputationRegistry.

Flow

  1. User opens landing page and clicks Connect wallet.
  2. Trade page connects wallet, parses intent, and requests token approval if needed.
  3. TradeRouter records request and market agents respond.
  4. AtomicSwap executes settlement and updates agent reputation.
  5. History page shows request logs and explorer-verifiable settlements.

Testnet

Network: HashKey Chain Testnet (chainId 133)

RPC: https://testnet.hsk.xyz

Explorer: https://testnet-explorer.hsk.xyz

Open Explorer

Integrations

  • MetaMask wallet connection and chain switching.
  • Backend parser and market-agent services on localhost:3000.
  • Smart contracts: TradeRouter, AtomicSwap, ReputationRegistry.

Security

  • Atomic settlement execution in a dedicated swap contract.
  • EIP-712 signature verification for maker offers.
  • Requester minAmountOut and offer deadline protections.
  • On-chain auditability through explorer-linked transaction history.