Middleware Modularity: Decentralizing the Infrastructure Layer
Eigenlayer Implications for Economies of Scale
Tl;DR
This post is about economies of scale implications that Eigenlayer has for the infrastructure level of Web3. Read for ELI5 value prop provided to both stakers and validators through introducing the concept of shared security in the ecosystem.
How does Security affect the value of ETH?
One way of thinking about the economics of ETH, is how much you would get by staking your ETH on Ethereum, which currently gains you 4% APY. The reason why this is significant is because stakers on Ethereum are actively contributing to providing and securing Ethereum security. Staking your ETH means you are providing security to Ethereum, a service for which you get paid in staking rewards. Naturally, the more value is within the Ethereum ecosystem, the more valuable the service you are providing is.
Eigenlayer here can do two things:
Provides valuable security-providing infrastructure blocks. The key thing here is that for any transaction or data that doesn’t already exist on Ethereum, dApps need to find another way to validate transaction or data. In this sense, each dApp which does this must re-invent and build the wheel that suits their own tech stack each time. By providing the building blocks of security, Eigenlayer opens the door for more infrastructure-level innovation by reducing the work needed to generate your own security protocol. An example of this is an oracle like Chainlink which provides off-chain data to Ethereum. They introduced a staking protocol based on its own token, in order to validate the data they are gathering off-chain. Think about the resources this requires! Not every dApp has hundreds of millions of dollars in funding to do this. By greatly decreasing the difficulty of accessing security, Eigenlayer could increase infrastructure innovation and competition for the ecosystem as a whole.
By allowing the re-staking of your ETH, i.e. the ETH that you’ve staked on Ethereum which is returning you 4% APY, can also be used to stake additional services (which would leverage Eigenlayer’s middleware as mentioned above) for which you can earn additional yield.
ELI5: Okay, but how does staking contribute to Ethereum PoS (Proof of Stake) security?
Feel free to skip this section, but perhaps a helpful refresher: Let’s rewind a bit back to how Ethereum actually works. When transactions are sent to Ethereum, they are effectively sequenced into blocks that are then attested to by the validator pool. If you think about Ethereum as a decentralized database, what you are doing when you attempt to execute transactions as a user on Ethereum is proposing a modification to the state of Ethereum, or the state of the database and what it contains.
Given there is no central authority stating the veracity of these state changes, the PoS (Proof of Stake) system relies on a decentralized committee of ‘validators’ whose job it is to attest that the transactions coming in are correct. The more transactions validators approve at a time, the faster your transactions will be approved. Blocks on Ethereum = bundles of transactions. Side note: The more transactions a validator approves, the more computationally expensive it would be for a validator to participate. This is why blocks on Ethereum are relatively smaller than for example, blocks on Solana, and why transactions can be slower. The trade-off made here is one of security. I.e. if you have a relatively large decentralized committee of validators, this increases the probability your system is safe because more parties are validating and less likely to collude), you need to have relatively small blocks of data.
Stakers: The Premise and Economics of Shared Security
How can validator sets be attacked? If you follow a model similar to Ethereum, then a malicious attacker (or group) must first own more ETH than the rest of the honest validators and use that to outvote the block attestations made by those validators. Given that blocks are executed only after being attested to by validators, this could be a potential attack vector. As of Jan 2023, that’s nearly 22.4 billion. The problem here for the malicious staker/validator(s) is that they are likely to lose all of the ETH that they used to outvote the honest validators because there are systems of recourse such as slashing or forking within Ethereum. So unless the attack would earn you more ETH than what you are putting down, doesn’t make sense for you to do it.
The problem this presents for smaller applications is that they would likely have much smaller capital pools for staking, which means it would be economically much easier for an attacker to succeed and be profitable.
Re-Staking: No more Weakest Link
The promise of shared security is that by using the Ethereum staking pool to secure other applications which have much lower total locked value, the cost and feasibility of attacking the protocol go way up because you would have to attack the entire capital pool of Ethereum re-stakers.
dApps: Decentralizing Economies of Scale
The barriers to creating security infrastructure mean that economies of scale have accrued to dApps which have already created their own infrastructure, oftentimes funded by unicorn valuations at the outset. Protocols and applications such as L1 or L2 chains, bridges, or oracles, can only receive a comparable amount of funding as their previous competitors if they are able to create compelling technology innovation to receive the funds that are needed at the outset to build. This naturally means that user-facing developments such as UX/UI are often not the core focuses of these organizations. If Web3 is to truly reach a broader audience, teams that have a more commercial or user-facing focus or simply provide value propositions unrelated to core infrastructure innovations should also be able to compete on those grounds alone, without also having to be cutting-edge researchers.
SaaS (Security as a Service): Building blocks to increase Modularity
Scaling Ethereum/Web3 so far has meant separating data availability and execution layers as a means to reduce the amount of computing that any system has to handle. Layer 2 blockchains seek to separate execution from Ethereum while leveraging its security model by posting data back to the state.
Ethereum is generally recognized as having the best-in-class security model for blockchains. Whenever you decouple from this, security challenges arise. Thus, whether for execution or data availability, protocols must build their own new security models one way or the other.
By providing Security as a Service to stakers and dApps, Eigenlayer presents possibilities for modularizing even more components of how we conduct transactions or collect data on-chain. Some possibilities they have outlined in their whitepaper:
Hyperscale DA layer
Decentralized sequencers
Light-node bridges
Fast-mode bridges for Rollups
Oracles
Opt-in Event-Drive Activation
Opt-in MEV Management
Settlement Chains with Ultra-Low Latency
Single Slot Finality
I will note many of the above applications exist in one way or another, many of them at very high valuations. Personally, I am very interested in seeing how Eigenlayer could potentially level the playing field for further infrastructure innovation.
