What are adapters?

Different providers' AMB endpoints require different function signatures for sending and receiving messages between different chains. These functions are specific to each AMB.

To bridge (no pun intended) this gap, adapters act as an intermediary between the core MMA contracts and individual bridge endpoints. Their main purpose is to establish a standardized communication protocol between the core MMA contracts and each individual bridge endpoint.

In order to include an AMB solution in the MMA design, two adapters are required: the Sender Adapter, which handles outbound messages from Ethereum to other chains, and the Receiver Adapter, which handles inbound messages from non-destination chains. These adapters follow the EIP-5164 standard as implemented here.

A diagram is available below that illustrates the interactions between the core MMA contracts and an AMB infrastructure. Contracts that live on the source chain (Ethereum) are represented in light grey, while those that live on the destination chain are represented in dark grey.

Last updated