Skip to main content

Crate scout

Crate scout 

Source
Expand description

scout — a light Swarm client.

LiteClient is a thin façade over bee. Reads (/bzz, /bytes) go to a gateway or any Bee endpoint and need no node, stake or stamp — the “light node” idea. Writes (uploads) need a Bee node holding a usable postage batch; configure one with LiteClient::with_write and they go there while reads still use the read endpoint.

Structs§

LiteClient
A light Swarm client: a read endpoint, plus an optional stamped node for uploads.
ShareInfo
Everything a share produces — the refs to download it and to manage access.

Functions§

generate_key
Generate a fresh identity. Returns (private_key_hex, owner_address_hex, compressed_pubkey_hex) — the owner address is the feed identity, the compressed pubkey is what ACT share --to expects.