Trust Graph SDK
TypeScript SDK for graph keys, signed trust edges, reachability queries, and proof verification.
Trust Graph SDK
@rebellion-systems/trust-graph-sdk is the TypeScript client for the trust graph
service. It wraps the HTTP API and ships Node-side helpers for graph key IDs,
node metadata, canonical edge payloads, and server-compatible ECDSA signatures.
The SDK follows the AuthenSee provider SDK style:
- Explicit
createTrustGraphSdk(...)client construction - Injectable
fetchfor tests, proxies, and edge runtimes - Strict response mappers that only expose the public API shape
TrustGraphSdkErrorfor non-2xx responses- ESM and CJS builds from
tsup - Vitest coverage around request construction, mapping, errors, crypto, and server integration