Skip to content

Latest commit

 

History

History
57 lines (23 loc) · 1.07 KB

README.md

File metadata and controls

57 lines (23 loc) · 1.07 KB

Poly Relayer Setup Guide

Build and binaries

To build the binary, switch to the right branch Branch Select, then run:

./build.sh testnet/mainnet

Configuration

  • Make sure necessory configuration is specifed in config.json Sample.

  • Specify roles to enable in roles.json Sample

Run

./server --config ./config.json --roles ./roles.json

About Roles

  • 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.