To build the binary, switch to the right branch Branch Select, then run:
./build.sh testnet/mainnet
-
Make sure necessory configuration is specifed in
config.json
Sample. -
Specify roles to enable in
roles.json
Sample
./server --config ./config.json --roles ./roles.json
- Header Sync
Some chains require HeaderSync
process to run to submit chain headers to poly chain.
- Source Chain -> Poly
TxListen
observes cross chain transactions from source chain, and push them to message queue.
TxCommit
consumes the message queue, and submit the cross chain transactions to poly.
- Poly -> Destination Chain
PolyListen
observes cross chain transactions from poly chain and push them to message queue.
ONLY ONE PolyListen
PROCESS IS NEEDED FOR ALL CHAINS!
PolyCommit
consumes the message queue, and submit the cross chain transaction to the destination chain.