Overview of the Compose Network Mailbox contract
The Mailbox contract is a core component of the Compose Network that enables cross-chain communication between different rollups. It implements a message passing system where contracts can send messages to other chains and receive messages from other chains through a coordinator-managed inbox and outbox system. Key capabilities include:
- Managing inbox and outbox for cross-chain messages
- Providing key-based message storage and retrieval
- Enabling coordinator-controlled message population
- Supporting chain-specific message roots for efficient verification
- Implementing session-based message organization