BAC-L3-AVAX-115Avalanche
Cross-chain messaging II — a distributed application
Building an application whose state lives on two chains, and taking seriously what happens when a message never arrives.
- Level
- L3 — Infrastructure engineer
- Duration
- 4 h
- Track
- Avalanche
- Maintainer
- Avalanche Lead Architect
Learning objectives
- 01Design an application protocol tolerant to message loss
- 02Implement an asset transfer between two L1s
- 03Handle latency and failure cases explicitly
Guided lab
Implement an asset transfer between two L1s and verify supply conservation.
Independent lab
Drop a message deliberately and prove the application neither created nor destroyed value.
Security angle
Message replay: what stops a valid message being executed twice.
Assessment
Distributed application tested under loss and replay scenarios.
