Skip to content

Commit

Permalink
Info bridge comparison (#6234)
Browse files Browse the repository at this point in the history
* added info

* to Polkadot first
  • Loading branch information
filippoweb3 authored Sep 17, 2024
1 parent 270a1b4 commit 6aa368b
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions docs/learn/learn-bridges.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,18 +170,18 @@ funds.**

:::

| Snowbridge | Hyperbridge |
|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------:| :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
| Ethereum only<sup>1</sup>. | Multichain. |
| Ethereum light client on [Bridge Hub System Chain](./learn-system-chains.md#bridge-hub)<sup>2</sup> and Polkadot light client on Ethereum smart contract. | Own parachain. |
| [DOT token](./learn-DOT.md). | Hyperbridge native token. |
| [Random-sampling BEEFY](./learn-snowbridge.md#random-sampling-beefy) for prover. | Zero-knowledge Proofs. |
| Simple codebase but complex analysis by the verifier. | Complex codebase, but simple analysis by the verifier. |
| Low-spec hardware for prover, permissionless. | High-spec hardware for prover, permissionless but somewhat permissioned due to the ZK-based nature. |
| Possible high-level decentralization for the prover. | Prover decentralization possible but probably by removing dependency on ZK circuits through BLS ([Boneh–Lynn–Shacham](https://en.wikipedia.org/wiki/BLS_digital_signature)) version of BEEFY and BLS precompiles on Ethereum. |
| High latency as two epochs ([tens of minutes](https://app.snowbridge.network/status)) are needed on Ethereum to achieve unpredictable randomness to update the Polkadot's state. | Low latency, 5-7 minutes on reference hardware. |
| Dependency on external library for BLS signature verification ([Milagro BLS](https://github.com/sigp/milagro_bls), used by Lighthouse, the Rust Ethereum consensus client). | Dependency on external libraries due to ZK-based nature. Such libraries include [PLONK](https://eprint.iacr.org/2019/953.pdf). |
| Live. | On Testnet. |
| Snowbridge | Hyperbridge |
| :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
| Ethereum only<sup>1</sup>. | Multichain. |
| Ethereum light client on [Bridge Hub System Chain](./learn-system-chains.md#bridge-hub)<sup>2</sup> and Polkadot light client on Ethereum smart contract. | Own parachain. |
| [DOT token](./learn-DOT.md). | Hyperbridge native token. |
| [Random-sampling BEEFY](./learn-snowbridge.md#random-sampling-beefy) for prover. | Zero-knowledge Proofs. |
| Simple codebase but complex analysis by the verifier. | Complex codebase, but simple analysis by the verifier. |
| Low-spec hardware for prover, permissionless. | High-spec hardware for prover, permissionless but somewhat permissioned due to the ZK-based nature. |
| Possible high-level decentralization for the prover. | Prover decentralization possible but probably by removing dependency on ZK circuits through BLS ([Boneh–Lynn–Shacham](https://en.wikipedia.org/wiki/BLS_digital_signature)) version of BEEFY and BLS precompiles on Ethereum. |
| Ethereum > Polkadot: In the range of [10-20 minutes](https://app.snowbridge.network/status). Polkadot > Ethereum: High latency (half an hour) as two epochs are needed on Ethereum to achieve unpredictable randomness to update the Polkadot's state. | Ethereum > Polkadot: In the range of 10-20 minutes (to Polkadot, both bridges have the same latency). Polkadot > Ethereum: Low latency, 5-7 minutes on reference hardware. |
| Dependency on external library for BLS signature verification ([Milagro BLS](https://github.com/sigp/milagro_bls), used by Lighthouse, the Rust Ethereum consensus client). | Dependency on external libraries due to ZK-based nature. Such libraries include [PLONK](https://eprint.iacr.org/2019/953.pdf). |
| Live. | On Testnet. |

<sup>1</sup> WETH sent through different bridges are different. Unless specific logic is
implemented, WETH sent through Snowbridge cannot be sent back using Hyperbridge.<br/><br/>
Expand Down

0 comments on commit 6aa368b

Please sign in to comment.