Send Cross-Chain Messages

Before proceeding with this guide, make sure to deploy on Entangle testnets and complete Register as a Distributor.

Overview

The Photon Messaging Layer provides Builders with the capability to transmit and receive cross-chain messages via gateways known as Circuits.

Initiating a cross-chain transaction requires sending a proposal to a Circuit within the source blockchain. This Circuit then generates an "operation proposal event" that is signed and aggregated by Transmitter Agents and conveyed to the Controller Smart Contract on the Entangle Blockchain.

The Controller confirms the following:

  • Transmitters have been "employed" by Distributors.

  • The targeted consensus rate has been met.

Upon successful verification, Conductor Agents forward the proposal to the corresponding Circuit on the destination blockchain, where a final verification is conducted before the targeted smart contract is called, completing the cross-chain message transfer.

In addition to handling operation proposal events from Circuits, Transmitters have the ability to gather information from events generated by any smart contract, various internet sources, or directly from a backend system when required.

The diagram below presents a high-level illustration of cross-chain messaging facilitated by the Proton Messaging Layer:

On the following pages, you can learn how to send and receive cross-chain messages:

Last updated