SDK
How to use the protocol — packages, sign-in, data APIs, delegation, and CLI.
Concepts
- Getting Started — Install, scaffold from tinyboilerplate, author a manifest, run + verify locally, deploy. The golden path to a working app.
- Packages — sdk-core, sdk-services, node-sdk, web-sdk, sdk-rs (WASM), vfs, and cli.
- Sign-In Flow — session key → prepareSession (SIWE-ReCap) → wallet signs → completeSessionSetup → ensureSpaceExists.
- Data APIs — Reading and writing data across the KV, SQL, and DuckDB services from the SDK.
- Delegation API — delegateTo(did, PermissionEntry[]) and PortableDelegation for sharing capabilities.
- Secrets Sharing — Sharing encrypted secrets between identities via the SDK.
- CLI — The command-line interface for interacting with a node.
The full developer track lives under Build an App.