A serious technical discussion: Buy and Sell cross-chain assets in one transaction. #Stargate has implemented 2-3 transactions-in-one. How many transactions does an Omnichain Aggregator need to process at one time?
At least 4, possibly 20+, besides pay gas only once.
Bob is on ethereum, intends to buy ETH/BTC with 200,000 USDC, he just wants to settle this in one transaction. This is a common requirement.
What should Bob do?
Pancake on BNB and Spooky on Fantom can offer lower prices (disregarding the impact of slippage for now), which means that Bob can buy more ETH/BTC.
Does Bob have a better choice now? He is willing to pay fees as long as someone can help him.
The whole process goes through several complex parts. 1. Discover pools and feed prices, and simulate trading results;
2. Choose the optimal path by weighing the results of Pathfinding and Movement (such as "Jump Point Search"); 3. Allocate funds according to the path;
Local-chain exchange, BNB cross-chain exchange, Fantom cross-chain exchange (all transactions-in-one);
But if a whale suddenly appeared on pancake and bought a lot of ETH. Poor Bob is about to lose. "OSWAP" will protect him and revoke the transaction on BNB.
This whale on BNB plans to buy ETH with 500,000 USDC. His choice is the same as Bob's.
As stated in this thread, we are on track to achieve this - "Oswap", will be the infrastructure of the Omnichain era. Meanwhile, we know exactly how complicated and difficult it can be.
Thread ends.
• • •
Missing some Tweet in this thread? You can try to
force a refresh