Key Benefits
The following key benefits are introduced with the Amarok protocol upgrade:
Fire-and-forget transaction flowÂ
The existing two-phase flow that requires signatures is replaced by a single transaction users sign on the sending chain. This change simplifies both the user experience (UX) as well as the developer experience (devX). The need for cancellations is thereby eliminated which removes a routerâs gas grieving costsÂ
1-of-N-RoutingÂ
Routers are now able to complete transactions of any user. This removes the liveness requirement for routers and makes fund lockups for up to 72 hours a thing of the past. Developers benefit from this as well, as the need for offchain auction code is eliminated.Â
Simpler LiquidityÂ
Capital efficiency and availability are greatly increased as routers receive path-independent liquidity on the transactionâs destination chain â exactly where they provide the liquidity. Rebalancing and fragmentation are eliminated by this as well.Â
Cheaper & Faster TransactionsÂ
Onchain calls are reduced from 4 to a total of 2 which makes the new transaction flow both cheaper and faster.Â
Arbitrary Message PassingÂ
Developers can now utilize Amarok to build fully expressive crosschain dapps. Powerful features such as callback support in Solidity as well as JS-style asynchronos development are unlocked as well.Â
