Workflow
How Router CrossTalk library enables cross-chain communication
To facilitate cross-chain messaging, Router's CrossTalk library interfaces with the following components of Router Protocol:
For any cross-chain message transfer, generic handlers are the only piece of code that interacts with the application. Generic handler is used for the following tasks:
- Mapping and unmapping cross-chain contracts
- Handle cross-chain requests (both send and sync)
The bridge contract is responsible for:
- creating a record of all the incoming cross-chain transactions
- executing all outgoing cross-chain transactions based on the voting process
Relayer module is a GoLang application that constantly listens for incoming deposit records across multiple chains and performs validation and execution of proposals on the specified destination chain.

How the CrossTalk library leverages Router's infrastructure to enable cross-chain communication
Last modified 1yr ago