Weave documentation
Weave

Network Commands

Live DHT membership, authenticated provider discovery and verified strand replication.

Persistent node operations

Install/start the released workspace first. These commands operate that node:

~/.weave/bin/weave dht join --json
~/.weave/bin/weave dht stats --json
~/.weave/bin/weave dht peers --json
~/.weave/bin/weave dht announce hello-weave --json

join requires connected Kademlia peers. announce publishes a provider record for an owned local strand; create/append it first using the quickstart. It does not upload the strand payload to the DHT.

find performs actual authenticated provider lookup and pins the writer key locally. The alias is local, and remote lookup requires the producer's writer public key:

WRITER_PUBKEY='REPLACE_WITH_THE_64_HEX_WRITER_PUBLIC_KEY'
~/.weave/bin/weave dht find hello-weave --writer-pubkey "$WRITER_PUBKEY" --wait-secs 30 --json
~/.weave/bin/weave strand replicate hello-weave --source-pubkey "$WRITER_PUBKEY" --sparse --blocks 0 --wait-secs 30 --json
~/.weave/bin/weave strand read hello-weave --start 0 --length 1 --json

A provider record alone does not prove payload replication. Sparse replication verifies selected reads, distinguishes cached blocks from logical metadata length, and explains authenticated relay/direct transport and quota limits.

dht serve and dht join --daemon are foreground node entry points; do not start an additional writer for an installed running workspace. Use node start|stop|status|logs for normal lifecycle management. Network overrides must agree with the configured persistent node; per-invocation ports do not reconfigure an already running service.

Historical source declarations

These preserve source snapshots. Use the released CLI guide for the current command contract.

On this page