Skip to main content

Coordinator REST API

Status: Testnet. Router: crates/sealforge-coordinator/src/routes/mod.rs. Request and response types: crates/sealforge-api/src/types.rs (type names below). No OpenAPI file is generated yet. The Rust types are the schema. Auth column: public = no auth. organiser / trustee = SF-Sig signed with that role’s key (4 Architecture §API authentication); the coordinator then checks the key owns the auction or holds a trustee slot in it.

Errors

Every non-2xx response has the body ApiErrorBody { code, error } (crates/sealforge-coordinator/src/error.rs):

TypeScript SDK

Package @sealforge/bid. Status: Testnet (the web bid flow uses it). Source: packages/bid/src. Dependency: @noble/hashes. Amounts are bigint zatoshi. Parity guarantee: commitments, memos and URIs are byte-identical to sealforge-core. Both suites check the same vector file in CI (2.4 §Parity).

Rust crates as libraries

All crates are MIT OR Apache-2.0 and unpublished (use them as git or path dependencies). Ones that are useful on their own: