Comparison of leading restaking: What are the differences between the Babylon protocol on Bitcoin and the EigenLayer on Ethereum?

CN
PANews
Follow
1 year ago

Author: Shawn, E2M Research

The Restaking track represented by EigenLayer has received great attention and has become one of the hottest directions in the current Ethereum. E2M Research has also conducted many discussions on EigenLayer. EigenLayer extends the security of ETH to other applications on the blockchain network, while providing additional income to ETH or LST holders who participate.

Similarly, Babylon allows Bitcoin users to stake BTC to enhance the security of the PoS network, increase network security, earn rewards, and maintain self-custody of Bitcoin. Due to the inability of the Bitcoin mainnet to support complete smart contracts, the architecture design and application scenarios of Babylon differ significantly from EigenLayer. Anurag Arjun, former founder of Polygon and founder of Avail, also stated on social media that Babylon is severely underestimated compared to projects like EigenLayer. It will suddenly gain momentum at some point, which will be a major unlock for the BTC ecosystem.

Comparison of Restaking leaders: What are the differences between the Babylon protocol on Bitcoin and the EigenLayer on Ethereum?

This article hopes to provide a deeper understanding of the similarities and differences between the two projects through a comprehensive comparison.

Introduction to Babylon

Babylon is a Bitcoin security sharing protocol. Currently, it includes two protocols:

  • Bitcoin Timestamp: This protocol sends concise and verifiable timestamps of any data (e.g., PoS blockchain) to Bitcoin.
  • Bitcoin Staking: This protocol allows Bitcoin assets to be staked in a trustless (and self-custodial) manner to provide economic security for any decentralized system.

Bitcoin Timestamp Protocol

First is the structure diagram of the Bitcoin timestamp protocol:

Comparison of Restaking leaders: What are the differences between the Babylon protocol on Bitcoin and the EigenLayer on Ethereum?

The architecture of Babylon is as shown in the above figure. It consists of three parts and has two levels of checkpoints:

  1. Bitcoin, as the timestamp service layer;
  2. Babylon chain (a chain built on the Cosmos SDK), as the intermediate layer;
  3. PoS blockchain (e.g., other Cosmos zones) as secure consumers;

An important design consideration is that the data capacity that Bitcoin can carry is very limited. In this case, the Babylon chain has multiple functions:

  1. It aggregates checkpoint streams of many PoS consumer chains, so only one checkpoint stream needs to be inserted into the Bitcoin network to timestamp events for all consumer PoS chains simultaneously.
  2. Checkpoints in the Bitcoin network can be made compact using cryptographic techniques (e.g., aggregate signatures).
  3. It receives checkpoints from consumer PoS chains through the IBC protocol.
  4. It checks the data availability of the checkpoints of PoS consumer chains to prevent attackers from timestamping unavailable data.

This structure helps enhance the security of PoS chains, such as resisting long-range attacks.

Comparison of Restaking leaders: What are the differences between the Babylon protocol on Bitcoin and the EigenLayer on Ethereum?

To protect PoS chains from long-range attacks, we can send the block checkpoints of PoS chains to BTC and select the fork with an earlier BTC timestamp as the legitimate fork. As a result, there are only two possibilities:

  • An attacking fork will have a later timestamp on the BTC mainnet, so it will never be selected by anyone, or
  • To be selected, the attacker must create a very long BTC fork where the attacked PoS fork has an earlier timestamp, which is economically infeasible.

Therefore, long-range attacks can be mitigated through BTC timestamps.

In addition to addressing long-range attacks, the irreversible BTC timestamps for PoS blocks provide other security advantages for PoS chains:

  • Elimination of weak subjectivity: Bitcoin timestamps are objective, eliminating the reliance of PoS chains on social consensus and weak subjectivity.
  • Shorter unbonding time: By replacing social consensus, BTC timestamps can reduce the unbonding time of PoS chains from weeks to a day.
  • New chain bootstrapping: Lower-valued new PoS chains are more susceptible to fork attacks. BTC timestamps can help protect the growth of the chain itself.
  • Validation of state synchronization and snapshots: The objective facts provided by BTC allow users of PoS chains to verify the chain state or snapshots downloaded from the P2P network.
  • Protection of important transactions: BTC timestamps can be used to further confirm important PoS transactions, at the cost of longer confirmation delays.
  • Resistance to censorship: BTC timestamps can also counter transaction censorship in PoS chains by publishing censored transactions to BTC.

