DApp Integration Overview
Concero V2 is a message protocol where each message defines its own delivery and verification stack.
At a high level:
- Source app creates a
MessageRequestand pays message fee. ConceroRouteremits a message receipt.- Relayer requests message verification for the message and delivers it to destination router.
- Destination router receives the message, forwarding it to the app.
- Destination app verifies the message and runs its logic.
Mental model: two layers
Protocol Layer
Handled by router, relayers and verifiers:
- Fee quoting,
- Message event emission,
- Message verification,
- Message delivery to destination router.
Application Layer
Handled by your ConceroClient on the destination chain:
- Accepting messages only from Concero Router.
- Allowing only trusted relayers and verifiers.
- Executing app logic in
_conceroReceive.
Your Application Responsibilities
- Configure
ConceroClient/ConceroClientBasesafely. - Allowlist relayer and verifier modules you trust.
- Set verification policy (
all required verifiersby default inConceroClient). - Decode and process payload in
_conceroReceive.