HyperlaneConnectionClient
The easiest way to integrate with Hyperlane
Inheriting from HyperlaneConnectionClient
is a simple way to ensure your contract knows where to send or receive interchain messages to or from.
This mix-in contract maintains a pointers to the three contracts Hyperlane developers may need to interact with:
Mailbox
(required)InterchainGasPaymaster
(optional)InterchainSecurityModule
(optional)
HyperlaneConnectionClient
exposes functions that allow subclasses to easily send messages to the Mailbox
via the mailbox
storage variable, and permission message delivery via the onlyMailbox
modifier.
__
Last updated