A Hyperlane implementation for a new chain architecture is comprised of the following:
Below describes the onchain contract spec for the Hyperlane protocol. It uses solidity types for familiarity but everything should be generalizable to other languages.
addressshould be interpreted as the local chain's address type
payabledescribes a function that allows callers to pass native tokens
The message is the core data structure used by the Hyperlane protocol. It is a packed data structure that contains all the information needed to route a message from one domain to another.