Author: Dr. Malte Kliemann
Revision: 2
Introduction
The following architecture design allows users of the Zeitgeist runtime to use the DLMSR AMM and CDA in parallel on the markets they create by splitting and routing trades to achieve the best execution price.
The design requires an off-chain matcher to provide a list of order IDs which should be used to fill the users order. Using the on-chain router in combination with an off-chain matcher has one crushing advantage over just using an off-chain matcher: If multiple trades come in on the same block, collisions can be avoided.
Blockchain Architecture Changes
Scoring Rules