Bitcoin Staking Protocol

Babylon's Bitcoin staking protocol allows Bitcoin holders to stake BTC without trusting any third party; this staking provides comprehensive slashable staking security guarantees for the PoS chain by cross-chain bridging Bitcoin to the PoS chain.

Here is an example of Bitcoin staking:

Alice has one Bitcoin and wants to stake it on a PoS chain. First, she enters a staking contract by sending a staking transaction to the Bitcoin chain. This transaction locks her Bitcoin in a self-custodial vault. The locked Bitcoin can only be unlocked by Alice's private key through one of the following two methods:

  1. Alice initiates an "unbonding transaction," and the Bitcoin will be unlocked and returned to Alice within three days.
  2. Alice initiates a "slashing transaction" to send the Bitcoin to a burn address.

Once the staking transaction enters the Bitcoin chain, Alice can start signing blocks with her key to validate the PoS chain.

During her validation duty, there are two possible paths.

Comparison of Restaking leaders: What are the differences between the Babylon protocol on Bitcoin and the EigenLayer on Ethereum?

One is the "happy path" (as shown in (a)), where Alice honestly follows the protocol, and when she wants to unbond the staked Bitcoin, she initiates an unbonding request by sending an unbonding transaction to the Bitcoin chain (as shown in (b)). Once the unbonding transaction enters the Bitcoin chain, Alice's validation obligation on the PoS chain ends, and three days later, Alice can withdraw and retrieve the Bitcoin. The PoS chain will also grant rewards to Alice.

Second is the "unhappy path" (as shown in (b)), where Alice turns malicious and engages in a double-spending attack on the PoS chain. In this case, the staking protocol ensures that Alice's private key will be exposed to the public. Therefore, anyone can use Alice's identity to send a slashing transaction to the Bitcoin chain and destroy Alice's Bitcoin. The existence of this "unhappy path" ensures that the attacker will be slashed, and this deterrence ensures that everyone follows the "happy path" - everyone operates normally.

For the slashing penalty, Babylon utilizes Extractable One-Time Signatures (EOTS) to achieve this. The core idea is that users can sign a message once, similar to a regular signature scheme. EOTS requires an additional tag parameter (the block height is the additional parameter when signing the block). If a user attempts to sign the same message with the same tag twice (signing two blocks at the same height), the user's private key can be extracted from these two signatures.

Comparison

First, there are significant differences in the structure of the Babylon protocol and EigenLayer:

Babylon:

Comparison of Restaking leaders: What are the differences between the Babylon protocol on Bitcoin and the EigenLayer on Ethereum?

EigenLayer:

Comparison of Restaking leaders: What are the differences between the Babylon protocol on Bitcoin and the EigenLayer on Ethereum?

Babylon consists of the Bitcoin timestamp protocol and staking protocol. Due to the non-Turing completeness of Bitcoin, many processing tasks need to be completed on a separate chain, so the Babylon protocol has its own chain built using the Cosmos SDK, along with its own set of validating nodes. It also includes independent components such as the EOTS Manager and Finality Provider.

EigenLayer, on the other hand, is essentially a set of smart contracts that can accept user staking and manage AVS contracts, executed and secured by the Ethereum network.

Secondly, the implementation of slashing differs between the two.

Due to Ethereum's support for smart contract functionality, the slashing logic implementation in EigenLayer will be written within the contract and can address complex slashing conditions for different AVS. Additionally, if a situation arises that cannot be resolved by predefined slashing conditions, there will be an off-chain veto committee to vote on the resolution.

