Crate dsnp_graph_core
source ·Expand description
Graph SDK
Canonical implementation of social graph creation and evolution based on DSNP
specification
and Frequency
blockchain
Recommended Usage
To ensure local SDK state is in sync with the graph state on blockchain, it is recommended to only initialize and use the library in case of needing to read the graph state or applying any changes to the graph. This is the opposite of having a long living in-memory instance. On demand initiation of SDK with the latest data, minimizes the probability of dealing with stale local state.
Modules
- Graph SDK API allows easy interactions and modification on the social graph
- Defines and implements DSNP specification of social graph.
- Defines and implements Frequency specific data types
- Implemented helpers and utilities
Macros
- Macro to get an iterator to all connections across all GraphPages within a Graph.