Voyager
Voyager is our in-house relayer, allowing us to support new networks without waiting for up-stream support.
Architecture
At it’s core, Voyager is a virtual machine. The instructions of the program it executes describe how to fetch data from chains, how to aggregate that data, and how to send messages back to the chains. A postgres-based priority queue is used to store the messages, utilizing postgres’ transactional integrity to ensure no invalid state is reached. This allows us to take the “let it fail” approach when it comes to error handling - since no state is held within the application itself, Voyager can crash and restart safely without corrupting it’s state or missing packets.