Implementation Guide
A Hyperlane implementation for a new chain architecture is comprised of the following:
- 1.
- 2.
- 3.
Below describes the onchain contract spec for the Hyperlane protocol. It uses solidity types for familiarity but everything should be generalizable to other languages.
address
should be interpreted as the local chain's address typepayable
describes 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.