- Get Started
- Framework
- Get Started
- Framework
Graph Value
Graph Value is a core metric in Local Protocol that quantifies the amount of value a user contributes to the network. It serves as a basis for allocating rewards to participants, ensuring that users are incentivized in proportion to their positive impact on the network’s connectivity and transaction flow.
Introduction to Graph Value#
In Local Protocol, Graph Value measures both economic activity and network influence for each participant. It is updated every time a transaction occurs, capturing changes in transaction volume and the participant’s centrality within the transaction graph.
The transaction graph is represented as a bipartite graph , where:
- : Set of producers,
- : Set of buyers,
- : Weighted edges representing transaction volumes.
Each transaction updates the metrics associated with a producer or buyer , including:
- Total sum of edge weights ( or ): Represents the cumulative transaction volume.
- Eigenvector Centrality ( or ): Indicates a node’s influence within the graph.
Graph Value Update Rule#
For a given producer , the Graph Value is calculated as:
Where:
- : Current Graph Value of producer .
- : Change in Graph Value due to a transaction.
- : Change in transaction volume.
- : Change in eigenvector centrality.
Similarly, for a buyer , the Graph Value is updated with changes in transaction volume and centrality:
This update mechanism ensures that the Graph Value reflects both the transaction volume and the connectivity impact of each user.
Key Concepts#
1. Components of Graph Value#
- Transaction Volume ( or ): Measures the total economic activity by summing the edge weights for a user.
- The update or represents the volume of a completed transaction.
- Eigenvector Centrality ( or ): Reflects a node’s importance in the network based on its connections to other influential nodes.
- The update or accounts for changes in centrality due to new transactions.
- Reputation Score: A factor that can be included in Graph Value to account for a user’s historical performance and reliability. It serves as an additional measure of trust and value within the network.
Example of Graph Value Calculation#
Consider a producer with an initial Graph Value , total transaction volume , and eigenvector centrality . After a transaction that increases by and by , the new Graph Value is:
- : A tunable parameter that controls the weight between centrality and transaction volume in Graph Value updates.
This formulation allows Local Protocol to adaptively adjust the weight of centrality and transaction volume based on network conditions and market maturity.
Next Steps#
The next topic will cover Sybil Resistance, showing how connectivity can provide a robust measure of realness for networks that do not have access to service-proofs or identity-proofs.