Conversely, limited by the functionality of the Bitcoin mainnet, Babylon implements slashing logic through EOTS. Its limitations are numerous, and it can only implement relatively simple slashing logic for malicious behavior of signing the same message at the same height.

Due to the different implementation of slashing, the target audience for both projects also differs.

EigenLayer can implement complex slashing logic, thus providing secure services for a wide range of AVS. For EigenLayer, its advantage lies in its alignment with Ethereum. Ethereum has the largest ecosystem in the cryptocurrency field, which means more users and greater demand. EigenLayer's solution has the potential to address the limitations of Ethereum, such as the need for secure and decentralized bridging, data availability solutions, and decentralized sequence layers for Layer 2 solutions. Within the Ethereum ecosystem, using ETH as the staking asset is considered the "politically correct" approach. Therefore, applications built around EigenLayer will mostly serve the Ethereum ecosystem.

Babylon, on the other hand, primarily serves PoS chains, especially within the Cosmos ecosystem, as the Bitcoin timestamp service requires message passing between the Babylon chain and Cosmos chains through the IBC protocol, thus having significant limitations. Each of these PoS chains requires its own set of validating nodes. Its advantage may lie in the fact that the Cosmos ecosystem has already developed to a large scale and has produced numerous excellent PoS chains, such as Celestia, Osmosis, Axelar, dYdX, and more, all of which can easily integrate with the Babylon chain to obtain Bitcoin security. The development of EigenLayer, on the other hand, would require a large number of projects to redevelop and adapt to AVS, putting it at a disadvantage in the initial stages. Additionally, the solution of building application chains using the Cosmos SDK has been extensively validated, making it more user-friendly for project development, giving Babylon a certain advantage in this aspect, bringing the Cosmos ecosystem into Bitcoin security.

This is also related to the development direction of the Ethereum and Cosmos ecosystems. The Ethereum ecosystem first built a large secure core, the Ethereum mainnet, and then formed many Layer 2 solutions, but the interoperability between Layer 2 solutions has not been resolved. The Cosmos ecosystem first solved the interoperability between different zones, but lacks a strong secure core, and the market value of the Cosmos Hub is too low to bear this responsibility, so it naturally needs to find a secure core, which Babylon targets, bringing Bitcoin security into it. At the same time, EigenLayer also hopes to bring Ethereum security into the Cosmos ecosystem through collaboration. From the perspective of the underlying architecture, Babylon's solution may be more compatible with the Cosmos ecosystem.

Conclusion

The Babylon protocol and EigenLayer both aim to unlock the security of Bitcoin and Ethereum networks for more applications through their respective methods. However, due to the non-Turing completeness of Bitcoin, its ecosystem development lags far behind that of the Ethereum ecosystem. Additionally, the issuance of Bitcoin assets and the development of second-layer networks have taken a different path from Ethereum. This has resulted in differences in the technical architecture, slashing methods, and target audience for the Babylon protocol and EigenLayer. Currently, both have their own areas of focus and development advantages, but with the development of modular blockchains and the integration of different ecosystems, in the future, they may form a competitive situation where no single party dominates.

References:

https://twitter.com/E2mResearch/status/1783714279394586787

https://mirror.xyz/0x80894DE3D9110De7fd55885C83DeB3622503D13B/H6Atmt82NYjR5OgKN664IaTZJuR5hyfaRavvEHXoVvg

https://pmcrypto.xyz/blog/wtf-is-eigenlayer-and-babylon-cn

https://docs.eigenlayer.xyz/eigenlayer

https://docs.babylonchain.io/docs/introduction/overview

https://www.chaincatcher.com/article/2079486 ```

免责声明:本文章仅代表作者个人观点,不代表本平台的立场和观点。本文章仅供信息分享,不构成对任何人的任何投资建议。用户与作者之间的任何争议,与本平台无关。如网页中刊载的文章或图片涉及侵权,请提供相关的权利证明和身份证明发送邮件到support@aicoin.com,本平台相关工作人员将会进行核查。

Share To
APP

X

Telegram

Facebook

Reddit

CopyLink