Dark HIP-3
Docs · Build

Builders: SDK, MCP and API

Three ways in

SDKMCPAPIDarkPool contractkeeper settles

SDK

The SDK is served at /sdk/darkhip3.js. DarkPoolClient.connect reads the active network from /api/config; commit seals and stores the salt; autoReveal sends the reveal in the window; settle lets anyone close a batch.

MCP

A keyless MCP server answers at /mcp with markets, batch_state, commit_calldata, reveal_calldata and my_orders. Write tools return calldata; the agent signs with its own wallet. The whole flow is written for agents in /skill.md.

The keeper

A keeper process samples the pool during the commit window of batches with orders, settles every batch that has commits once it ends, and flushes the burns. Settlement is permissionless: if the keeper stops, anyone can settle with one call.