LumiBit GitBook
  • Overview
    • ๐Ÿ‘ฉโ€๐Ÿ’ปWhat is LumiBit?
    • ๐Ÿง‘โ€๐ŸŽ“LumiBit 101
      • Native Signature
      • LumiBit's ZK-EVM
      • Data Availability
      • DVNs
  • LumiBit Testnet User Guide
    • ๐Ÿ’ฐBitcoin Wallet Setup
      • UniSat Wallet
      • OKX Wallet
    • ๐Ÿช™Assets on LumiBit
    • ๐Ÿ’ฒLumiPoints Program
    • ๐ŸŒŽTestnet Explorer
    • ๐ŸŒ‰Bridge
    • ๐ŸšฐTestnet Faucet
  • Development Guide
    • ๐Ÿ—๏ธNetwork Configuration
    • โš™๏ธTypeScript SDK
    • โš’๏ธTechnical Implementation
  • Resource
    • ๐Ÿ Community
    • ๐Ÿ“ƒWebpage
    • ๐ŸŽž๏ธMediakit
  • ๐ŸŒŒLumiCraft
    • ๐Ÿš€Fleet
    • ๐ŸชAstra
      • ๐Ÿ“œQuests
      • โœด๏ธPersonal EXP & Level & Nitro
    • โ“FAQ
Powered by GitBook
On this page
  • Overview
  • Scroll Based ZK-EVM
  • Circuit Design
  • Final Thoughts
  1. Overview
  2. LumiBit 101

LumiBit's ZK-EVM

PreviousNative Signature NextData Availability

Last updated 5 months ago

Please note! LumiBit has shifted from the Scroll Based zkEVM solution to the Succinct SP1 zkVM solution. The following content is an explanation of the Scroll Based zkEVM during the Devnet period and is now obsolete.

Overview

LumiBit introduces an innovative Bitcoin Layer 2 solution, leveraging ZK-EVM to offer enhanced scalability, privacy, and decentralization. It features a universal circuit design for seamless Ethereum smart contract migration, efficient transaction verification using Halo2 and rollup optimizations to reduce costs using ZKG commitment scheme. The solution addresses current Layer 2 challenges with a Type 2 ZK-EVM, providing an ecosystem akin to Ethereum. Future developments focus on implementing a Type 1 ZK-EVM for complete ecosystem migration and strategies to lower transaction fees, including succinct ZK proofs and specialized client solutions.

Scroll Based ZK-EVM

The Ethereum Virtual Machine (EVM) stands as the cornerstone of the Ethereum ecosystem. Itโ€™s not just an industry standard but also symbolizes extensive compatibility, a mature ecosystem, a vast developer community, and abundant development resources. The EVM-based ecosystemโ€™s security and robustness have been proven over the years, enabling developers to write complex smart contracts flexibly and programmably, catering to a variety of application needs.

To fully implement the Ethereum ecosystem on Bitcoin Layer 2, EVM equivalence is essential. Hence, LumiBit has opted for Type 2 EVM, which ensures 100% EVM equivalence, choosing ZK-rollup for this equivalence solution.

Circuit Design

As mentioned earlier, LumiBit has implemented a Type 2 ZK-EVM based on Scrollโ€™s circuit design. In zero-knowledge proofs, circuits are crucial for generating and validating proofs, representing programs in a specific format. For instance, proving hash(x) = y requires rewriting the hash function in circuit form, which only supports basic expressions like addition and multiplication. This makes programming in circuit language challenging, requiring the reconstruction of complex logic, including conditional and looping structures, from these basic operations.

The universal circuit in ZK-EVM is thus tailored for executing smart contracts to ensure EVM equivalence. It involves constructing a universal EVM circuit to verify all EVM opcode steps. The universal circuit supports Turing-complete computations and fast contract deployment. Based on Scroll, Lumibit use recursive proofs to simplify verification processes and reduce computational load. To further decrease computational overhead, we have introduced several optimizations including using gas-saving Poseidon Hash, and integrating Halo2 and polynomial commitments for optimized computations.

Developers work with LumiBitโ€™s ZK-EVM without directly engaging with the underlying general circuit. This circuit acts in the background to facilitate ZK proof for contract deployment and interaction.

Final Thoughts

In our journey to enhance Bitcoinโ€™s Layer 2 capabilities, LumiBitโ€™s innovative approach with ZK-EVM and polynomial commitments marks a significant stride towards scalability and efficiency. Our commitment to a future-proof ecosystem, focused on seamless integration and reduced transaction costs, sets the stage for broader adoption and technological advancements in the blockchain sphere. As we continue to explore and innovate, the potential for a more interconnected and efficient blockchain network becomes increasingly tangible.

Source:

๐Ÿง‘โ€๐ŸŽ“
https://medium.com/@LumiBitL2/introducing-lumibits-bitcoin-l2-solution-a-featured-zk-evm-and-future-scalibility-2c2435b63732