Protocol Specs
Deterministic Order ID
How DLN order IDs are derived, including inputs and hash format.
An order placed onto DLN is identified by a deterministic keccak256 hash derived from an array of bytes that contains all the properties of the order.
The array is designed to be cross-chain compatible, so the smart contracts residing on both EVM and Solana can easily reproduce it. The smart
contracts implementing the DLN protocol usually accept all these properties as a single data struct and derive an orderId programmatically to
guarantee the order with the proper orderId is being managed.
To get the deterministic orderId of the order, the array of bytes should contain its following properties: