I just finished reading the page in the UniHexa docs about trading design. The entire system is clearly divided into three layers:
▪️ Matching layer: responsible for identifying buyers and sellers, and confirming trade quantities and prices
▪️ Business layer: responsible for recording orders, trade details, and settlement status
▪️ Rollup layer: responsible for handling on-chain execution, including selecting UTXOs, assembling PSBTs, broadcasting, and confirmation
There are three key concepts in the docs that are easy to remember: MatchTrade represents the fact that a trade has been executed; Settlement Leg defines the boundary for on-chain execution and exception handling; and Rollup Batch is the mechanism for compressing or splitting multiple settlements (Settlement Legs) into Bitcoin transactions. Even when on-chain outputs are compressed, the underlying accounting layer still records each settlement leg separately.
The docs also clearly state the limits of the design: Rollup is intended to improve settlement efficiency, but it cannot bypass Bitcoin’s block confirmation times or transaction limits. Network fees, confirmation times, transaction constraints, and the protocol rules inherent to different asset types are all objective realities.
For asset support, it adopts a “protocol-agnostic” design approach, enabling popular Bitcoin-native assets and various protocols in the community to trade on the same order book. Although the underlying settlement logic differs, users always see a unified market interface.
#FB #UniSat $FB
▪️ Matching layer: responsible for identifying buyers and sellers, and confirming trade quantities and prices
▪️ Business layer: responsible for recording orders, trade details, and settlement status
▪️ Rollup layer: responsible for handling on-chain execution, including selecting UTXOs, assembling PSBTs, broadcasting, and confirmation
There are three key concepts in the docs that are easy to remember: MatchTrade represents the fact that a trade has been executed; Settlement Leg defines the boundary for on-chain execution and exception handling; and Rollup Batch is the mechanism for compressing or splitting multiple settlements (Settlement Legs) into Bitcoin transactions. Even when on-chain outputs are compressed, the underlying accounting layer still records each settlement leg separately.
The docs also clearly state the limits of the design: Rollup is intended to improve settlement efficiency, but it cannot bypass Bitcoin’s block confirmation times or transaction limits. Network fees, confirmation times, transaction constraints, and the protocol rules inherent to different asset types are all objective realities.
For asset support, it adopts a “protocol-agnostic” design approach, enabling popular Bitcoin-native assets and various protocols in the community to trade on the same order book. Although the underlying settlement logic differs, users always see a unified market interface.
#FB #UniSat $FB