Architecture

At its core, Hyperlane enables arbitrary message passing between blockchains via on-chain Mailbox contracts. Mbel Finance uses this to send encoded lending-related data like position information or user actions across chains for processing or finalization.

When a user interacts with the lending protocol (for example, initiating a deposit), a smart contract on the origin chain (Etherlink) uses the Mailbox contract to dispatch a message. This message contains the necessary information about the user action and is emitted as an event on-chain.

A Relayer service monitors these Mailbox contracts and picks up the emitted messages. The Relayer then delivers the message to the destination chain (e.g., Arbitrum Sepolia), where another Mailbox contract receives it.

On the destination chain, Mbel has deployed a settlement or verification smart contract that consumes the message. But before it is executed, the message is verified by an Interchain Security Module (ISM) a plug-and-play component in Hyperlane that validates the authenticity and origin of the message.

Once verified, the message is processed by the target contract, updating balances, recording settlement, or taking another action, depending on the payload.

Components Used

  • Mailbox Contracts Deployed by Hyperlane on all chains. These contracts provide the interface for sending and receiving interchain messages.

  • Relayer A service that listens to Mailbox dispatch events on the source chain and delivers them to the Mailbox on the destination chain. This can be run by anyone, including Mbel Finance operators or independent relayers.

  • Interchain Security Module (ISM) Each application using Hyperlane can define a custom ISM. In Mbel Finance, ISMs verify that messages are valid and not spoofed, before allowing the target contract to process them.

  • Sender Contract A smart contract on Etherlink that interacts with the Mailbox to send encoded lending-related data such as position ID, amount, or user address.

  • Receiver Contract A contract on Arbitrum Sepolia that consumes the verified message and updates the protocol’s internal state accordingly.

Why Hyperlane for Mbel Finance?

Mbel Finance chose Hyperlane because it aligns with Mbel Finance’s permissionless and modular design principles:

  • Permissionless Deployment: Mbel Finance doesn’t need approval to use Hyperlane. Any developer can deploy Mailbox contracts and integrate them.

  • Customizable Security: With modular ISMs, Mbel can define different trust models per message type or chain pair.

  • Efficient Cross-Chain Messaging: By removing the need for centralized bridges, Mbel Finance achieves fast, secure, and cost-effective interoperability.

This architecture ensures that lending activity on Mbel Finance remains decentralized and composable across chains while minimizing operational risk.


Note: This documentation may occasionally be out of sync. Please refresh the page before reading to ensure the latest version is displayed.

Last updated