08 — Build surface
weave-sdk
The fastest way to ship on Weave. Boot a node, mount a drive, publish to WOVEN, replicate over the swarm — in a few lines. Identity adapters, capability proxying, agent-friendly defaults.
A closer lookOne useful connection at a time.
Application code composes identity, storage, and transport through the SDK.
- 01Choose a capability
- 02Connect the pieces
- 03Build your application
01 — Concepts
01
Compose identity, storage, and networking into a single node.
02
Identity adapters: Ed25519, DID, custom.
03
Capability proxying for delegated agents.
04
Composable defaults for identity, storage, and networking.
02 — Code
A handful of lines.
use weave_sdk::{Node, NodeConfig, woven, locus};
let node = Node::builder()
.config(NodeConfig::production("weave-node-01"))
.with_dht().with_swarm().with_locus()
.open().await?;
node.locus().mount("team/notes").await?
.write("hello.md", b"# Off-chain").await?;
node.woven().publish(woven::Event::post("hello, peers")).await?;