Skip to content
This repository was archived by the owner on May 9, 2024. It is now read-only.
Discussion options

You must be logged in to vote

The relayer is the ChainBridge-Core-Example binary written in Go that is run as a daemon.

This does not produce blocks but rather connects to already hosted nodes on the two (or more) separate chains. This facilitates the bridge process; it listens to events on one chain, like a deposit (e.g. token lock), reads the amount deposited + other data, then constructs a corresponding write request (transaction) that executes a function invocation on the destination chain (e.g. token mint).

Without the relayer, the bridge contracts on either chain would not be able to communicate with one another; ergo, the relayer is the bridge.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by roethke
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant