Emit event
Cross Chain Messaging Protocol makes it possible to send events between different chains. CCMP relies on the events. To start interacting with it, modify your Src smart contract to emit the event.
You could also add destChainId and destAddress params to the event to make it more specific. However, none of those are required, and you could pass any parameters depending on your internal dApp logic.
See the example of sendMessage
transaction on the explorer.
Last updated