Addressing MEV (Maximal Extractable Value) has been an ongoing challenge for Ethereum; the value supply chain incentivizes constant activity from arbitrageurs with diverse strategies of varying levels of sophistication, often at the expense of retail users. While many researchers have tried to address MEV through protocol-level changes, these efforts have not yet provided a satisfactory solution. The canonical infrastructure and auction mechanisms currently in use are able to competitively capture the lump-sum MEV in a block, but capture without fair redistribution is inadequate: why should MEV value accrue to the network validators when it can more effectively be captured and internalized on an application-by-application basis?
Enter Application-Specific Sequencing (ASS). Rather than attempting to rewrite the rules at the protocol level, ASS gives individual apps the power to take control of how their transactions are sequenced. By doing so, ASS allows onchain applications to protect their users and liquidity from the harmful effects of MEV while also giving them the opportunity to capture value that would otherwise be lost to Ethereum validators.
Imagine the potential: instead of high-frequency traders competing to maximally arbitrage each user (with nearly all of the arbitraged value leaking to the validators and hence underlying chains), each app could define its own rules for transaction ordering, creating a more tailored, efficient, and fair system for its own users. This marks a shift from trying to solve MEV at the network level to addressing it where it matters most—the application itself.
The concept behind Application-Specific Sequencing (ASS) originated from Matheus’s work on the Verifiable Sequencing Rule (VSR) for decentralized exchanges (DEXes). Matheus demonstrated that VSR could improve trade execution and mitigate MEV by reducing miners’ influence over transaction ordering. Tarun later expanded on this idea by showing how app-specific sequencing rules could significantly affect the payoff functions for protocol participants, such as users, validators, and sequencers.
Here, the payoff function represents the economic value of a particular transaction ordering. This value reflects the profit or utility gained by protocol participants, showing how transaction ordering impacts their financial outcomes. There are two critical characteristics of the payoff functions:
When payoff functions exhibit both of these characteristics, optimizing the sequencing strategy becomes highly complex. In such cases, more sophisticated and bespoke approaches are necessary, at the application level, to ensure equitable outcomes for users and a sustainable DeFi ecosystem.
To understand ASS, let’s first review the existing transaction supply chain.
In the current system:
The figure below illustrates this process, showing how transactions flow from mempools to the blockchain via builders and trusted relays.
Diagram of the current transaction supply chain
Applications enabled by ASS, on the other hand, have the following properties:
ASS allows applications on any chain to regain sovereignty over its execution and contract state, hence enabling sovereign applications.
Given these fundamental tenets, let’s use Angstrom as a practical example of a sovereign application. Angstrom is a UniswapV4 hook that protects its liquidity providers from adverse selection by CEX-DEX arbitrageurs, while also protecting swappers from sandwich attacks. A network of Angstrom nodes come to consensus, in parallel to Ethereum, on the set of transactions to be executed in the next block. The general flow is as follows:
The following diagram illustrates the sovereign application in action.
The transaction supply chain in Angstrom
At its core, ASS is a form of partial block building where a sovereign application delegates the sequencing rights to a decentralized network of operators following a prescribed sequencing rule. Consequently, ASS inevitably involves external parties who introduce additional liveness and trust assumptions.
Sovereign applications depend on app-specific sequencers to follow the protocol correctly and provide timely state updates. In the event of a liveness breach, such as a network partition, users may be unable to interact with parts of the application until valid consensus is restored.
Sovereign applications can also limit the scope of contract state whose updates depend on their sequencers. This helps minimize the external dependencies of the contract such that critical states, like deposited liquidity, can remain accessible even in the event of a sequencer failure.
To ensure sequencers adhere to the prescribed sequencing rules, sovereign applications can leverage cryptoeconomic solutions (such as PoS) or cryptographic methods (like TEE or MPC). The specific approach may vary significantly depending on the needs of the application; some may require consensus on execution optimality, while others may focus on ensuring pre-execution privacy through cryptographic mechanisms. There are numerous tools available to reduce the trust overhead of sequencers and meet the unique objectives of each sovereign application.
There are various types of censorship plaguing the Ethereum ecosystem:
Many researchers have voiced out the need for a better censorship resistance mechanism on Ethereum. Some proposals, like Multiple Concurrent Proposer (MCP) and Fork-Choice enforced Inclusion List (FOCIL), have surfaced and became the center of an ongoing discussion.
Censorship resistance is also a major concern for sovereign application. The app-specific sequencers are likely external entities with various interests in receiving additional private transactions and orderflow. For example, an app-specific validator who is a market maker has an incentive to censor transactions sent by competing market makers. The sovereign application on top can thus suffer local censorship even if the base protocol is non-censoring.
One example of a censorship resistance mechanism for ASS is Angstrom. To ensure that all valid orders are included in the upcoming slot, Angstrom nodes must broadcast any verified incoming orders and reach consensus on their inclusion within the proposed transaction bundle. If the bundle is missing orders observed by the majority of the network, the proposer will be penalized. Here is an illustration of the censorship resistance mechanism for Angstrom.
Censorship resistance in a decentralized sovereign application
One of the major challenges that sovereign applications face is ensuring composability with transactions that interact with external contract states. Simply bundling app-specific transactions with arbitrary external ones undermines the order-agnostic property that is necessary for protecting the sovereign application and its users. A single invalid non-ASS transaction, when composed with an app-specific one, can have the second-order effect of reverting the entire bundle. When this happens, the sovereign application cannot execute its users’ orders during the allocated slot (despite valid consensus being reached), thus harming user experience and overall welfare.
There are, however, potential solutions to the issue of composability, several of which are being explored by various teams. These include concepts like inclusion preconfirmations, shared app-specific sequencers, and builder commitments, each offering tradeoffs between degree of composability and trust overhead.
To explain inclusion preconfirmations, it’s important to first understand how based preconfirmations work. Based preconfirmations leverages cryptoeconomic security by ensuring proposers have put forth staked collateral to guarantee the inclusion of a specific set of transactions ahead of a slot within the current epoch. This guarantee is limited by the size of the bond posted by the participating proposers.
Inclusion preconfirmations are a specialized form of based preconfirmations, where transaction inclusion is independent of any contract state. Transactions requesting inclusion preconfirmations must be state-agnostic and non-contentious, meaning their execution is unaffected by their position within the block. By utilizing inclusion preconfirmations, proposers can commit to including a non-ASS transaction only if the ASS bundle is included in the same block. This approach provides cryptoeconomically enforced composability between non-contentious transactions and ASS bundles.
Illustration of inclusion preconf with ASS
However, given the limited composability provided by this solution, the added complexity and trust overhead may outweigh its benefits for certain sovereign applications. As a result, it’s important to explore alternative approaches that could offer a more effective balance between simplicity and functionality.
Instead of relying on proposer commitments, sovereign applications can use app-specific sequencers to manage transaction ordering across multiple applications. For example, a sequencer handling transactions for several sovereign applications can facilitate atomic composability between them, as long as it follows the sequencing rules of each. This shared app-specific sequencer approach enables seamless composability and coordination across sovereign applications.
However, for non-sovereign applications, a different solution is required. Transaction inclusion commitments from block builders who participate in sequencing for sovereign applications can create atomic composability between non-sovereign and sovereign applications. Builder ensures the specified transaction order across both types of applications. Such builder commitment can bridge the composability gap for ASS.
Illustration of builder commitment for atomic composability between sovereign and non-sovereign dApps (right) and shared app-specific sequencer for atomic composability between sovereign Apps (left)
While questions remain about the economic dynamics of builder commitments, the feasibility of inclusion preconfirmation, and potential second-order effects, we are confident that the composability challenges of ASS will be resolved over time. Teams like Astria and Primev are actively researching and developing improved frameworks for shared sequencing and builder commitments. As these advancements progress, composability will no longer be an issue for sovereign applications.
Currently, dApps have to build app-specific chains if they want to take control of the sequencing of their transactions. Concepts like Protocol Owned Builder (PoB) enables Cosmos L1s to have more expressive sequencing rules that help capture and redistribute MEV to their application. Similarly, an L2 sequencer with VSR can also perform such operations. While both solutions allow more expressive sequencing and capturing of MEV by its applications, ASS is unique due to the following characteristics.
Table comparing sovereign applications, L2, Based L2, and L1
ASS empowers applications with full sovereignty over transaction sequencing, enabling them to define custom rules without the complexity of managing execution. This sovereignty allows applications to control its execution to optimize outcomes for their users. For instance, on Angstrom, LPs and swappers are treated as first-class participants, with their economic payoff directly enhanced through custom sequencing rules.
Additionally, ASS can leverage a range of cryptoeconomic and cryptographic tools to enforce the optimality of user payoffs and implement robust censorship resistance mechanisms. Cryptoeconomic solutions, such as staking and slashing, can incentivize honest behavior among sequencers, while cryptographic methods like TEE and MPC enhance privacy and security. With these tools, the design potential of ASS is vast, allowing for the creation of more secure, efficient, and user-centered sovereign applications.
Despite the opportunities ASS offers, challenges such as the lack of native composability still exist. However, solutions like inclusion preconfirmation, shared ASS, and builder commitment present promising ways to overcome these hurdles. While some questions remain, we are committed to refining these approaches to deliver a smoother, more composable ASS experience.
We are here to make DeFi more sustainable, one ASS at a time.
Addressing MEV (Maximal Extractable Value) has been an ongoing challenge for Ethereum; the value supply chain incentivizes constant activity from arbitrageurs with diverse strategies of varying levels of sophistication, often at the expense of retail users. While many researchers have tried to address MEV through protocol-level changes, these efforts have not yet provided a satisfactory solution. The canonical infrastructure and auction mechanisms currently in use are able to competitively capture the lump-sum MEV in a block, but capture without fair redistribution is inadequate: why should MEV value accrue to the network validators when it can more effectively be captured and internalized on an application-by-application basis?
Enter Application-Specific Sequencing (ASS). Rather than attempting to rewrite the rules at the protocol level, ASS gives individual apps the power to take control of how their transactions are sequenced. By doing so, ASS allows onchain applications to protect their users and liquidity from the harmful effects of MEV while also giving them the opportunity to capture value that would otherwise be lost to Ethereum validators.
Imagine the potential: instead of high-frequency traders competing to maximally arbitrage each user (with nearly all of the arbitraged value leaking to the validators and hence underlying chains), each app could define its own rules for transaction ordering, creating a more tailored, efficient, and fair system for its own users. This marks a shift from trying to solve MEV at the network level to addressing it where it matters most—the application itself.
The concept behind Application-Specific Sequencing (ASS) originated from Matheus’s work on the Verifiable Sequencing Rule (VSR) for decentralized exchanges (DEXes). Matheus demonstrated that VSR could improve trade execution and mitigate MEV by reducing miners’ influence over transaction ordering. Tarun later expanded on this idea by showing how app-specific sequencing rules could significantly affect the payoff functions for protocol participants, such as users, validators, and sequencers.
Here, the payoff function represents the economic value of a particular transaction ordering. This value reflects the profit or utility gained by protocol participants, showing how transaction ordering impacts their financial outcomes. There are two critical characteristics of the payoff functions:
When payoff functions exhibit both of these characteristics, optimizing the sequencing strategy becomes highly complex. In such cases, more sophisticated and bespoke approaches are necessary, at the application level, to ensure equitable outcomes for users and a sustainable DeFi ecosystem.
To understand ASS, let’s first review the existing transaction supply chain.
In the current system:
The figure below illustrates this process, showing how transactions flow from mempools to the blockchain via builders and trusted relays.
Diagram of the current transaction supply chain
Applications enabled by ASS, on the other hand, have the following properties:
ASS allows applications on any chain to regain sovereignty over its execution and contract state, hence enabling sovereign applications.
Given these fundamental tenets, let’s use Angstrom as a practical example of a sovereign application. Angstrom is a UniswapV4 hook that protects its liquidity providers from adverse selection by CEX-DEX arbitrageurs, while also protecting swappers from sandwich attacks. A network of Angstrom nodes come to consensus, in parallel to Ethereum, on the set of transactions to be executed in the next block. The general flow is as follows:
The following diagram illustrates the sovereign application in action.
The transaction supply chain in Angstrom
At its core, ASS is a form of partial block building where a sovereign application delegates the sequencing rights to a decentralized network of operators following a prescribed sequencing rule. Consequently, ASS inevitably involves external parties who introduce additional liveness and trust assumptions.
Sovereign applications depend on app-specific sequencers to follow the protocol correctly and provide timely state updates. In the event of a liveness breach, such as a network partition, users may be unable to interact with parts of the application until valid consensus is restored.
Sovereign applications can also limit the scope of contract state whose updates depend on their sequencers. This helps minimize the external dependencies of the contract such that critical states, like deposited liquidity, can remain accessible even in the event of a sequencer failure.
To ensure sequencers adhere to the prescribed sequencing rules, sovereign applications can leverage cryptoeconomic solutions (such as PoS) or cryptographic methods (like TEE or MPC). The specific approach may vary significantly depending on the needs of the application; some may require consensus on execution optimality, while others may focus on ensuring pre-execution privacy through cryptographic mechanisms. There are numerous tools available to reduce the trust overhead of sequencers and meet the unique objectives of each sovereign application.
There are various types of censorship plaguing the Ethereum ecosystem:
Many researchers have voiced out the need for a better censorship resistance mechanism on Ethereum. Some proposals, like Multiple Concurrent Proposer (MCP) and Fork-Choice enforced Inclusion List (FOCIL), have surfaced and became the center of an ongoing discussion.
Censorship resistance is also a major concern for sovereign application. The app-specific sequencers are likely external entities with various interests in receiving additional private transactions and orderflow. For example, an app-specific validator who is a market maker has an incentive to censor transactions sent by competing market makers. The sovereign application on top can thus suffer local censorship even if the base protocol is non-censoring.
One example of a censorship resistance mechanism for ASS is Angstrom. To ensure that all valid orders are included in the upcoming slot, Angstrom nodes must broadcast any verified incoming orders and reach consensus on their inclusion within the proposed transaction bundle. If the bundle is missing orders observed by the majority of the network, the proposer will be penalized. Here is an illustration of the censorship resistance mechanism for Angstrom.
Censorship resistance in a decentralized sovereign application
One of the major challenges that sovereign applications face is ensuring composability with transactions that interact with external contract states. Simply bundling app-specific transactions with arbitrary external ones undermines the order-agnostic property that is necessary for protecting the sovereign application and its users. A single invalid non-ASS transaction, when composed with an app-specific one, can have the second-order effect of reverting the entire bundle. When this happens, the sovereign application cannot execute its users’ orders during the allocated slot (despite valid consensus being reached), thus harming user experience and overall welfare.
There are, however, potential solutions to the issue of composability, several of which are being explored by various teams. These include concepts like inclusion preconfirmations, shared app-specific sequencers, and builder commitments, each offering tradeoffs between degree of composability and trust overhead.
To explain inclusion preconfirmations, it’s important to first understand how based preconfirmations work. Based preconfirmations leverages cryptoeconomic security by ensuring proposers have put forth staked collateral to guarantee the inclusion of a specific set of transactions ahead of a slot within the current epoch. This guarantee is limited by the size of the bond posted by the participating proposers.
Inclusion preconfirmations are a specialized form of based preconfirmations, where transaction inclusion is independent of any contract state. Transactions requesting inclusion preconfirmations must be state-agnostic and non-contentious, meaning their execution is unaffected by their position within the block. By utilizing inclusion preconfirmations, proposers can commit to including a non-ASS transaction only if the ASS bundle is included in the same block. This approach provides cryptoeconomically enforced composability between non-contentious transactions and ASS bundles.
Illustration of inclusion preconf with ASS
However, given the limited composability provided by this solution, the added complexity and trust overhead may outweigh its benefits for certain sovereign applications. As a result, it’s important to explore alternative approaches that could offer a more effective balance between simplicity and functionality.
Instead of relying on proposer commitments, sovereign applications can use app-specific sequencers to manage transaction ordering across multiple applications. For example, a sequencer handling transactions for several sovereign applications can facilitate atomic composability between them, as long as it follows the sequencing rules of each. This shared app-specific sequencer approach enables seamless composability and coordination across sovereign applications.
However, for non-sovereign applications, a different solution is required. Transaction inclusion commitments from block builders who participate in sequencing for sovereign applications can create atomic composability between non-sovereign and sovereign applications. Builder ensures the specified transaction order across both types of applications. Such builder commitment can bridge the composability gap for ASS.
Illustration of builder commitment for atomic composability between sovereign and non-sovereign dApps (right) and shared app-specific sequencer for atomic composability between sovereign Apps (left)
While questions remain about the economic dynamics of builder commitments, the feasibility of inclusion preconfirmation, and potential second-order effects, we are confident that the composability challenges of ASS will be resolved over time. Teams like Astria and Primev are actively researching and developing improved frameworks for shared sequencing and builder commitments. As these advancements progress, composability will no longer be an issue for sovereign applications.
Currently, dApps have to build app-specific chains if they want to take control of the sequencing of their transactions. Concepts like Protocol Owned Builder (PoB) enables Cosmos L1s to have more expressive sequencing rules that help capture and redistribute MEV to their application. Similarly, an L2 sequencer with VSR can also perform such operations. While both solutions allow more expressive sequencing and capturing of MEV by its applications, ASS is unique due to the following characteristics.
Table comparing sovereign applications, L2, Based L2, and L1
ASS empowers applications with full sovereignty over transaction sequencing, enabling them to define custom rules without the complexity of managing execution. This sovereignty allows applications to control its execution to optimize outcomes for their users. For instance, on Angstrom, LPs and swappers are treated as first-class participants, with their economic payoff directly enhanced through custom sequencing rules.
Additionally, ASS can leverage a range of cryptoeconomic and cryptographic tools to enforce the optimality of user payoffs and implement robust censorship resistance mechanisms. Cryptoeconomic solutions, such as staking and slashing, can incentivize honest behavior among sequencers, while cryptographic methods like TEE and MPC enhance privacy and security. With these tools, the design potential of ASS is vast, allowing for the creation of more secure, efficient, and user-centered sovereign applications.
Despite the opportunities ASS offers, challenges such as the lack of native composability still exist. However, solutions like inclusion preconfirmation, shared ASS, and builder commitment present promising ways to overcome these hurdles. While some questions remain, we are committed to refining these approaches to deliver a smoother, more composable ASS experience.
We are here to make DeFi more sustainable, one ASS at a time.