Expand description
Public API matching the spec Clean API implementation for saorsa-core
This module provides the simplified public API for:
- Identity registration and management
- Presence and device management
- Storage with replication
Structs§
- Group
Identity Packet V1 - Group identity packet (canonical)
- Group
KeyPair - Keypair for group signatures
- Identity
Packet V1 - Minimal identity packet compatible with Communitas group flows
- Member
Ref - Member reference for group identities
Functions§
- clear_
dht_ client - Remove any configured global DHT client, forcing API calls to use the mock fallback.
- get_
data - Retrieve data from the network
- get_
identity - Get an identity by its key
- get_
presence - Get presence information for an identity
- group_
identity_ canonical_ sign_ bytes - Canonical bytes for group identity signing: b“saorsa-group:identity:v1“ || id || membership_root
- group_
identity_ create - Create a canonical group identity and keypair
- group_
identity_ fetch - Fetch a group identity by id key
- group_
identity_ publish - Publish a group identity packet under its id key
- group_
identity_ update_ members_ signed - Update group members with signature verification over canonical bytes
- identity_
fetch - Fetch identity packet in canonical format
- register_
headless - Register a headless storage node
- register_
identity - Register a new identity on the network
- register_
presence - Register presence on the network
- set_
active_ device - Set the active device for an identity
- set_
dht_ client - Install a process-global DHT client for API operations.
- store_
data - Store data on the network
- store_
dyad - Store data for a dyad (2-person group)
- store_
with_ fec - Store data with a custom replication target (legacy FEC API)