Architecture
Last updated
Last updated
Agents: Photon 1.0 utilizes Transmitter Agents to manage and transmit cross-chain messages, while Watcher Agents ensure data integrity. Together, these agents support secure and seamless blockchain interactions.
Master Smart Contract (MSC): The MSC manages protocol settings, aggregates data, and ensures data integrity. It collects and verifies proofs from Transmitter Agents and forwards validated information to Executors for implementation, acting as the coordination hub of the system.
End Points: Smart contracts within Entangle that serve as gateways for cross-chain messages. End Points verify and manage transactions across blockchain networks, simplifying the process of cross-chain communication.
Executors: Executors are responsible for carrying out operations on the blockchain after receiving validated proposals from Transmitter Agents. They implement agreed-upon actions on the target blockchain or smart contract, finalizing the cross-chain process.
Event Detection: Transmitter Agents detect relevant events, such as smart contract interactions, blockchain transactions, or external data sources, based on system requirements.
Proposal Submission: Upon event detection, Transmitter Agents draft a response proposal, which is submitted to the Master Smart Contract (MSC). The MSC gathers and verifies these proposals from different agents.
Consensus Building: Proposals are compared and validated to reach consensus. This may involve staking, where Transmitter Agents stake tokens as security, providing financial incentives for honesty and accuracy.
Execution: Once consensus is reached, the proposal is passed to an Executor. The Executor sends the operations and proof data to the End Point contract on the destination chain, which then calls the destination contract to finalize the transaction.
Rewards Distribution: The selected Transmitter assumes the role of a Watcher to oversee honest rewards distribution, maintaining accountability and incentivizing agents to act in the network's best interests.