⭐ HIGHLIGHT | L2+ Subnet Hierarchy and Cross-Xnet Messaging
This release introduces the L2+ subnet hierarchy feature, allowing subnet structures deeper than two levels. This update also enables cross-xnet messaging, facilitating seamless communication across hierarchical subnets.
Key Highlights
- Expanded Hierarchies: Subnets can now extend beyond two levels, enabling more complex and scalable architectures.
- Cross-Xnet Messaging: Supports arbitrary data and token transfers across subnets through contract-to-contract communication.
Limitations
- Only contracts (not externally owned accounts) can invoke cross-xnet messages.
- Token transfers require consistent token compatibility across subnets.
- Multi-hop messages may incur delivery delays due to hierarchical routing.
The Gateway contract provides the functionality for cross-xnet messaging via the sendContractXnetMessage
method. Developers can leverage the IPC SDK for simplified implementation with built-in tools for message handling and debugging.
For more details, including usage examples, contract structures, and debugging tips, refer to the documentation.