The cosmos gateway is comprised of two components
- Gateway - Responsible for managing connections on the cosmos side and translating between the cosmos wire protocol and an intermediate format. It is powered by TendermintConnector, more infor on which can be gathered from here: https://github.com/supragya/TendermintConnector.
- Bridge - Responsible for managing connections on the Marlin side and translating between the intermediate format and the Marlin wire protocol. Also responsible for managing Marlin specific bits like discovery and message attestations.