An overview of the Hyperlane Route (Prover Contract), responsible for managing intent fulfillment proofs for the Hyperlane Route.
Prover
contract. This section details the Native Path which uses Storage Proofs to relay intent fulfillments.HyperProver
contract for verification. The HyperProver
contract contains a single core function (handle
) and is significantly simpler than the Native Path contract. All code snippets in this section reference this specific commit.
The HyperProver contract uses Hyperlane, a permissionless messaging protocol, to relay proofs of intent fulfillments. For more information about Hyperlane, please see their website.
handle
function takes a message from the Hyperlane Mailbox contract on the Origin chain and verifies the authenticity of the message. It can handle both single intent relays, and batch relays. When a message is validated, it marks the intent as proven.