Protocol v1 is MAP Protocol's light client-based cross-chain solution. It enables trustless cross-chain communication by verifying transactions through on-chain light clients, ensuring security based on the cryptographic proofs of source chains.
- Trustless Verification: No trusted third party required for cross-chain verification
- Cryptographic Security: Security derived from source chain consensus
- Universal Compatibility: Support for both EVM and non-EVM chains
- Decentralized Operation: Permissionless participation as Maintainer or Messenger
┌─────────────────────────────────────────────────────────────────────────────┐
│ Source Chain │
│ ┌─────────────┐ │
│ │ DApp │──── Cross-chain Message ────┐ │
│ └─────────────┘ │ │
│ ▼ │
│ ┌─────────────────────────────────────────────────────────────────┐ │
│ │ MOS Contract │ │
│ │ - Emit cross-chain event │ │
│ │ - Record message hash │ │
│ └─────────────────────────────────────────────────────────────────┘ │
└─────────────────────────────────────────────────────────────────────────────┘
│
│ Maintainer monitors events
│ Updates light client
▼
┌─────────────────────────────────────────────────────────────────────────────┐
│ MAP Relay Chain │
│ ┌─────────────────────────────────────────────────────────────────┐ │
│ │ Light Client (Source Chain) │ │
│ │ - Stores block headers │ │
│ │ - Verifies Merkle proofs │ │
│ └─────────────────────────────────────────────────────────────────┘ │
│ │
│ ┌─────────────────────────────────────────────────────────────────┐ │
│ │ Light Client (Target Chain) │ │
│ │ - Stores block headers │ │
│ │ - Verifies Merkle proofs │ │
│ └─────────────────────────────────────────────────────────────────┘ │
└─────────────────────────────────────────────────────────────────────────────┘
│
│ Messenger relays message
│ with Merkle proof
▼
┌─────────────────────────────────────────────────────────────────────────────┐
│ Target Chain │
│ ┌─────────────────────────────────────────────────────────────────┐ │
│ │ Light Client (MAP Relay Chain) │ │
│ │ - Verifies proof from relay chain │ │
│ └─────────────────────────────────────────────────────────────────┘ │
│ │ │
│ ▼ │
│ ┌─────────────────────────────────────────────────────────────────┐ │
│ │ MOS Contract │ │
│ │ - Verify message proof │ │
│ │ - Execute cross-chain call │ │
│ └─────────────────────────────────────────────────────────────────┘ │
│ │ │
│ ▼ │
│ ┌─────────────┐ │
│ │ DApp │◄─── Cross-chain Message Delivered │
│ └─────────────┘ │
└─────────────────────────────────────────────────────────────────────────────┘
Light clients are smart contracts deployed on each chain that maintain minimal state needed to verify transactions from other chains.
Functions:
- Store block headers (or validator set for PoS chains)
- Verify Merkle proofs
- Validate transaction inclusion
Implementations:
- MAPO Light Client (deployed on other chains)
- Other chain light clients (deployed on MAP Relay Chain)
MOS is the message passing layer that standardizes cross-chain communication.
Features:
- Unified message format
- Cross-chain event emission
- Message verification interface
Maintainers are off-chain services that keep light clients updated.
Responsibilities:
- Monitor source chain blocks
- Submit block headers to light clients
- Ensure light client state is current
Messengers relay cross-chain messages between chains.
Responsibilities:
- Monitor cross-chain events
- Generate Merkle proofs
- Submit messages with proofs to target chains
- Earn fees for successful delivery
- User/DApp calls MOS contract on source chain
- MOS contract emits cross-chain event
- Event includes: target chain, target address, payload, fee
- Maintainer detects new blocks on source chain
- Maintainer submits block headers to light client on relay chain
- Light client verifies and stores headers
- Messenger detects cross-chain event
- Messenger generates Merkle proof for the event
- Messenger submits message + proof to target chain
- Target chain MOS contract receives message
- Light client verifies Merkle proof
- If valid, MOS contract executes the cross-chain call
- Target DApp receives the message
- Source chain consensus is secure
- Light client implementation is correct
- At least one honest Maintainer keeps light client updated
| Attack | Mitigation |
|---|---|
| Fake block headers | Light client verifies consensus signatures |
| Invalid proofs | Merkle proof verification |
| Stale light client | Multiple independent Maintainers |
| Message replay | Nonce tracking in MOS contracts |
- Ethereum
- BSC
- Polygon
- Arbitrum
- And more...
- Near Protocol
- (Others with light client implementation)
- Gas Costs: Proof verification can be expensive
- Light Client Development: Requires implementation for each chain
- Update Latency: Light client needs time to sync
- No Bitcoin Support: Bitcoin lacks smart contract capability