Architecture
Last updated
Last updated
Bond operates as a decentralised, cross-chain social incentive protocol, aiming to serve the evolving needs of Web 3.0 projects. At its core, Bond integrates on-chain smart contracts with advanced off-chain Oracle technology, promoting growth in decentralised social spaces.
The architecture is distinguished into three integral layers:
Smart Contract Layer: Central to Bond, it records relationships, user identities, content, and diverse reward models directly on the blockchain.
Data Availability Layer: This bridges the gap, indexing on-chain changes and offering a streamlined interface for easy blockchain interactions.
Application Layer: In this layer, Bond manages projects, materialises various use cases, and integrates off-chain nodes, ensuring efficient operations without compromising on decentralisation.
Together, these layers ensure Bond remains flexible, transparent, and user-centric, catering to a wide range of reward models and decentralised applications.
Bond seamlessly combines on-chain contracts and off-chain computations, offering an innovative infrastructure for decentralised social incentives in the Web 3.0 era.
This layer stands as the on-chain bedrock of Bond's architecture, ensuring secure storage and execution of critical functions.
Bond Hub: The hub acts as the heart of Bond, where all relationships, user identities, and content are generated and securely recorded on the blockchain.
Merkle Tree distribution: Primarily utilised for efficient reward distribution, ensuring that all participants receive their due incentives in a streamlined manner.
Project Manager: Beyond managing various projects, the Project Manager is the architect behind on-chain use cases. From issuing new tokens to deploying liquidity pools on decentralised exchanges, it is the catalyst for on-chain innovations.
The vigilant layer that keeps tabs on every pulse and action within the smart contract layer.
Bond Indexers: These specialised modules diligently monitor and index event logs generated by the smart contracts, ensuring that all on-chain activities are documented and ready for the off-chain computations.
As the analytical core, this layer interprets and evaluates on-chain data to derive actionable insights.
This layer fetches the required data directly from the Bond Indexers. Using this data, it then computes social scores for each participant, reflecting their contributions and influence within the network.
Accuracy and consensus are pivotal for the system's credibility.
This layer consolidates the results obtained from the computation layer across different off-chain nodes. Through a rigorous consensus algorithm, a unanimous agreement on the final results is ensured.
Following this consensus, the layer employs off-chain reporting to transmit the final result's Merkle root to the Merkle distribution smart contract, thus completing the process with transparency and trust.