<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel>
        <title>Caliber</title>
        <link>https://paragraph.com/@calibervb</link>
        <description>Caliber is a Web3 Venture Builder started by veteran Web3 builders to develop the next generation of Web3 startups with new founders. </description>
        <lastBuildDate>Fri, 24 Jul 2026 20:58:12 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>https://github.com/jpmonette/feed</generator>
        <language>en</language>
        <image>
            <title>Caliber</title>
            <url>https://storage.googleapis.com/papyrus_images/47ae0f52e00cec81393b63ad553ade34dfebaa3c4415e89373250d355b43f025.png</url>
            <link>https://paragraph.com/@calibervb</link>
        </image>
        <copyright>All rights reserved</copyright>
        <item>
            <title><![CDATA[Exploring Fully Homomorphic Encryption: From Theory to Real-World Applications]]></title>
            <link>https://paragraph.com/@calibervb/exploring-fully-homomorphic-encryption-from-theory-to-real-world-applications</link>
            <guid>pArgo7CYIEDoy9QHKBwT</guid>
            <pubDate>Thu, 15 Aug 2024 09:45:07 GMT</pubDate>
            <description><![CDATA[I- Introduction to Fully Homomorphic Encryption (FHE)1- OverviewIn today&apos;s digital world, the challenge of keeping data safe while still being able to use it is more critical than ever. With increasing reliance on cloud computing and data sharing, ensuring that sensitive information remains secure throughout its lifecycle is a top priority. This is where Fully Homomorphic Encryption (FHE) comes into play. Introduced by Craig Gentry in 2009, FHE allows computations to be performed on encr...]]></description>
            <content:encoded><![CDATA[<h2 id="h-i-introduction-to-fully-homomorphic-encryption-fhe" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">I- Introduction to Fully Homomorphic Encryption (FHE)</h2><h3 id="h-1-overview" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">1- Overview</h3><p>In today&apos;s digital world, the challenge of keeping data safe while still being able to use it is more critical than ever. With increasing reliance on cloud computing and data sharing, ensuring that sensitive information remains secure throughout its lifecycle is a top priority. This is where Fully Homomorphic Encryption (FHE) comes into play. Introduced by Craig Gentry in 2009, FHE allows computations to be performed on encrypted data without ever needing to decrypt it, significantly enhancing data security. For organizations, this means the ability to fully utilize cloud services without the fear of exposing their most sensitive data. Consider the scenario where confidential financial information or medical records are being processed—FHE ensures that, even if such data were intercepted, it would remain inaccessible to unauthorized individuals. This capability makes FHE not only a powerful tool for security but also essential for maintaining privacy in an increasingly data-driven world.</p><p>Before the advent of FHE, Homomorphic Encryption (HE) was already advancing secure data computation. HE was designed to allow specific operations on encrypted data, ensuring that information remained protected even during processing. For example, with a basic HE system, one could perform operations like addition and multiplication directly on ciphertexts, which is encrypted data. The mathematical operations in HE are limited to either addition or multiplication but not both simultaneously. This means, if you encrypt two numbers <code>a</code> and <code>b</code> to get <code>Enc(a)</code> and <code>Enc(b)</code>, you can perform operations such as:</p><ul><li><p><strong>Addition:</strong> <code>Enc(a) + Enc(b) = Enc(a + b)</code></p></li><li><p><strong>Multiplication (if the system supports it):</strong> <code>Enc(a) x Enc(b) = Enc(a x b)</code> These capabilities ensure that data remains secure and encrypted during computation, making HE valuable for secure computations like aggregating votes or confidential surveys.</p></li></ul><p>FHE extends these capabilities significantly. Unlike basic HE, FHE is not restricted to a single type of operation (addition or multiplication); instead, it supports an unlimited sequence of both, applied in any combination. This allows for the execution of complex algorithms on encrypted data. For example, with FHE, one can compute any function <code>f</code> defined by polynomial expressions, Boolean circuits, or other computational models on encrypted inputs, such that: <code>Dec(Eval(Enc(x), f)) = f(x)</code> for any computable function <code>f</code>, where:</p><ul><li><p><strong>Enc</strong> is the encryption function</p></li><li><p><strong>Eval</strong> is the evaluation function that performs the computation on encrypted data</p></li><li><p><strong>Dec</strong> is the decryption function</p></li></ul><p>This means we can take any computable function <code>f</code>, apply it to encrypted data, and then decrypt the result to get the same outcome as if <code>f</code> had been applied to the unencrypted data. Theoretically, FHE changes the way we handle sensitive information by ensuring data remains encrypted throughout its entire processing lifecycle—from analysis to storage, thus protecting it against unauthorized access and potential data breaches.</p><p>Given the complexity and breadth of FHE, it&apos;s challenging to cover all aspects in a single blog post. For a deeper understanding, we recommend the series <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.zama.ai/post/tfhe-deep-dive-part-1">TFHE Deep Dive</a> and <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.zama.ai/post/homomorphic-encryption-101">Homomorphic Encryption 101</a>.</p><h3 id="h-2-different-schemes-different-strengths" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">2- Different schemes, different strengths</h3><p>FHE schemes allow secure, arbitrary computation on encrypted data. Their utility is differentiated by the core operations and mathematical foundation:</p><ul><li><p>BGV (Brakerski-Gentry-Vaikuntanathan) and BFV (Brakerski-Fan-Vercauteren): Both schemes are structured around the Ring Learning With Errors (RLWE) paradigm. They are particularly robust in handling integer operations and employ techniques like relinearization and noise management to maintain the integrity and size of ciphertexts during calculations.</p></li><li><p>CKKS (Cheon-Kim-Kim-Song): This scheme is designed for handling encrypted real or complex numbers and performs approximate arithmetic on ciphertexts. CKKS is distinct in its ability to manage the precision of encrypted computations, which is crucial for applications like statistical analysis and machine learning where handling of real numbers is required.</p></li><li><p>FHEW (Fully Homomorphic Encryption from Worse-case assumptions) and TFHE (Fast Fully Homomorphic Encryption over the Torus): These focus on efficient Boolean operations and leverage the Learning With Errors (LWE) framework. Both schemes are optimized for low-latency cryptographic operations crucial for scenarios requiring rapid execution, such as real-time encrypted data processing.</p></li></ul><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/d397c96a453234a1b6e82b8ea571e1b382427156b88c2105d82b55e6a45c6871.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><h3 id="h-3-different-techniques-different-enhancements" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">3- Different techniques, different enhancements</h3><p>Techniques have addressed many of the computational and efficiency barriers historically associated with FHE:</p><ul><li><p><strong>SIMD batching</strong>: Single Instruction, Multiple Data (SIMD) batching is a pivotal performance metric in FHE that impacts its efficiency and scalability. By enabling multiple data points to be encrypted into a single ciphertext, SIMD batching allows simultaneous operations on all these data points. This parallel processing capability is especially beneficial for vector operations common in machine learning and statistical analysis, significantly reducing the computational overhead and latency compared to processing data points individually.</p></li><li><p><strong>AVX-512 instructions</strong>: Advanced Vector Extensions 512 (AVX-512) are specific CPU instructions that support the execution of 512-bit operations. In the context of FHE, leveraging AVX-512 can improve the performance of polynomial arithmetic, which is fundamental in FHE schemes. These instructions enhance the handling of large data sets and complex calculations by providing the means to execute multiple homomorphic operations in parallel, reducing the time required for computations.</p></li><li><p><strong>Vectorized FFT kernels</strong>: Fast Fourier Transform (FFT) kernels are essential for the efficient implementation of polynomial multiplication in FHE. The use of vectorized FFT kernels enables these operations to be carried out more swiftly and with greater energy efficiency. By optimizing FFT algorithms to utilize SIMD capabilities and AVX-512 instructions, FHE systems can perform necessary convolutions for polynomial multiplication faster, thereby accelerating the overall encryption and decryption processes.</p></li><li><p><strong>Noise management:</strong> Effective noise management is crucial for the practical implementation of FHE. Noise accumulates in ciphertexts during homomorphic operations, and if left unchecked, can render the ciphertext undecipherable. FHE schemes employ various techniques to manage and reduce noise:</p><ul><li><p><strong>Relinearization and Modulus switching</strong>:</p><ul><li><p>Modulus switching reduces the size of the modulus and correspondingly scales down the noise in the ciphertext.</p></li><li><p><strong>Scaling down</strong>: The ciphertext modulus is progressively reduced. If the original modulus is <code>q</code>, it is scaled down to a smaller modulus <code>q&apos;</code>. The noise in the ciphertext is scaled down proportionally.</p></li><li><p><strong>Polynomial pepresentation</strong>: In schemes based on the Ring Learning with Errors (RLWE) problem, ciphertexts are represented as polynomials with coefficients in a ring modulo q. Modulus switching reduces <code>q</code> to <code>q&apos;</code>, and scales the polynomial coefficients accordingly.</p></li><li><p><strong>Advantages:</strong></p><ul><li><p><strong>Noise control</strong>: Helps keep noise growth in check during homomorphic operations.</p></li><li><p><strong>Efficiency:</strong> Allows for efficient noise management without resorting to more computationally intensive methods like bootstrapping.</p></li></ul></li><li><p><strong>Disadvantages:</strong></p><ul><li><p><strong>Cumulative errors:</strong> Rounding errors can accumulate, affecting the precision of the result.</p></li><li><p><strong>Limited operations:</strong> Suitable for a finite number of operations before noise management becomes necessary again.</p></li></ul></li></ul></li><li><p><strong>Bootstrapping:</strong> Bootstrapping reduces the noise in a ciphertext to its initial level, allowing for unlimited homomorphic operations. Unlike modulus switching, which scales down the noise, bootstrapping effectively resets the noise to its initial level by homomorphically evaluating the decryption circuit on the ciphertext and re-encrypting the result. TFHE (Fast Fully Homomorphic Encryption over the Torus) provides advanced bootstrapping techniques:</p><ul><li><p><strong>Fast bootstrapping</strong>:</p><ul><li><p><strong>Blind rotation</strong>: Rotates encrypted data based on another encrypted value, reducing noise without revealing plaintext.</p></li><li><p><strong>External product</strong>: Combines ciphertexts to manage noise growth efficiently, crucial for complex computations.</p></li></ul></li><li><p><strong>Programmable bootstrapping:</strong></p><ul><li><p><strong>Lookup Table evaluation</strong>: Uses precomputed tables to quickly evaluate functions on encrypted inputs.</p></li><li><p><strong>Controlled Multiplexer (CMux) gate</strong>: Selects between different encrypted values based on a control bit, enabling conditional logic in encrypted computations.</p></li></ul></li></ul></li></ul></li></ul><h3 id="h-4-application-specific-optimizations-of-fhe" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">4- Application-specific optimizations of FHE</h3><p>The design of FHE schemes often targets specific types of computational tasks:</p><ul><li><p><strong>Integer and fixed-point arithmetic</strong>: BGV and BFV are highly effective for scenarios that require precise, structured arithmetic operations, such as encrypted financial transactions or algorithmic trading where integer precision is mandatory.</p></li><li><p><strong>Real and complex number computations</strong>: The CKKS scheme is optimized for fields requiring operations on real or complex numbers, suitable for use cases in scientific computations where approximation is acceptable.</p></li><li><p><strong>Boolean logic</strong>: FHEW and TFHE are tailored for environments that demand rapid Boolean computations. These schemes support operations like encrypted control systems or secure communications where decision logic needs to be processed in an encrypted state.</p></li></ul><p><strong>Comparison of FHE for arithmetic operations</strong></p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/5e14faa99860d4ccf1f22c6ec4ed3c63dd066d6f0d76bc6b3cc157445d29d6fb.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p><strong>Comparison of FHE for logic operations</strong></p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/a73f4a7fa0579533011baace531b6ae160844fa9bb6638a8dd1a59c742595ff3.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p><strong>Comparison of FHE for arithmetic and logic operations</strong></p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/7da6422804f23351e53c111571c12ef6effe833f1eb8235c3a8b4b9ecccf2af9.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p><strong>Noise management and Bootstrapping</strong></p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/594dab8af341cfb1a9f1ed3b9c670987178716327a2fd3cb24f3b709a222dd1f.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p><strong>Arithmetic operations</strong></p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/2e4811964541b92263256d3bb992f015b3a3ed8c7ba7ec404514e7be57c5d2ca.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p><strong>Observations:</strong></p><ul><li><p><strong>BFV</strong> and <strong>BGV</strong> are preferable for integer arithmetic, with BFV showing better throughput and lower latencies for deep operations.</p></li><li><p><strong>CKKS</strong> is more efficient for approximate arithmetic and fixed-point computations but has higher latency for decryption at small depths.</p></li></ul><p><strong>Logic operations</strong></p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/a4c9636d825da17775718df138a7f0c959b7caa8680545a2a283ada91ce5157c.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p><strong>Observations:</strong></p><ul><li><p><strong>TFHE</strong> shows superior performance for Boolean logic due to its use of AVX-512 and vectorized FFT kernels, making it the fastest for logic operations.</p></li><li><p><strong>FHEW</strong> is also efficient but not as optimized as TFHE for fast logic operations.</p></li></ul><h2 id="h-ii-notable-productions" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">II- Notable productions</h2><h3 id="h-1-fhenix-fhe-rollups-for-confidential-smart-contracts" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">1- FHEnix: FHE-Rollups for confidential smart contracts</h3><p>FHEnix is an implementation of FHE designed for the blockchain ecosystem, focusing on the scalability and confidentiality of smart contracts. It integrates FHE with rollup technology, specifically optimized for Ethereum, but also applicable to other platforms.</p><p><strong>Use cases</strong></p><ul><li><p><strong>Confidential ERC-20 contracts:</strong> Token contracts where transaction amounts and balances remain encrypted and confidential.</p></li><li><p><strong>Sealed-bid auction contracts:</strong> Auctions where bids are kept confidential until the conclusion, ensuring fairness and privacy.</p></li><li><p><strong>Private voting contracts:</strong> Contracts that allow votes to be cast privately, ensuring voter anonymity and confidentiality.</p></li></ul><p><strong>Implementation</strong></p><p>The core innovation of FHEnix lies in its rollup-based architecture:</p><ul><li><p><strong>FHE optimistic rollups:</strong> FHEnix utilizes optimistic rollups, a Layer-2 solution that processes transactions off the main Ethereum chain but posts transaction data on-chain. This approach reduces the load on the main blockchain, delegating computation to a specialized node or a small set of nodes, thereby handling the computational demands of FHE more efficiently.</p></li><li><p><strong>Avoiding verifiable FHE overheads:</strong> Traditional verifiable FHE techniques require all nodes to perform complex computations and reach consensus on the encrypted state, imposing significant overheads. FHEnix&apos;s optimistic approach uses cryptoeconomic mechanisms to ensure the integrity and correctness of private computations without such computational demands.</p></li></ul><p><strong>Significance</strong></p><p>FHEnix introduces FHE into rollups, offering a practical and scalable method to integrate confidentiality into smart contracts. This solution addresses a key limitation of current blockchain infrastructures: the lack of inherent data privacy.</p><ul><li><p><strong>Scalability and Efficiency:</strong> By reducing the need for every node to perform FHE computations, FHEnix enhances the scalability of FHE applications. This makes complex applications like confidential smart contracts feasible on a larger scale without compromising blockchain performance.</p></li><li><p><strong>Security and Privacy:</strong> FHEnix maintains the security properties of the blockchain while enhancing privacy, ensuring that data remains confidential and secure throughout the transaction process. This is particularly important for applications involving sensitive data that must comply with privacy regulations and security standards.</p></li></ul><h3 id="h-2-sunscreen-integrating-fhe-and-zkp-for-enhanced-web3-privacy" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">2- Sunscreen: Integrating FHE and ZKP for enhanced Web3 privacy</h3><p>Sunscreen is a platform designed to enhance privacy and security within the Web3 ecosystem through the integration of Fully Homomorphic Encryption (FHE) and Zero-Knowledge Proofs (ZKP). Targeted at developers, Sunscreen provides a toolkit to implement FHE in decentralized applications (dApps), addressing key challenges associated with privacy in blockchain environments.</p><p><strong>Use cases</strong></p><ul><li><p><strong>Financial transactions:</strong> Sunscreen aims to protect the confidentiality of financial transactions on blockchain networks, preventing front-running and preserving the privacy of trading strategies and asset holdings.</p></li><li><p><strong>Voting systems:</strong> By leveraging both FHE and ZKP, Sunscreen can facilitate confidential voting mechanisms within decentralized autonomous organizations (DAOs), ensuring that votes are cast anonymously and securely.</p></li><li><p><strong>General development of dApp privacy:</strong> Sunscreen enables developers to incorporate privacy features into any dApp, promoting broader adoption of privacy-preserving technologies in everyday blockchain applications.</p></li></ul><p><strong>Implementation</strong></p><p>Sunscreen has developed several key technologies to make FHE practical and accessible for Web3 developers:</p><ul><li><p><strong>FHE Compiler:</strong> Sunscreen&apos;s FHE compiler simplifies the integration of FHE into Web3 applications. This compiler automates the selection of cryptographic parameters, circuit generation, and optimization tasks, enabling developers to focus on application logic rather than cryptographic complexities.</p></li><li><p><strong>Integration with ZKP:</strong> To enhance privacy capabilities, Sunscreen pairs FHE with ZKP, allowing developers to verify the correctness of computations on encrypted data without revealing the underlying data. This dual approach not only enhances privacy but also expands the types of applications that can securely use encrypted data.</p></li><li><p><strong>Developer-friendly SDKs</strong>: Sunscreen provides Software Development Kits (SDKs) tailored for Web3, facilitating the integration of privacy technologies into existing blockchain frameworks and applications.</p></li></ul><p><strong>Significance</strong></p><p>Sunscreen is significant for its role in addressing the privacy limitations of current blockchain technologies through practical tools and frameworks:</p><ul><li><p><strong>Enhancing developer accessibility:</strong> By reducing the barrier to entry for using advanced cryptographic techniques like FHE and ZKP, Sunscreen empowers developers to build privacy-first applications. This accessibility is crucial for the widespread adoption of privacy technologies in blockchain.</p></li><li><p><strong>Practical performance improvements:</strong> Sunscreen has addressed the performance challenges of FHE. By optimizing the compiler and integration process, Sunscreen ensures that the added privacy does not come at a prohibitive cost in terms of transaction speed and resource consumption.</p></li></ul><h3 id="h-3-mind-network-leveraging-fhe-for-enhanced-web3-privacy-and-security" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">3- Mind Network: Leveraging FHE for enhanced web3 privacy and security</h3><p>Mind Network applies Fully Homomorphic Encryption (FHE) within the Web3 ecosystem, focusing on enhancing privacy and security through advanced cryptographic techniques. It integrates privacy-preserving protocols to address the need for confidentiality and security in decentralized applications and blockchain transactions.</p><p><strong>Use cases</strong></p><ul><li><p><strong>Cross-chain value transfers:</strong> Mind Network enables secure and private transfers between different blockchain systems, including CBDCs and public chains, using its FHE-based protocols to ensure data remains encrypted during transit.</p></li><li><p><strong>Enhanced transactional privacy:</strong> By utilizing dual-key stealth address protocols, Mind Network enhances privacy for transactions on public ledgers, ensuring that details such as transaction amounts and participant identities remain confidential.</p></li><li><p><strong>Data protection in AI:</strong> Mind Network allows computation on encrypted data, enabling AI applications to process sensitive information without access to raw data, adhering to privacy-by-design principles.</p></li></ul><p><strong>Implementation</strong></p><p>Mind Network has developed a technological framework incorporating FHE and other cryptographic technologies:</p><ul><li><p><strong>FHE dual-key stealth address protocol (DK-SAP):</strong> This protocol employs stealth addresses and dual keys to obscure transaction details while maintaining the integrity and security of the transactions.</p></li><li><p><strong>Integration with Zero-Knowledge Proofs:</strong> Mind Network integrates FHE with ZKP to enhance the privacy of transactions, enabling the verification of encrypted inputs without exposing any sensitive information.</p></li><li><p><strong>Decentralized storage solutions:</strong> To manage the large ciphertexts produced by FHE, Mind Network incorporates decentralized storage solutions like IPFS and Arweave, ensuring efficient and scalable storage for blockchain applications.</p></li></ul><p><strong>Significance</strong></p><p>The technical contributions and impact of Mind Network on the blockchain and cryptographic communities include:</p><ul><li><p><strong>Advancement in cryptographic privacy:</strong> Mind Network integrates FHE with ZKP and decentralized storage, offering a comprehensive solution that addresses multiple aspects of data privacy and security.</p></li><li><p><strong>Scalability and efficiency:</strong> The use of rollup technologies and efficient cryptographic protocols allows Mind Network to offer solutions that are secure, scalable, and efficient, suitable for high-throughput blockchain networks.</p></li></ul><h2 id="h-iii-challenges-in-fully-homomorphic-encryption" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">III- Challenges in Fully Homomorphic Encryption</h2><ol><li><p><strong>Performance bottlenecks</strong></p><p>The computational overhead of FHE is primarily due to the complex arithmetic operations on ciphertexts and the management of noise that accumulates during these operations. Specifically, the multiplication of encrypted data introduces multiplicative noise growth, which can quickly degrade the integrity of the data if not properly managed. This is often mitigated through the process of bootstrapping, which refreshes the ciphertext by reducing noise but at a significant computational cost. Furthermore, FHE operations typically require polynomial arithmetic in a ring, which involves computationally intensive operations like polynomial multiplication under a modular coefficient reduction, often parameterized by large prime numbers to ensure security.</p></li><li><p><strong>Usability and complexity</strong></p><p>FHE&apos;s steep learning curve is largely due to its reliance on lattice-based cryptography, which is less intuitive than traditional cryptographic methods. Developers must understand the underlying algebraic structures, choose appropriate lattice parameters, and manage noise growth—all of which require a non-trivial mathematical background. The complexity of implementing FHE is compounded by the need for precise parameter tuning to balance security, correctness, and performance. This often involves selecting the right lattice dimension, noise distribution parameters, and modulus size, which are critical for ensuring the scheme&apos;s resistance to lattice-based attacks.</p></li><li><p><strong>Security vulnerabilities</strong></p><p>While FHE schemes are designed to be secure under the assumption of hard lattice problems, such as the Shortest Vector Problem (SVP) and the (Ring) Learning With Errors (RLWE/LWE) problem, practical implementations can introduce vulnerabilities. The integrity of computation is a particular concern, as any error in the encrypted computation directly affects the correctness of the decrypted result. Moreover, side-channel attacks, which exploit information leakage from physical implementations (like power usage or electromagnetic emissions), pose a realistic threat to FHE applications. Ensuring that FHE implementations are resistant to both cryptanalytic and side- channel attacks is crucial for their secure real-world deployment.</p></li><li><p><strong>Storage and data management</strong></p><p>The ciphertext expansion in FHE—where encrypted data can be significantly larger than the corresponding plaintext —is a critical issue for storage and bandwidth. For instance, typical FHE implementations might increase the data size by several orders of magnitude, impacting not only storage costs but also the efficiency of data transmission over networks. This expansion is inherent to the encryption process, which transforms simple data elements into complex polynomial structures to facilitate homomorphic operations.</p></li><li><p><strong>System integration</strong></p><p>Integrating FHE into existing IT infrastructures and applications is non-trivial due to the significant modifications required to handle encrypted data operations. Legacy systems and databases are typically not designed to operate on or store encrypted data, necessitating extensive redesigns or the use of middleware solutions that can handle FHE operations transparently. Moreover, the compatibility of FHE with other cryptographic primitives, such as digital signatures and secure multiparty computation protocols, requires careful alignment to ensure that the composite systems remain secure and functional.</p></li></ol><p>Addressing these challenges involves a multi-faceted approach focusing on algorithmic improvements, optimized implementations, and better abstraction layers for developers. Research into more efficient lattice constructions and noise management techniques could yield significant performance improvements. On the implementation front, leveraging hardware accelerations, such as using GPUs or custom ASICs for polynomial arithmetic, could alleviate computational bottlenecks. Finally, developing higher-level APIs and integration tools that abstract the complexities of FHE can help in making these technologies more accessible to application developers, thereby accelerating the adoption of FHE in practical security solutions.</p><h2 id="h-iv-references" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0"><strong>IV- References</strong></h2><ol><li><p>Chillotti, I. (2022, May 4). <em>TFHE Deep Dive - Part I - Ciphertext types</em>. <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="http://Www.zama.ai">Www.zama.ai</a>. <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.zama.ai/post/tfhe-deep-dive-part-1">https://www.zama.ai/post/tfhe-deep-dive-part-1</a></p></li><li><p>Dahl, M., Demmler, D., El Kazdadi, Sarah, Meyre, A., Orfila, J.-B., Rotaru, D., Smart, N. P., Tap, S., &amp; Walter, M. (2023). <em>Noah’s ark: Efficient threshold-fhe using noise flooding</em>. 35–46. <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://doi.org/10.1145/3605759.3625259">https://doi.org/10.1145/3605759.3625259</a></p></li><li><p>Fhenix. (2023, December 26). <em>Fhenix: Pioneering A Blockchain Renaissance With FHE</em>. Medium. <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://medium.com/@Fhenix/fhenix-pioneering-a-blockchain-renaissance-with-fhe-a98d72f90fad">https://medium.com/@Fhenix/fhenix-pioneering-a-blockchain-renaissance-with-fhe-a98d72f90fad</a></p></li><li><p>Gouert, C., Mouris, D., &amp; Tsoutsos, N. (2023). SoK: New Insights into Fully Homomorphic Encryption Libraries via Standardized Benchmarks. <em>Proceedings on Privacy Enhancing Technologies</em>, <em>2023</em>(3), 154–172. <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://doi.org/10.56553/popets-2023-0075">https://doi.org/10.56553/popets-2023-0075</a></p></li><li><p>Jiang, L., &amp; Ju, L. (2022, March 1). <em>FHEBench: Benchmarking Fully Homomorphic Encryption Schemes</em>. <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="http://ArXiv.org">ArXiv.org</a>. <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://doi.org/10.48550/arXiv.2203.00728">https://doi.org/10.48550/arXiv.2203.00728</a></p></li><li><p>Micciancio, D., &amp; Polyakov, Y. (2020). <em>Bootstrapping in FHEW-like Cryptosystems</em>. Cryptology EPrint Archive (<a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="http://Eprint.iacr.org">Eprint.iacr.org</a>). <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://eprint.iacr.org/2020/086">https://eprint.iacr.org/2020/086</a></p></li><li><p>Mind Network. (2024, June 13). <em>Introduction | MindDocs</em>. Mindnetwork.xyz. <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://docs.mindnetwork.xyz/minddocs">https://docs.mindnetwork.xyz/minddocs</a></p></li><li><p>Mouchet, C., Troncoso-Pastoriza, J., Bossuat, J.-P., &amp; Hubaux, J.-P. (2020). <em>Multiparty Homomorphic Encryption from Ring-Learning-With-Errors</em>. Cryptology EPrint Archive (<a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="http://Eprint.iacr.org">Eprint.iacr.org</a>). <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://eprint.iacr.org/2020/304">https://eprint.iacr.org/2020/304</a></p></li><li><p>Network, M. (2024, May 10). <em>Mind Network: Revolutionizing Web3 Security and Privacy with Fully Homomorphic Encryption</em>. Medium. <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://mindnetwork.medium.com/mind-network-revolutionizing-web3-security-and-privacy-with-fully-homomorphic-encryption-69dbf850e0be">https://mindnetwork.medium.com/mind-network-revolutionizing-web3-security-and-privacy-with-fully-homomorphic-encryption-69dbf850e0be</a></p></li><li><p>Ravital. (2021, August 30). <em>An Intro to Fully Homomorphic Encryption for Engineers</em>. Sunscreen. <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://blog.sunscreen.tech/an-intro-to-fully-homomorphic-encryption-for-engineers/">https://blog.sunscreen.tech/an-intro-to-fully-homomorphic-encryption-for-engineers/</a></p></li><li><p>Ravital. (2023, May 18). <em>Building an FHE compiler for the real world</em>. Sunscreen. <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://blog.sunscreen.tech/from-toy-programs-to-real-life-building-an-fhe-compiler/">https://blog.sunscreen.tech/from-toy-programs-to-real-life-building-an-fhe-compiler/</a></p></li><li><p>Zyskind, G., Erez, Y., Langer, T., Grossman, I., &amp; Bondarevsky, L. (n.d.). <em>FHE-Rollups: Scaling confidential smart contracts on ethereum and beyond</em>.</p></li></ol>]]></content:encoded>
            <author>calibervb@newsletter.paragraph.com (Caliber)</author>
            <enclosure url="https://storage.googleapis.com/papyrus_images/9798e4c2438989bd340e68862a0e322f388edcba4d48c479c5fca24efa48e0f6.png" length="0" type="image/png"/>
        </item>
        <item>
            <title><![CDATA[Exploring Zero-Knowledge Coprocessors]]></title>
            <link>https://paragraph.com/@calibervb/exploring-zero-knowledge-coprocessors</link>
            <guid>p2ChijqFF2n7hqyFVDUq</guid>
            <pubDate>Fri, 09 Aug 2024 09:25:30 GMT</pubDate>
            <description><![CDATA[Zero-Knowledge Coprocessors (zkCoProcessors) represent a significant breakthrough in blockchain technology, enabling efficient, trustless off-chain computations and historical data access. This in-depth technical analysis delves into the architecture, components, and innovations within zkCoProcessors.I- A brief overview of zkCoProcessors&apos; core components and architecture1- Core componentsZK Program: A ZK program specifies the computations necessary for an application. These programs can ...]]></description>
            <content:encoded><![CDATA[<p><em>Zero-Knowledge Coprocessors (zkCoProcessors) represent a significant breakthrough in blockchain technology, enabling efficient, trustless off-chain computations and historical data access. This in-depth technical analysis delves into the architecture, components, and innovations within zkCoProcessors.</em></p><h2 id="h-i-a-brief-overview-of-zkcoprocessors-core-components-and-architecture" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">I- A brief overview of zkCoProcessors&apos; core components and architecture</h2><h3 id="h-1-core-components" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">1- Core components</h3><ol><li><p><strong>ZK Program:</strong></p><p>A ZK program specifies the computations necessary for an application. These programs can be written directly as zk circuits or in higher-level languages (like Rust, or Circom) that compile into ZK circuits. This flexibility enables developers to balance custom optimization and ease of use. Examples include zkVMs like those used by RISC Zero and ORA’s zkWASM.</p></li><li><p><strong>ZKP generation:</strong></p><p>The generation of ZKPs is crucial to ensure computations are performed correctly without exposing sensitive inputs. This process transforms traditional computational logic into arithmetic circuits, encoding variables modulo a large cryptographic prime. Deterministic execution is essential to maintain the correctness of the generated ZKPs.</p></li><li><p><strong>ZKP verification:</strong></p><p>ZKP verification confirms the accuracy of the ZKPs in representing the off-chain computations. Typically performed on-chain, this verification reintegrates the results into the smart contract environment, preserving data integrity and trust.</p></li></ol><h3 id="h-2-technical-architecture" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">2- Technical architecture</h3><p><strong>Data access</strong></p><p>Accessing historical on-chain data is fundamental to zkCoProcessors. The primary methods include:</p><ul><li><p><em>On-chain storage:</em> This involves storing additional data within the blockchain state for verification purposes. While secure, this method can be very expensive due to high storage costs.</p></li><li><p><em>Trusted oracles:</em> Trusted oracles or signer networks can verify input data for zkCoProcessors. However, this method introduces trust dependencies that can compromise security.</p></li><li><p><em>ZKP for data validity:</em> Utilizing ZKPs to ensure the correctness of historical on-chain data, providing cryptographic guarantees without additional trust assumptions. For example, AxiomV2 uses ZK proofs of Merkle-Patricia trie inclusion and block header hash chains to verify data integrity.</p></li></ul><p><strong>Computation</strong></p><p>To handle off-chain computations, zkCoProcessors use several methods, each offering different levels of optimization and developer effort:</p><ul><li><p><em>Custom circuits:</em> These offer the highest performance potential, allowing developers to optimize ZK circuits specifically for their applications. However, this requires significant expertise in circuit design.</p></li><li><p><em>Domain-Specific Languages (DSLs):</em> DSLs simplify some ZK-specific concerns, allowing developers to write circuits in a more intuitive programming language. This provides a better developer experience at the cost of some performance optimization. For instance, DSLs like ZoKrates abstract the complexity of circuit writing.</p></li><li><p><em>zkVMs:</em> zkVMs compile high-level programming languages into ZK circuits, making the development process simpler by abstracting constraint generation. However, this can introduce performance overhead due to differences between traditional computation models and ZK circuit execution. ORA&apos;s zkWASM, for instance, compiles AssemblyScript into WASM and then into ZK circuits, enabling developers to write verifiable computations in familiar languages.</p></li></ul><h3 id="h-3-future-directions" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">3- Future directions:</h3><ol><li><p><strong>Integration with AI/FHE and big data:</strong></p><p>zkCoProcessors will be increasingly used for verifiable AI/FHE and large-scale data analysis, enabling secure computations in advanced decentralized applications. This integration will allow for complex computations involving large datasets to be done off-chain, with results verified on-chain.</p></li><li><p><strong>Developer tools and ecosystem:</strong></p><p>The expansion of libraries and DSLs will make ZK circuit development more accessible. Comprehensive documentation and community support will encourage adoption and ease the learning curve for new developers. Tools that simplify the development process will be critical for wider adoption, as they reduce the technical barriers to entry.</p></li><li><p><strong>New use cases:</strong></p><p>zkCoProcessors will find broader applications in areas requiring intensive data verification and privacy-preserving computations, such as predictive analytics, DeFi, and user profile management in Web3. These use cases will benefit from the ability to perform complex computations off-chain while ensuring the integrity and privacy of the data involved.</p></li></ol><h2 id="h-ii-notable-products" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">II- Notable products</h2><h3 id="h-1-brevis" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">1- Brevis</h3><p><em>Brevis is an advanced zkCoProcessor that uses a hybrid model combining pure-ZK proof systems with an innovative &apos;propose-challenge&apos; mechanism to optimize cost, performance, and functionality for data-driven dApps.</em></p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/f7a081fab567f7362f34a80c5a98f271b0ab7defdb6250fd41274f2ed4d3a083.png" alt="Brevis App Workflow" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="">Brevis App Workflow</figcaption></figure><p>Brevis App Workflow</p><p><strong>Technical features</strong></p><ul><li><p>Data access:</p><ul><li><p>Allows developers to access the full historical on-chain data from supported blockchains, including block headers, account data, storage slots, transactions, and transaction receipts. This capability is essential for applications that need to analyze past blockchain events.</p></li></ul></li><li><p>Computation:</p><ul><li><p>Provides a SDK for developers to build and deploy business logic. Brevis handles the computation and generates a ZK proof off-chain. This offloading reduces the computational burden on the blockchain.</p></li></ul></li><li><p>Result utilization:</p><ul><li><p>Computation results and ZK proofs are submitted back on-chain for verification and use by smart contracts. This ensures that the results can be trusted and used in subsequent smart contract operations.</p></li></ul></li><li><p>Propose-challenge model: This model involves proposing results optimistically without immediate ZK proofs, subject to a predefined challenge period.</p><ul><li><p>Proposing results: Coprocessing requests are handled by generating results optimistically without immediate ZK proofs.</p></li><li><p>Challenge period: Results are subject to a predefined challenge period during which any network participant can challenge them by submitting a ZK proof.</p></li><li><p>Final acceptance: If no challenge is initiated, results are accepted and can be used by dApps without incurring the costs of ZK proof generation.</p></li></ul></li></ul><p><strong>Details:</strong></p><ol><li><p>Data access module:</p><p>Developers specify the required historical blockchain data using Brevis SDK.</p><p>Example: For a DEX trading volume application, the data might include all related swap events.</p></li><li><p>App circuit:</p><p>Developers build the logic to process the specified data.</p><p>Example: Summing up all trade transactions to compute trading volumes.</p></li><li><p>App contract:</p><p>Handles the ZK-verified computation results and integrates them into the application logic.</p></li><li><p>Operational workflow:</p><p>Request submission: dApps submit coprocessing requests specifying the required data and computation logic.</p><p>Result proposal: Validators in Brevis coChain generate coprocessing results and propose them on-chain.</p><p>Challenge mechanism:</p><p>If the results are challenged, a ZK proof is required to verify the correctness. Successful challenges result in penalties for validators and rewards for challengers.</p><p>If unchallenged, the results are accepted and used by the application.</p></li><li><p>Benefits:</p><p>Cost efficiency: The propose-challenge model significantly reduces the costs associated with ZK proof generation.</p><p>Flexibility: Developers can customize the challenge period and security level, adapting to various use cases.</p><p>Scalability: Brevis can handle large-scale data-driven applications with low latency and high performance.</p></li></ol><p><strong>Applications:</strong></p><ol><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://blog.brevis.network/2023/11/01/uniswap-v4-hook-brevis-zk-coprocessor-data-driven-dex-experiences/"><strong>Uniswap V4 integration</strong></a></p><p>It allows any V4 hook to read and compute liquidity providers’ (LPs) and traders’ transaction histories trustlessly, helping the development of loyalty programs and other complex data-driven functionalities.</p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://blog.brevis.network/2024/03/13/revolutionizing-the-web-3-0-ux-with-zkml-powered-by-trusta-and-brevis/"><strong>Trusta’s UX personalization</strong></a></p><p>Enhances its MEDIA Score, a machine learning-powered metric for user profiling, enabling personalized user experiences without compromising trust and privacy. By analyzing user behavior, Trusta can offer more relevant content and services.</p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://blog.brevis.network/2024/04/11/brevis-cochain-avs-launches-on-eigenlayer-the-fusion-of-crypto-economics-zk-proofs/"><strong>Integration with EigenLayer</strong></a></p><p>Leveraging its restaking infrastructure to enhance security. This combination allows Brevis to benefit from EigenLayer’s security model while maintaining cost efficiency and scalability.</p></li></ol><h3 id="h-2-axiom" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">2- Axiom</h3><p><em>Axiom zkCoProcessor offering enhanced capabilities for smart contract developers to perform ZK-verified computations over the entire history of Ethereum. Axiom V2 introduces a new JavaScript interface and supports more extensive on-chain data access.</em></p><p><strong>Technical features:</strong></p><ul><li><p>Enhanced data access:</p><ul><li><p>Supports access to transactions, receipts, and Solidity mappings in addition to block headers, accounts, and contract storage.</p></li><li><p>Allows developers to read any piece of on-chain data that has appeared in the history of Ethereum.</p></li></ul></li><li><p>JavaScript interface:</p><ul><li><p>Developers can specify arbitrary ZK-verified computations over historic data using a JavaScript interface.</p></li><li><p>Simplifies integration by allowing the use of Solidity and JavaScript alone, without requiring ZK-specific verifier contracts.</p></li></ul></li><li><p>Universal verifier:</p><ul><li><p>A universal verifier contract enables developers to verify results on-chain without deploying new ZK-specific contracts.</p></li><li><p>Results are received through a callback function in the smart contract.</p></li></ul></li></ul><p><strong>Details</strong></p><ol><li><p>Data access:</p><p>Developers can request authenticated on-chain data using the Axiom Client SDK.</p><p>Supported data types include block headers, accounts, contract storage, transactions, receipts, and nested Solidity mappings.</p></li><li><p>ZK Primitives and Computation:</p><p>Axiom SDK provides ZK circuit primitives for computations over the data.</p><p>Developers can write custom queries and computations in JavaScript, which are then verified by Axiom.</p></li><li><p>Integration:</p><p>Developers implement a smart contract callback to receive ZK-verified results.</p><p>The callback interface allows seamless integration with existing smart contracts.</p></li><li><p>Operational workflow</p><ul><li><p>Query composition: Developers compose queries using the Axiom Client SDK and specify computations in JavaScript.</p></li><li><p>Proof generation: Axiom generates ZK proofs for the specified queries and computations.</p></li><li><p>Result verification:</p><p>ZK-verified results are forwarded to the smart contract callback.</p><p>The universal verifier contract checks the proof and ensures the integrity of the results.</p></li></ul></li></ol><p><strong>Benefits</strong></p><ol><li><p>Ease of use: The JavaScript interface and simplified integration process make it accessible for developers without extensive ZK knowledge.</p></li><li><p>Comprehensive data access: Full access to Ethereum’s historical data allows for more complex and data-rich applications.</p></li><li><p>Cost efficiency: The use of a universal verifier reduces the need for multiple ZK-specific contracts, lowering integration costs.</p></li></ol><h3 id="h-3-zcloak-network" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">3- zCloak network</h3><p><em>zCloak Network has developed a chain abstraction-based zkCoProcessor designed to work across multiple blockchain platforms. This zkCoProcessor leverages the Internet Computer (ICP) for efficient off-chain ZK computation and verification.</em></p><p><strong>Technical features:</strong></p><ul><li><p>Chain abstraction:</p><ul><li><p>Enables ZKPs to be executed and recognized across various blockchain systems.</p></li><li><p>Facilitates cross-chain interoperability of ZKP verification outcomes.</p></li></ul></li><li><p>zkCoProcessor:</p><ul><li><p>Offloads ZK-intensive computations from conventional public blockchains to high-performance off-chain resources.</p></li></ul></li></ul><p><strong>Details:</strong></p><ol><li><p>ZK program:</p><p>Supports the creation of general-purpose computing programs without manual zk circuit construction.</p><p>Uses zk-STARK-based zkVM (Polygon Miden) integrated with zCloak’s zkID SDK.</p></li><li><p>ZKP generation:</p><p>Executes the logic for ZKP generation in WASM format locally via the Miden zkVM.</p><p>Facilitates ZKP generation within web development workflows.</p></li><li><p>ZKP verification:</p><p>Uses ICP’s decentralized cloud infrastructure for ZKP verification.</p><p>Leverages ICP’s threshold ECDSA signature scheme for secure and efficient verification.</p></li><li><p>Operational workflow:</p><ul><li><p>Local ZKP generation:</p><p>Users generate ZKPs locally using the zkID SDK, which runs the zkVM and associated zero-knowledge programs.</p><p>Example: Generating a ZKP for a game’s escape path without revealing the exact path.</p></li><li><p>ZKP submission:</p><p>Users submit the generated ZKP to the ZKP verification module on ICP.</p><p>The verification module processes and verifies the ZKP using ICP’s decentralized infrastructure.</p></li><li><p>Verification results:</p><p>Verified results are signed using ICP’s threshold ECDSA signature.</p><p>Results can be sent to any blockchain supporting ECDSA signature verification.</p></li></ul></li></ol><p><strong>Benefits:</strong></p><ul><li><p>Ultra-low costs:</p><p>Verifying ZKPs within ICP is significantly cheaper than on Ethereum.</p><p>The overall cost of using the zkCloak solution is substantially lower.</p></li><li><p>High execution efficiency:</p><p>The zCloak ZK coprocessor approach allows for verification of large ZKPs within a single transaction.</p><p>This method is more efficient than the conventional multi-step proof verification process.</p></li><li><p>High execution speed:</p><p>The entire ZKP verification process is completed in a few hundred milliseconds.</p><p>This speed rivals off-chain computation times.</p></li></ul><p><strong>Applications</strong></p><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://github.com/zCloak-Network/ZK-Maze"><strong>ZK maze game</strong></a></p><p><em>Players navigate a character through a maze, generating a ZKP for the escape path. The game verifies the ZKP using the zkCloak verification module and awards achievements based on the path.</em></p><p><strong>Integration steps:</strong></p><ol><li><p>Generate ZKP: The game front-end uses the zkID SDK to generate the ZKP locally.</p></li><li><p>Submit ZKP: The ZKP is submitted to the ICP-based verification module.</p></li><li><p>Verify and use results: The verification results are checked on-chain using a smart contract. Achievements are awarded based on the verified ZKP.</p></li></ol><h2 id="h-iii-conclusion" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">III- Conclusion</h2><h3 id="h-1-strengths" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">1- Strengths:</h3><ul><li><p>zkCoProcessors like AxiomV2 and Brevis enable access to historical on-chain data with cryptographic guarantees of data integrity through ZKPs.</p></li><li><p>Offloading computations off-chain reduces the load on blockchain networks. Brevis’s propose-challenge model optimizes ZK proof generation, enhancing cost-efficiency.</p></li><li><p>zCloak Network’s chain abstraction facilitates ZKP execution and verification across different blockchains, promoting seamless interoperability.</p></li><li><p>Tools such as Axiom’s JavaScript interface and Brevis&apos;s SDK simplify ZKP integration, making it accessible for developers without deep cryptographic expertise.</p></li></ul><h3 id="h-2-challenges" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">2- Challenges:</h3><ul><li><p>Complexity: The intricate concepts of ZKPs and zkCoProcessors pose a steep learning curve for developers, potentially hindering adoption.</p></li><li><p>Performance overheads: Despite improvements, proof generation and verification can still introduce latency, especially in real-time applications.</p></li><li><p>Cost considerations: Initial setup and integration costs can be high, particularly for small projects. External dependencies, such as ICP in zCloak, add potential cost variability.</p></li><li><p>Security risks: The security of zkCoProcessors depends on the robustness of ZK algorithms. Vulnerabilities in ZK circuits or integration frameworks could compromise the system.</p></li></ul><p>zkCoProcessors are an important development in technology, addressing key issues like blockchain scalability, security, and interoperability. Although they can be complex and may involve some overhead, their ability to deliver trustless and efficient computations makes them useful for creating advanced decentralized applications. To be successfully integrated and widely adopted in the blockchain world, they need ongoing improvements and strong security practices.</p><h2 id="h-iv-references" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">IV- References</h2><ul><li><p>Brevis Team. (2023, November). <em>Uniswap V4 Hook + Brevis ZK Coprocessor = Data-driven DEX Experiences</em>. Brevis Network. <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://blog.brevis.network/2023/11/01/uniswap-v4-hook-brevis-zk-coprocessor-data-driven-dex-experiences/">https://blog.brevis.network/2023/11/01/uniswap-v4-hook-brevis-zk-coprocessor-data-driven-dex-experiences/</a></p></li><li><p>Brevis Team. (2024a, February 26). <em>Launching Brevis V2: Generalized ZK Coprocessor for Data-driven dApps</em>. Brevis Network. <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://blog.brevis.network/2024/02/26/v2launch/">https://blog.brevis.network/2024/02/26/v2launch/</a></p></li><li><p>Brevis Team. (2024b, March 13). <em>Revolutionizing the Web 3.0 UX with ZKML Powered by Trusta and Brevis</em>. Brevis Network. <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://blog.brevis.network/2024/03/13/revolutionizing-the-web-3-0-ux-with-zkml-powered-by-trusta-and-brevis/">https://blog.brevis.network/2024/03/13/revolutionizing-the-web-3-0-ux-with-zkml-powered-by-trusta-and-brevis/</a></p></li><li><p>Brevis Team. (2024c, April 11). <em>Brevis coChain AVS Launches on EigenLayer: The Fusion of Crypto-Economics + ZK Proofs</em>. Brevis Network. <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://blog.brevis.network/2024/04/11/brevis-cochain-avs-launches-on-eigenlayer-the-fusion-of-crypto-economics-zk-proofs/">https://blog.brevis.network/2024/04/11/brevis-cochain-avs-launches-on-eigenlayer-the-fusion-of-crypto-economics-zk-proofs/</a></p></li><li><p>Sledd, L., Lehman, S., &amp; Liu, C. (2024). <em>A Two-Part Approach to Understanding zk Coprocessors</em>. Symbolic.capital. <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.symbolic.capital/writing/a-two-part-approach-to-understanding-zk-coprocessors">https://www.symbolic.capital/writing/a-two-part-approach-to-understanding-zk-coprocessors</a></p></li><li><p>Sun, Y. (2024, January 22). <em>Announcing Axiom V2 on Mainnet</em>. Axiom; Axiom. <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://blog.axiom.xyz/v2-mainnet/">https://blog.axiom.xyz/v2-mainnet/</a></p></li><li><p>zCloak Network. (2024, March 7). <em>A Chain Abstraction Based ZK Coprocessor by zCloak Network</em>. Medium; Medium. <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://zcloaknetwork.medium.com/a-chain-abstraction-based-zk-coprocessor-by-zcloak-network-aa86c42a9dec">https://zcloaknetwork.medium.com/a-chain-abstraction-based-zk-coprocessor-by-zcloak-network-aa86c42a9dec</a></p></li></ul>]]></content:encoded>
            <author>calibervb@newsletter.paragraph.com (Caliber)</author>
            <enclosure url="https://storage.googleapis.com/papyrus_images/649e303e60047f6fba696c2908fa57c8e2148307262b35d4492b2bc9eac744a9.png" length="0" type="image/png"/>
        </item>
        <item>
            <title><![CDATA[Boosting Blockchain Interoperability: Chain Abstraction in NEAR Protocol]]></title>
            <link>https://paragraph.com/@calibervb/boosting-blockchain-interoperability-chain-abstraction-in-near-protocol</link>
            <guid>XtgFJmZLeAKZnJLO8Cvz</guid>
            <pubDate>Tue, 11 Jun 2024 08:35:33 GMT</pubDate>
            <description><![CDATA[Caliber June 11, 2024 Special thanks to the NEAR team for their valuable review and support in crafting this analysis.IntroductionThe pace of Web3 technology development is impressive, but it is also increasing fragmentation across blockchain networks, complicating the user experience and raising barriers to entry. Chain abstraction has emerged as a key solution, providing a cohesive interface that simplifies navigation across different blockchains, thereby enhancing seamless interaction with...]]></description>
            <content:encoded><![CDATA[<p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://caliber.build/"><strong>Caliber</strong></a> June 11, 2024</p><p><em>Special thanks to the NEAR team for their valuable review and support in crafting this analysis.</em></p><h2 id="h-introduction" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Introduction</h2><p>The pace of Web3 technology development is impressive, but it is also increasing fragmentation across blockchain networks, complicating the user experience and raising barriers to entry. Chain abstraction has emerged as a key solution, providing a cohesive interface that simplifies navigation across different blockchains, thereby enhancing seamless interaction with decentralized applications (dApps).</p><p>Chain abstraction reduces the need to manage multiple wallets, handle different gas fees, or connect assets between chains. It allows users to interact with dApps easily, driving greater accessibility and adoption of Web3 technology. The NEAR protocol leads this innovation front by integrating technologies such as Multi-Party Computation (MPC) for robust key management, decentralized interfaces that deliver a consistent user experience, and multi-chain signatures for flexible cross-chain transactions. This approach not only minimizes current fragmentation but also sets the stage for a more integrated and user-centric blockchain ecosystem.</p><p>This article will explore how chain abstraction works, show how the NEAR Protocol is leading this change, and discuss how it could revolutionize the use of decentralized apps in the future.</p><h1 id="h-chain-abstraction-in-near-protocol" class="text-4xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0"><strong>Chain Abstraction in NEAR protocol</strong></h1><h3 id="h-overview" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Overview</h3><p>Chain abstraction in NEAR Protocol aims to simplify the user experience by unifying the functionality of various blockchains. This abstraction layer allows users to interact seamlessly with multiple blockchains through a single NEAR account. This unification not only enhances user experience but also expands the potential demand for dApps, bringing up greater adoption and innovation within the Web3 space.</p><p>Imagine a scenario where a user wants to buy a token that is only available on a specific blockchain. Traditionally, this would require setting up a new wallet, acquiring native tokens for transaction fees, and understanding the blockchain&apos;s interface. Chain abstraction removes these barriers. Users can perform transactions across different blockchains using their existing NEAR wallet and interface, without worrying about the specific details of each blockchain. This concept is similar to how the Internet works—users can visit many different websites without understanding the underlying infrastructure or protocols.</p><h3 id="h-how-it-works" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0"><strong>How it works</strong></h3><p><strong>Account Aggregation</strong></p><p>NEAR&apos;s account system is designed to manage multiple keys within a single account, enabling users to transact on various blockchains without having multiple seed phrases or private keys. This feature, known as account aggregation, allows a single NEAR account to hold keys for different blockchains, making cross-chain interactions seamless. Users can rotate keys without changing their account address, enhancing security and convenience.</p><p>For example, a NEAR account can store multiple keys, each with specific permissions. If a key is compromised, it can be replaced without affecting other keys or the account itself. This flexibility is a significant improvement over traditional EVM chains, where each new key pair requires a new address and the migration of assets.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/e01608b5cb2957f1684c7214c4c5c6476c6e9818fe10d4b4012ac59457a31db0.png" alt="NEAR Accounts" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="">NEAR Accounts</figcaption></figure><p><strong>Multi-party computation</strong></p><p>Multi-party computation is the backbone of NEAR&apos;s chain abstraction. It ensures that private keys are never fully exposed by distributing key generation and signing processes across multiple nodes. Each node holds only a part of the key, and they collaboratively sign transactions without any single node knowing the entire key. This approach significantly enhances security and reduces the risk of key compromise.</p><p>The MPC network in NEAR supports key generation and transaction signing for multiple blockchains, including EVM chains and Bitcoin. When a user wants to sign a transaction, each MPC node generates a partial signature, which is then combined to form a full signature. This decentralized approach to key management is critical for secure and efficient cross-chain transactions.</p><p>MPC is particularly useful for cross-chain transactions where multiple approvals are required before any action is taken. The coordination required to manage signing policies and approve transactions happens off the blockchain, which can introduce risks related to centralization. However, the benefits of MPC, such as flexible signing processes and detailed control over who can access and sign off on transactions, outweigh these risks.</p><p>Traditional MPC networks often rely on deposit-based or bridge-based models, where users must lock assets in smart contracts to facilitate cross-chain transactions. These models can introduce additional layers of complexity and risk, such as managing multiple blockchain addresses and navigating through bridging processes. In contrast, NEAR&apos;s MPC implementation uses an account-based pattern, reducing the complexity for users. By enabling a single NEAR account to manage multiple blockchain addresses, NEAR&apos;s MPC network simplifies the process and enhances security.</p><p><strong>Chain Signatures</strong></p><p>Chain Signatures is a significant innovation of NEAR’s chain abstraction. They enable NEAR accounts to sign transactions on multiple blockchains using a decentralized MPC network and dual quorum security model. This helps users avoid complex bridging mechanisms when interacting cross-chain. With chain signatures, a NEAR account acts as a master account, which manages transactions across various networks, including Bitcoin, Ethereum, Cosmos, and more. The core mechanism involves NEAR validators or MPC nodes signing a payload, such as a transaction intended for another blockchain. This payload, once signed, is sent to the destination chain, facilitating seamless cross-chain transactions.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/d113f59b130cdf66461ad56d5b4f579a385876dc0db052377af9f575fcaa1637.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p><strong>Multichain gas relayer</strong></p><p>The Multichain gas relayer is another key component of NEAR&apos;s chain abstraction. This solution simplifies the process of covering transaction costs across different blockchain networks. Users can utilize NEAR or NEP-141 tokens to pay transaction fees on any blockchain network without needing to own native gas tokens. This feature enhances the user experience by providing a seamless and cost-effective way to interact with multiple blockchains.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/980de97aef212650f804d5858bb62229ef18d70f37d174aa8439d35446c34ef5.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p><strong>Data Availability layer</strong></p><p>Ensuring that transaction data is reliably stored and accessible is crucial for maintaining blockchain integrity. NEAR’s data availability layer provides a decentralized infrastructure for data storage, ensuring that all transaction data is available and verifiable. This layer supports fast and efficient data retrieval, which is essential for high-performance blockchain applications.</p><p>For instance, NEAR&apos;s data availability layer allows Ethereum rollups to transfer their execution layer to NEAR, benefiting from lower costs and faster transactions without compromising security. This integration showcases how NEAR&apos;s data availability solutions can enhance the performance and scalability of other blockchain networks.</p><p><strong>Decentralized sequencers</strong></p><p>Decentralized sequencers play a fundamental role in transaction validation and achieving consensus within the network. They eliminate the need for a central authority, promoting transparency and reducing the risk of manipulation. Sequencers receive, organize, and execute transactions, ensuring they are included in blocks in a decentralized manner.</p><p>NEAR’s decentralized sequencers are crucial for maintaining the integrity and reliability of the blockchain, as they handle critical tasks without relying on a single point of failure. This decentralized approach enhances the security and robustness of the network, making it more resilient to attacks and failures.</p><p><strong>Differences between Chain Abstraction and Account Abstraction</strong></p><p>Account Abstraction (AA) in Ethereum aims to enhance the user experience by simplifying account management and transaction execution. Key features of AA include the use of UserOperation objects, multi-factor authentication, and flexible gas payments. This system is compatible with EVM chains like Arbitrum, Polygon,… and is supported by wallets such as <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.ambire.com/">Ambire</a>, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://app.safe.global/">Safe</a>,... In contrast, Chain Abstraction (CA) on the NEAR protocol focuses on cross-chain interoperability, enabling seamless interactions across multiple blockchains from a single interface. CA simplifies user interactions by eliminating the need for cross-chain bridges, allowing users to manage assets and transact across different blockchains without understanding the underlying technology. It is crucial to discuss AA when analyzing CA to prevent confusion between these two concepts.</p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/0ab52ac7ca09add205b3ea47f40c8b8cf5f376bccd0fd3383a73c9fcc8edd10c.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><h2 id="h-applications-and-use-cases" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Applications and Use Cases</h2><h3 id="h-potential-use-cases-for-chain-abstraction" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Potential use cases for Chain abstraction</h3><p>With the power of Chain Abstraction, we can significantly streamline multi-chain decentralized application development and operations, making complex blockchain interactions user-friendly and efficient more with users.</p><p><strong>Trading blockchain assets without transactions:</strong></p><ul><li><p>Using chain signatures, users can trade assets across different blockchains by swapping the ownership of NEAR accounts that control funds on various blockchains. This method keeps native tokens on their respective blockchains and enables atomic trades across chains with faster settlement times.</p></li><li><p>Traditional cross-chain asset trading typically relies on bridges, leading to longer settlement times and higher complexity. Chain signatures simplify this process by allowing NEAR accounts to control assets on different blockchains. When users trade, they swap control of NEAR accounts that hold the assets, ensuring atomicity and reducing the time required for settlement. This approach enhances the efficiency and security of cross-chain trades by leveraging NEAR&apos;s MPC network for transaction signing and validation.</p></li></ul><p><strong>Delegated Smart Contract Permissions:</strong></p><ul><li><p>Chain signatures enable NEAR smart contracts to execute actions on behalf of users, such as recovering keys for an app user or rebalancing pools based on specific conditions.</p></li><li><p>Delegated smart contract permissions allow for automated and secure management of user accounts and assets. For instance, a social recovery contract can facilitate key recovery by involving a user’s trusted contacts. Similarly, smart contracts can execute predefined actions, such as rebalancing asset pools, without direct user intervention. This automation enhances the functionality and security of decentralized applications by leveraging NEAR’s chain signatures to manage permissions and execute actions across different blockchain networks.</p></li></ul><p>These features not only simplify operations but also open up numerous possibilities for multi-chain dApps across various areas.</p><p><strong>Cross-chain zero-friction onboarding:</strong></p><ul><li><p>Using the unique features of the NEAR account model, such as Keypom, users can experience zero-friction onboarding and transactions on NEAR, which can then extend to other chains through chain signatures.</p></li><li><p>Keypom leverages NEAR’s account model to provide a seamless onboarding experience by creating restricted NEAR accounts and funding them for initial interactions. Users receive keys with limited control, allowing them to engage with decentralized applications without managing complex account setups. This model can be extended to other chains via chain signatures, facilitating easy onboarding across multiple blockchain networks and enhancing user adoption through simplified processes.</p></li></ul><p><strong>DeFi on Bitcoin and other non-VM chains:</strong></p><ul><li><p>Chain signatures enable NEAR smart contracts to control externally-owned accounts on non-smart contract chains like Bitcoin. This allows developers to build DeFi applications for Bitcoin, utilizing NEAR as a smart contract layer.</p></li><li><p>By enabling NEAR smart contracts to manage Bitcoin accounts, chain signatures open up DeFi possibilities for non-smart contract blockchains. For example, a decentralized exchange for Bitcoin Ordinals can be built using NEAR smart contracts to manage deposits and verify trades. This approach leverages NEAR’s MPC and decentralized sequencer infrastructure to ensure secure and efficient cross-chain transactions, extending the functionality of Bitcoin and other similar blockchains.</p></li></ul><p><strong>Multichain Decentralized Exchanges:</strong></p><ul><li><p>One of the most desired but complex-to-build use cases is a decentralized exchange (DEX) that works across most, if not all, chains. Currently, users must default to centralized exchanges for such a multichain experience due to the complexity of bridging, gas, and handling separate wallets. With Account Aggregation, DEX smart contracts can live on NEAR while having deposit addresses across all chains. This means there is no need to bridge assets to a single chain to swap or for the user to bridge to the chain where assets have liquidity. Instead, they can easily swap <code>BTC</code> on the Bitcoin network for <code>OP</code> on Optimism using such a NEAR smart contract.</p></li></ul><p><strong>Multichain dApps:</strong></p><ul><li><p>Chain abstraction demonstrates its potential to revolutionize multi-chain dApps, extending its capabilities beyond decentralized exchanges to include lending protocols, staking platforms, and decentralized autonomous organizations (DAOs).</p></li><li><p>For instance, a developer could build a lending platform on NEAR that interacts with assets on Ethereum, Bitcoin, and other chains, allowing users to collateralize, lend, or borrow assets across these networks seamlessly. Similarly, a DAO could operate transparent governance mechanisms that integrate voting systems from multiple chains, enhancing participation and security for its members. NEAR’s efficient consensus mechanism and low transaction costs further amplify its suitability for complex, high-frequency trading platforms, and financial instruments, making it a practical and attractive option for developers looking to create next-generation dApps that require robust multi-chain functionality.</p></li><li><p><strong>Practical examples:</strong></p><ul><li><p><strong>Lending protocols</strong>: At present, platforms like <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://docs.burrow.finance/product-docs">Burrow</a> utilize the Rainbow Bridge to enable cross-chain interactions. However, the future lies in Chain Abstraction, which will allow even greater simplification and standardization across blockchain interactions. Users can deposit digital assets as collateral on one blockchain and borrow against them on another due to this advanced feature, promoting smooth capital movement and enhanced financial flexibility. This advanced feature also helps developers by streamlining the incorporation of various blockchain protocols, consensus mechanisms, and smart contract languages. The barrier to creating complex multi-chain applications will be significantly lower, reducing both the potential for errors and the complexity involved.</p></li><li><p><strong>Staking platforms</strong>: Chain Abstraction aids in creating staking platforms that can operate over multiple blockchains, enhancing user engagement by allowing staking of various assets from different chains, all managed through a single NEAR-based interface. This not only simplifies the user experience but also maximizes the earning potential across different networks.</p></li><li><p><strong>Decentralized Autonomous Organizations</strong>: NEAR enhances DAO functionality by allowing decentralized governance activities to span across blockchains, where decisions made on the NEAR platform can directly influence actions on connected chains. This is crucial for DAOs that manage cross-chain assets or projects that require coordinated decision-making across a decentralized network.</p></li><li><p><strong>Decentralized Exchanges</strong>: <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://ref-finance.medium.com/a-thesis-on-ref-2-0-as-a-chain-abstracted-dex-e79d14fb0112">Ref 2.0</a>, powered by NEAR&apos;s Chain Abstraction, is redefining the multi-chain DEX landscape. This advanced platform supports trading between multiple assets across different blockchains, incorporating complex features such as liquidity pooling and yield farming, all optimized through NEAR’s fast and low-cost transactions. NEAR&apos;s revolutionary approach allows for trustless signing of transactions across chains, eliminating the need for traditional cross-chain bridges.</p></li></ul></li></ul><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/06ba21509b69dd84cba54080cee4dc74b05d9411e76a4573a294fe286d517a76.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p><strong>Web2 Authentication-Controlled blockchain accounts:</strong></p><ul><li><p>This use case involves managing Web3 accounts using existing Web2 authentication methods, such as passkeys, OAuth, or similar protocols. Users can interact with blockchain applications on multiple networks (e.g., Ethereum, Polygon) by validating their identity with a secure token, which is then used to sign transactions.</p></li><li><p>Web2 authentication-controlled blockchain accounts streamline user onboarding by integrating familiar Web2 authentication methods. By using secure tokens to validate identities, NEAR allows users to manage blockchain accounts without dealing with complex seed phrases or key management. This integration enhances security and user experience, making it easier for users to adopt blockchain technology. The NEAR contract that supports secure token authentication ensures that users can interact with various blockchain networks securely and efficiently.</p></li></ul><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/cf1adbb2a2dd588961ef14c1ffbf35c775eb5c9d465a8d8a0867f461dbcd52e3.png" alt="Example with Passkeys authentication, which can be replaced with another authorization provider." blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="">Example with Passkeys authentication, which can be replaced with another authorization provider.</figcaption></figure><h2 id="h-real-world-applications" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Real-World Applications</h2><h3 id="h-sweat-economy" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0"><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://sweateconomy.com/">SWEAT Economy</a>:</h3><ul><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://sweateconomy.com/">This application</a> utilizes NEAR’s multichain gas relayer to enable users to send transactions from NEAR to the BNB chain, with gas fees paid using SWEAT tokens. This integration demonstrates how chain abstraction can simplify the transaction process and enhance user experience by removing the need for managing multiple gas tokens.</p></li><li><p>The SWEAT Economy’s use of the multichain gas relayer illustrates the practical application of abstracting gas fees across blockchains. By allowing users to pay gas fees with SWEAT tokens, NEAR Protocol effectively eliminates the barrier of acquiring native gas tokens for each transaction, streamlining the user experience and promoting broader adoption. This approach leverages NEAR’s account aggregation and multichain capabilities to facilitate seamless cross-chain transactions, enhancing the usability of blockchain technology for non-technical users.</p></li></ul><h3 id="h-east-blue" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0"><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://eastblue.io/">East Blue</a>:</h3><ul><li><p>Leveraging NEAR’s chain signatures, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://eastblue.io/">East Blue</a> pioneers Bitcoin DeFi use cases, allowing users to extend Bitcoin’s functionality through smart contracts. This approach opens new avenues for Bitcoin applications, such as decentralized finance, without compromising security.</p></li><li><p>East Blue’s implementation of chain signatures to facilitate Bitcoin DeFi transactions is a significant advancement in blockchain interoperability. By utilizing NEAR’s MPC key generation and decentralized sequencers, East Blue enables secure and efficient cross-chain transactions. This use case highlights the robustness of NEAR’s chain signatures in extending the capabilities of legacy blockchains like Bitcoin, providing secure access to DeFi applications and expanding the functionality of Bitcoin through seamless interaction with smart contracts.</p></li></ul><h3 id="h-linear" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0"><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://linearprotocol.org/">LiNEAR</a>:</h3><ul><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://linearprotocol.org/">LiNEAR</a> develops a multichain, multi-asset staking framework on top of EigenLayer, facilitating secure restaking of non-ETH assets, including NEAR, for application security. This framework showcases the versatility of NEAR’s chain abstraction in supporting diverse staking mechanisms.</p></li><li><p>The multichain, multi-asset staking framework developed by LiNEAR leverages NEAR’s account aggregation and MPC key management to support the secure restaking of assets across multiple blockchains. By integrating with EigenLayer, LiNEAR ensures that staking and restaking processes are secure and efficient, utilizing NEAR’s robust data availability and decentralized sequencer infrastructure. This enhances the security and scalability of staking mechanisms, making it easier for users to manage and stake diverse assets across different blockchain networks.</p></li></ul><h3 id="h-mintbase" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0"><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.mintbase.xyz/">Mintbase</a>:</h3><ul><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.mintbase.xyz/">Mintbase</a> enables NEAR-based wallet holders to purchase Ethereum-based NFTs directly, illustrating the seamless interoperability between NEAR and Ethereum ecosystems. This use case highlights the potential of chain abstraction to bridge different blockchain networks and simplify user interactions.</p></li><li><p>By utilizing NEAR’s chain signatures and multichain gas relayer, Mintbase eliminates the need for users to switch between different wallets and manage multiple blockchain accounts. This interoperability enhances the user experience by providing a unified interface for cross-chain transactions, demonstrating the practical benefits of chain abstraction in the NFT market.</p></li></ul><h1 id="h-future-work-and-open-questions" class="text-4xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Future work and open questions</h1><h2 id="h-potential-improvements" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Potential improvements</h2><h3 id="h-enhanced-blockchain-support" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Enhanced blockchain support:</h3><ul><li><p>NEAR’s MPC currently works with the ECDSA signing scheme, allowing it to function seamlessly on any blockchain that uses ECDSA. It would be beneficial to explore and add support for additional signing schemes such as EdDSA and Schnorr to further improve its chain abstraction capabilities.</p></li><li><p>Expanding support to include these additional signing schemes will provide users with more options and greater flexibility in interacting with different blockchain ecosystems. However, supporting multiple signing schemes presents a challenge in managing the same user addresses across different blockchains, as these addresses will no longer be identical due to the use of different schemes. This expansion will need strong protocols for interoperability and full support for different cryptographic signatures, making NEAR a more flexible and inclusive platform.</p></li></ul><h3 id="h-advanced-data-availability-solutions" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Advanced data availability solutions:</h3><ul><li><p>Further development of data availability solutions to ensure even faster and more reliable data access and storage.</p></li><li><p>Improving data availability solutions is crucial for maintaining the integrity and performance of blockchain applications. NEAR’s focus on advanced data availability mechanisms can enhance the speed and reliability of data retrieval, supporting high-frequency trading, real-time gaming, and other applications requiring quick and dependable access to blockchain data. This involves optimizing decentralized storage systems and ensuring efficient data replication and retrieval protocols.</p></li></ul><h3 id="h-refinement-of-mpc-techniques" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Refinement of MPC techniques:</h3><ul><li><p>Enhancing the efficiency and security of MPC techniques used in key generation and transaction signing.</p></li><li><p>Continuous refinement of MPC techniques is essential to improve the scalability and security of NEAR’s chain abstraction solutions. By optimizing the computational processes involved in MPC key generation and transaction signing, NEAR can reduce latency and enhance the overall user experience. This involves advancing cryptographic algorithms and implementing more efficient multi-party computation protocols to handle increasing transaction volumes and user demands.</p></li></ul><h2 id="h-open-questions" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Open questions</h2><ul><li><p>Scalability: How scalable are the current chain abstraction mechanisms as the number of validators or MPC nodes and transactions grows?</p><ul><li><p>Addressing scalability is a critical challenge for NEAR’s chain abstraction framework. Ensuring that the system can handle a growing number of validators or MPC nodes and transactions without degrading performance requires innovative scaling solutions, such as sharding, improved consensus algorithms, and optimized network protocols. Future research should focus on evaluating and enhancing the scalability of NEAR’s infrastructure to support widespread adoption.</p></li></ul></li><li><p>Security concerns: Are there potential security vulnerabilities in the MPC network or decentralized sequencers that need addressing?</p><ul><li><p>Identifying and mitigating security vulnerabilities in the MPC network and decentralized sequencers is crucial to maintaining trust in NEAR’s chain abstraction solutions. Potential attack vectors, such as collusion between nodes or vulnerabilities in the key generation process, need to be thoroughly analyzed and addressed. Ongoing security audits, advanced cryptographic research, and robust security protocols are essential to ensure the integrity and security of the system.</p></li></ul></li></ul><h1 id="h-final-thoughts" class="text-4xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Final thoughts:</h1><h3 id="h-impact-of-near-protocols-chain-abstraction-across-the-ecosystem" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Impact of NEAR Protocol’s Chain Abstraction across the ecosystem</h3><ul><li><p>NEAR Protocol&apos;s Chain Abstraction makes blockchain development easier by hiding the complex interactions between different blockchains. Developers can focus on building strong applications without worrying about the complicated details of each blockchain. It also makes transactions across multiple blockchains smooth, simplifying development and cutting costs.</p></li><li><p>For users, NEAR’s Chain Abstraction offers a simpler and more unified experience. Users can interact with different blockchain platforms through one easy-to-use interface, making it much easier to learn and use. This user-friendly approach is key to wider adoption, potentially boosting trust and the number of transactions in the NEAR ecosystem.</p></li></ul><h3 id="h-the-future-of-blockchain-usability" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">The future of blockchain usability</h3><ul><li><p>While NEAR Protocol is a major player in chain abstraction, it&apos;s not the only one making strides in this area. The blockchain world is full of new developments, with many different platforms working towards a more connected and easy-to-use Web3 experience. From Ethereum&apos;s improvements in interoperability to newer players introducing innovative solutions, the dynamics of collaboration and competition in this space are driving the development of technologies designed to reduce fragmentation across the blockchain ecosystem.</p></li><li><p>Together, these innovations are building a foundation for a future where the complexity of blockchain is effortlessly hidden from the user. This push for chain abstraction is a major step toward making blockchain technology common and easy to use, preparing for a digital world where technology supports user interaction smoothly without being too complex. Looking ahead, the evolution of chain abstraction will likely play a crucial role in the widespread adoption and practical application of Web3 technologies.</p></li></ul><h1 id="h-references" class="text-4xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">References</h1><ul><li><p>Hub, N. B. (2024, April 17). <em>The Power of Chain Abstraction and Chain Signatures on NEAR Protocol</em>. Medium. <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://medium.com/@nearbalkans/the-power-of-chain-abstraction-and-chain-signatures-on-near-protocol-2f95b4338a7f">https://medium.com/@nearbalkans/the-power-of-chain-abstraction-and-chain-signatures-on-near-protocol-2f95b4338a7f</a></p></li><li><p>NEAR Team. (2024, April 25). <em>NEAR - Your Gateway to an Open Web | NEAR Documentation</em>. <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="http://Docs.near.org">Docs.near.org</a>. <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://docs.near.org/">https://docs.near.org/</a></p></li><li><p>Polosukhin, I. (2024, January 24). <em>Why Chain Abstraction Is the Next Frontier for Web3</em>. NEAR Protocol. <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://pages.near.org/blog/why-chain-abstraction-is-the-next-frontier-for-web3/">https://pages.near.org/blog/why-chain-abstraction-is-the-next-frontier-for-web3/</a></p></li><li><p>Polosukhin, I., Millar-Durrant, D., Ravi, G., Ortega, D., &amp; Anderson, M. (2024, February 15). <em>Unlocking Web3 Usability with Account Aggregation</em>. NEAR Protocol. <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://pages.near.org/blog/unlocking-web3-usability-with-account-aggregation/">https://pages.near.org/blog/unlocking-web3-usability-with-account-aggregation/</a></p></li><li><p>Ref Finance. (2023, December 13). <em>A Thesis on Ref 2.0 as a Chain Abstracted DEX</em>. Medium. <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://ref-finance.medium.com/a-thesis-on-ref-2-0-as-a-chain-abstracted-dex-e79d14fb0112">https://ref-finance.medium.com/a-thesis-on-ref-2-0-as-a-chain-abstracted-dex-e79d14fb0112</a></p></li></ul>]]></content:encoded>
            <author>calibervb@newsletter.paragraph.com (Caliber)</author>
            <enclosure url="https://storage.googleapis.com/papyrus_images/47add677aca3db4d61d736f3ccc68d6df0b634e2a4ee68f6e6079e1b30e92a36.png" length="0" type="image/png"/>
        </item>
        <item>
            <title><![CDATA[Bitcoin Layer 2 Landscape]]></title>
            <link>https://paragraph.com/@calibervb/bitcoin-layer-2-landscape</link>
            <guid>ICsdr1sI43zQx0fETCum</guid>
            <pubDate>Tue, 14 May 2024 15:39:30 GMT</pubDate>
            <description><![CDATA[Caliber May 14, 2024Bitcoin&apos;s Layer 2 OverviewIn the intricate landscape of financial technology, Bitcoin stands as a beacon of innovation, a digital currency that sidesteps the conventional financial mediators, enabling unmediated, peer-to-peer exchanges. However, with its rise comes a series of inherent challenges, most notably those tied to scalability and transaction throughput — important obstacles on the path toward more widely applicable. These challenges aren&apos;t unique to Bit...]]></description>
            <content:encoded><![CDATA[<p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://caliber.build/"><strong>Caliber</strong></a> May 14, 2024</p><h2 id="h-bitcoins-layer-2-overview" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0"><strong>Bitcoin&apos;s Layer 2 Overview</strong></h2><p>In the intricate landscape of financial technology, Bitcoin stands as a beacon of innovation, a digital currency that sidesteps the conventional financial mediators, enabling unmediated, peer-to-peer exchanges. However, with its rise comes a series of inherent challenges, most notably those tied to scalability and transaction throughput — important obstacles on the path toward more widely applicable.</p><p>These challenges aren&apos;t unique to Bitcoin, Ethereum - although also designed with flexible application development capabilities - also has similar problems. And many solutions have been proposed to solve this problem for both, such as side-chains, layer 2, or payment channels networks. With Ethereum, the layer 2 ecosystem is rapidly expanding, with diverse solutions like EVM rollups, sidechains transitioning to rollups, and projects striving for various degrees of decentralization and security. The security implications of layer 2 solutions, particularly focusing on asset guarantees and the ability of these systems to read and adapt to changes in the Ethereum blockchain. It underscores a key trade-off: higher security often comes at the cost of scalability and cost efficiency. [1]</p><p>While Bitcoin has made impressive progress in improving its features, it still faces some significant challenges in developing Layer 2 (L2) solutions similar to those found in Ethereum. Bitcoin&apos;s design limitation is particularly clear when it comes to ensuring withdrawal security within Bitcoin&apos;s Layer 2 solutions. It&apos;s scripting language is intentionally limited in functionality, lacking Turing completeness, which restricts its ability to perform complex computations and support advanced functions. This design choice prioritizes Bitcoin&apos;s security and efficiency but limits its programmability compared to more flexible blockchain platforms like Ethereum. And the probabilistic finality also can undermine the reliability and speed essential for layer 2 solutions, potentially leading to issues like chain reorganizations that affect transaction permanence. Despite Bitcoin being built on principles that make it reliable and secure, these aspects make it hard for its L2 systems to quickly adapt to new changes.</p><p>SegWit and Taproot are game-changers for Bitcoin. SegWit optimized Bitcoin’s infrastructure by segregating signature data, enhancing transaction speed and enabling the Lightning Network’s rapid payment processing. Following this, Taproot introduced efficiencies and privacy enhancements by compacting transaction data and masking transaction complexities. Together, SegWit and Taproot have ignited a new wave of Layer 2 innovations, becoming the backbone for future Layer 2 designs and significantly expanding Bitcoin&apos;s functionality beyond its original scope as a digital currency.</p><p>Further technical details on SegWit and Taproot can be found in the <strong>Appendix</strong>.</p><h2 id="h-understanding-bitcoins-layer-2-solutions" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0"><strong>Understanding Bitcoin&apos;s layer 2 solutions</strong></h2><h3 id="h-bitcoin-l2-trilemma" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0"><strong>Bitcoin L2 trilemma</strong></h3><p>In Bitcoin&apos;s expanding universe of Layer 2 solutions, we see many different systems emerging, all designed with the intention of enhancing scalability and increasing adoption in various ways. These solutions offer unique approaches to overcome Bitcoin&apos;s built-in limitations. One way to categorize these solutions, as introduced by <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://bitcoinmagazine.com/technical/understanding-the-bitcoin-l2-trilemma">Trevor Owens</a> [2], involves organizing them based on their approach to addressing the Bitcoin L2 trilemma, which segments L2 solutions into Off-Chain Networks, Decentralized Sidechains, and Federated Sidechains, each presenting unique approaches and trade-offs:</p><ul><li><p><strong>Off-chain networks</strong> prioritize scalability and privacy but pose user experience challenges.</p><ul><li><p>e.g., <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://lightning.network/lightning-network-paper.pdf">Lightning</a> &amp; <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.rgbfaq.com/faq/what-is-rgb">RGB</a></p></li></ul></li><li><p><strong>Decentralized sidechains</strong> introduce new tokens and consensus mechanisms, expanding functionality but potentially complicating user experience and raising centralization concerns.</p><ul><li><p>e.g., <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://docs.stacks.co/stacks-101/whitepapers">Stacks</a>, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://babylonchain.io/">Babylon</a>, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.interlay.io/">Interlay</a> etc.</p></li></ul></li><li><p><strong>Federated sidechains</strong> streamline operations through a trusted consortium, offering efficiency at the possible cost of Bitcoin&apos;s foundational trustlessness.</p><ul><li><p>e.g., <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://blockstream.com/assets/downloads/pdf/liquid-whitepaper.pdf">Liquid</a>, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://rootstock.io/">Rootstock</a>, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.botanixlabs.xyz/en/home">Botanix</a></p></li></ul></li></ul><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/2b9e5c44f78340c6273316cd36cb7a1f21afc8638bce21a58a2406534f499667.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>This trilemma provides a useful way to categorize Bitcoin layer 2 solutions, but it might not fully capture all the complex details of their design. Additionally, it points out the trade-offs of current solutions instead of unresolvable barriers, showing that these elements of the trilemma are part of the decision-making process for developers.</p><p>For instance, <em>Decentralized sidechains</em> issue new tokens to increase security and boost network participation, which could make user interactions more complex and might not be welcomed by Bitcoin purists. On the other hand, <em>Federated sidechains</em> choose to skip new tokens, making the user experience smoother and reducing pushback within the Bitcoin community. Another option is to use a full VM/global state, which allows for complex functions, including the creation of new tokens on a smart contract platform. However, this approach makes the system more complicated and typically increases its vulnerability to attacks.</p><h3 id="h-technical-classification" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0"><strong>Technical classification</strong></h3><p>From another technical viewpoint, we group Bitcoin layer 2 solutions based on their main technical features. This different way of categorizing them looks into various technical details and structures, offers a nuanced understanding of how each solution contributes to the overarching goal of enhancing Bitcoin&apos;s scalability, security, and functionality. Each approach has its distinct purpose, and these purposes do not conflict with one another, nor do they create a trilemma. However, each approach has its own set of advantages and disadvantages concerning security and scalability. Therefore, some systems may utilize a combination of these approaches. We will discuss this in more detail in the next section of the article. Let&apos;s explore these categories:</p><ul><li><p><strong>Sidechains utilizing 2-Way pegged protocol</strong>: These sidechains work like a layer 2 connected to Bitcoin through a method called two-way pegging. This setup enables the transfer of Bitcoins between the main blockchain and the sidechain, enabling both experimentation and the implementation of features not directly supported on the main blockchain. This method improves Bitcoin’s ability to handle more transactions and different types of applications by supporting a wider range of uses. The two-way peg mechanism plays a critical role in transferring BTC value to the sidechain. On these sidechains, developers set up various environments; some choose to use an EVM-compatible ecosystem, while others opt to create a VM environment with their own smart contracts.</p><ul><li><p>e.g., <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://docs.stacks.co/stacks-101/whitepapers">Stacks</a>, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://rootstock.io/">Rootstock</a>, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://blockstream.com/assets/downloads/pdf/liquid-whitepaper.pdf">Liquid</a>, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.botanixlabs.xyz/en/home">Botanix</a>,…</p></li></ul></li><li><p><strong>Blockchain rollups</strong>: This method uses Bitcoin as a data storage layer for rollup techniques, inspired by the Inscription protocol. In this setup, each UTXO acts like a small canvas where more complex information can be written. Think of it as if each Bitcoin could store its own set of detailed data, this not only adds value but also broadens the types of data and assets that Bitcoin can handle. It opens up a wide range of possibilities for digital interactions and representations, making the Bitcoin ecosystem richer and more varied.</p><ul><li><p>e.g., <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.bsquared.network/B2.pdf">B2 network</a>, <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://bitvm.org/">BitVM</a></p></li></ul></li><li><p><strong>Payment channels networks</strong>: Think of these as a network of express lanes within the broader Bitcoin landscape. They help speed up numerous transactions on Bitcoin&apos;s side roads, reducing congestion and ensuring that transactions are both fast and cost-effective.</p><ul><li><p>e.g., <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://lightning.network/lightning-network-paper.pdf">Lightning</a> &amp; <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.rgbfaq.com/faq/what-is-rgb">RGB</a></p></li></ul></li></ul><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/72cb511a18bdb6ae1dd83f4f5cd1dd3711ff8202c40f992ffde9d0fcbb5ad253.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><p>By breaking it down this way, we get a clearer picture of how each tool helps improve Bitcoin, making it more scalable, secure, and versatile. Let&apos;s dive in and get to know these tools a little better:</p><h2 id="h-2-way-pegged-protocols" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0"><strong>2-Way Pegged Protocols:</strong></h2><p><em>A 2-way peg allows assets to be transferred between two distinct blockchains—often a mainchain and a sidechain. This system enables assets to be locked on one chain and subsequently unlocked or minted on another, maintaining a fixed conversion rate between the original and pegged assets.</em></p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/9b233b9fbc4b34e61fb9ef4a12310c00afaafa2d36d26d1bb847cd683c0d79e3.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><h3 id="h-understanding-the-peg-in-process" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0"><strong>Understanding the Peg-In Process</strong></h3><p>Envision initiating a journey where your assets from the mainchain (like Bitcoin) are to be transferred to a sidechain. The peg-in process is your starting point. Here, your assets are securely locked on the mainchain, akin to depositing them in a vault for safekeeping. Subsequently, a transaction is crafted on the mainchain to solidify this lock. The sidechain, recognizing this transaction, mints an equivalent amount of pegged assets. This process is akin to receiving a voucher of the same value in a foreign land, enabling you to use your wealth in a new context while ensuring that your original assets remain intact and secure.</p><h3 id="h-navigating-the-peg-out-process" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0"><strong>Navigating the Peg-Out Process</strong></h3><p>When you decide to revert your assets to the original mainchain, the peg-out process comes into play. This is the return journey where the pegged assets on the sidechain are metaphorically &apos;burned&apos; or locked away, signifying that they are set aside and no longer in circulation on the sidechain. You then provide proof of this action to the mainchain. Once the mainchain verifies your claim, it releases the equivalent original assets back to you. This mechanism ensures the integrity and balance of asset distribution across both blockchains, safeguarding against duplication or loss.</p><h3 id="h-implementations-of-two-way-peg-systems" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0"><strong>Implementations of Two-Way Peg Systems:</strong></h3><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://rootstock.io/"><strong>Rootstock</strong></a><strong>:</strong></p><p><em>RSK&apos;s 2-way peg system is an advanced framework designed to seamlessly integrate Bitcoin with smart contract capabilities via RSK&apos;s platform. By utilizing SPV for efficient transaction verification, employing a robust federated model for transaction approval, and integrating SegWit and Taproot, RSK not only enhances its transaction efficiency but also closely aligns with Bitcoin’s security model. Moreover, the merge mining approach increases the security level of the system and incentivizes more miner participation.</em></p><ul><li><p><strong>RSK federated model:</strong></p><p>Pegnatories, a select group of functionaries, are the guardians of this bridge or the custodians of trust in this federated model, ensuring that every peg-in and peg-out adheres to the agreed protocols. Picture them as a council of guardians, each holding a key to a collective vault. Their role is crucial—they ensure that every transaction crossing the bridge does so with integrity and consensus, maintaining a secure and orderly flow of digital assets across this vital passageway.</p></li><li><p><strong>Segwit and Taproot:</strong></p><p>SegWit helps by separating the signature information from the transaction data, which reduces transaction sizes and improves processing times. Additionally, combining the Schnorr signature scheme with MAST (Merkelized Abstract Syntax Trees) and other enhancements from Taproot could make transactions even more efficient and private.</p></li><li><p><strong>RSK merge mining:</strong></p><p>In RSK&apos;s merge mining approach, miners concurrently secure both the Bitcoin and RSK networks without additional computational demands, thereby boosting RSK&apos;s security. This method utilizes Bitcoin&apos;s mining strength, offering miners extra rewards and showcasing an innovative use of existing blockchain infrastructure. However, the success of this integration depend on accurately aligning the tags within Bitcoin blocks to correspond with RSK blocks, underlining the necessity for detailed and precise execution to uphold the security and consistency of the interconnected networks.</p></li></ul><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.botanixlabs.xyz/en/home"><strong>Botanix</strong></a><strong>:</strong></p><p><em>Botanix integrates a combination of a Proof of Stake (PoS) consensus layered on Bitcoin foundation and a decentralized EVM network Spiderchain multi-signature architecture to manage Turing-complete smart contracts off the main Bitcoin blockchain. While Bitcoin serves as the main settlement layer, Botanix ensures transaction integrity using advanced multi-signature wallets and cryptographic verifications off-chain.</em></p><ul><li><p><strong>Spiderchain</strong>: A distributed network of multisigs that secures all the actual Bitcoin on Botanix.</p><ul><li><p>Architecture: Spiderchain formed by a group of Orchestrator nodes - node runners and liquidity sources for the entire chain. It consists of a sequential array of multi-signature wallets that manage the custody of assets within the network. Each wallet in the series requires multiple Orchestrator approvals for any transaction, ensuring there is no single point of failure.</p></li><li><p>Dynamic operation: For each new Bitcoin block, the corresponding Orchestrators for the upcoming &apos;epochs&apos; (a term used to define the periods between Bitcoin blocks in the Botanix system) are determined using a verifiable random function based on the Bitcoin block hash. Subsequent slot selections for Orchestrators are calculated by hashing the block hash with SHA256, then applying modulo arithmetic with the number of active Orchestrators (N) to ensure fairness and randomness in Orchestrator selection. This ensures fair and secure distribution of operational tasks, minimizing centralization risks.</p></li></ul></li><li><p><strong>Two-way peg system:</strong> Multi-signature wallets play a crucial role here, requiring consensus among selected Orchestrators to execute any transactions.</p><ul><li><p>Peg-in process: Users send Bitcoins to a new multi-signature wallet where they are securely locked. This action mints an equivalent amount of synthetic BTC on the Botanix chain. Creating this wallet involves several Orchestrators, they must all agree and sign off, making sure no one can control the wallet independently.</p></li><li><p>Peg-out process: Conversely, for peg-outs, synthetic BTC is burned, and the corresponding Bitcoins are released from the multi-signature wallets back to the user’s Bitcoin address. This process is secured by the same multi-signature protocol, requiring several Orchestrators to approve the transaction.</p></li></ul></li><li><p><strong>PoS consensus and EVM implementation:</strong></p><ul><li><p>Consensus: In Botanix’s PoS system, Orchestrators stake their Bitcoin to participate in the network. They are responsible for validating transactions and creating new blocks within the Botanix chain. The selection process for these Orchestrators is based on their stake and is randomized using the method mentioned in the Spiderchain section.</p></li><li><p>EVM implementation: The EVM on Botanix supports all operations compatible with Ethereum, enabling developers to deploy and execute complex smart contracts.</p></li></ul></li></ul><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://docs.stacks.co/"><strong>Stacks:</strong></a></p><p><em>Stacks platform aims to scale Bitcoin&apos;s infrastructure by enabling smart contracts and decentralized applications (dApps) through innovative mechanisms such as the sBTC two-way peg, Proof of Transfer and Clarity smart contracts.</em></p><ul><li><p><strong>sBTC two-way peg protocol:</strong></p><ul><li><p>Threshold signature wallet: This wallet utilizes threshold signature schemes that require a predefined subset of signers (Stackers) to collaboratively sign pegging transactions. These Stackers are chosen using a Verifiable Random Function (VRF) based on the amount of STX they have locked up and rotate every cycle (typically two weeks), ensuring dynamic membership and continual alignment with the network&apos;s current state. This significantly enhances the security and robustness of the pegging mechanism by preventing dishonest behaviors and potential collusion among participants, while also ensuring fairness and unpredictability in the selection process.</p></li></ul></li><li><p><strong>Proof of Transfer (PoX):</strong></p><ul><li><p>In PoX, instead of burning Bitcoin as in Proof of Burn, miners transfer BTC to participate in the Stack network, contributing to security by leveraging Bitcoin&apos;s robust proof of work system. This not only incentivizes participation through BTC rewards but also directly ties Stacks&apos; operational stability to Bitcoin&apos;s proven security properties. Stacks transactions anchor to Bitcoin blocks, with each Stacks block recording a hash in a Bitcoin transaction using the <code>OP_RETURN</code> opcode, which allows embedding up to <code>40 bytes</code> of arbitrary data. This mechanism ensures that any alterations to Stacks&apos; blockchain would require corresponding changes in Bitcoin&apos;s blockchain, thus benefiting from Bitcoin&apos;s security without necessitating any changes to its protocol.</p></li></ul></li></ul><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/ac013439f69784b61e81b29427353892f9d26144f7813ae202951fbebc233541.png" alt="source: Stacks" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="">source: Stacks</figcaption></figure><ul><li><p><strong>Clarity:</strong></p><ul><li><p>Clarity, the smart contract programming language used on the Stacks blockchain, ensures predictability and security for developers by enforcing strict rules that guarantee all operations are executed as defined, without unintended outcomes. It offers decidability, where the outcome of every function is known before execution, preventing surprises and enhancing contract reliability. Additionally, Clarity makes direct interactions with Bitcoin transactions, allowing the development of complex applications that leverage Bitcoin&apos;s robust security features. It also supports traits for modularity, similar to interfaces in other languages, which aid in code reuse and maintain clean code bases.</p></li></ul></li></ul><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://blockstream.com/assets/downloads/pdf/liquid-whitepaper.pdf"><strong>Liquid:</strong></a></p><p>The Liquid Network offering a federated sidechain to the Bitcoin protocol that significantly enhances transaction capabilities and asset management. Central to the Liquid Network&apos;s architecture is the concept of Strong Federations [6], which consists of a consortium of trusted functionaries responsible for block validation and signing.</p><ul><li><p><strong>Watchmen</strong>: Watchmen manages the peg-out process from Liquid to Bitcoin, ensuring each transaction is authorized and valid.</p><ul><li><p>Key management: The Watchmen&apos;s hardware security modules safeguard the keys needed for authorizing transactions.</p></li><li><p>Transaction Validation: Watchmen validate transactions through cryptographic proofs that confirm adherence to Liquid’s consensus rules, utilizing multi-signature schemes for enhanced security.</p></li></ul></li><li><p><strong>The Peg mechanism</strong>:</p><ul><li><p>Peg-Ins: Bitcoins are locked on the Bitcoin blockchain (by using multisig address of Watchmen) and equivalent Liquid Bitcoins (L-BTC) are issued on the Liquid sidechain using cryptographic methods to ensure accuracy and security in the transfer.</p></li><li><p>Peg-Outs: The process involves the burning of L-BTC on the Liquid sidechain, with the corresponding release of actual bitcoins on the Bitcoin blockchain. This mechanism is closely monitored by designated functionaries known as Watchmen to ensure only authorized transactions proceed.</p></li></ul></li><li><p><strong>Proof of Reserve (PoR)</strong>: a critical tool developed by Blockstream for providing transparency and trust regarding asset holdings on the network. PoR involves creating a Partially Signed Bitcoin Transaction that demonstrates control over funds. This transaction, although not valid for broadcast on the Bitcoin network, proves the existence and control of the reserves claimed. It allows entities to prove possession of funds without moving them.</p></li></ul><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://babylonchain.io/"><strong>Babylon:</strong></a></p><p><em>Babylon is designed to integrate Bitcoin into the Proof-of-Stake (PoS) ecosystem by allowing Bitcoin holders to stake their assets to enhance the security of PoS chains, leveraging Bitcoin&apos;s vast market capitalization without the need for direct transaction or smart contract capabilities on the Bitcoin blockchain. Importantly, Babylon avoids the complexities and security risks of bridging by not attempting to move or lock Bitcoin through vulnerable bridges or third-party custodians, thus preserving the integrity and security of staked assets.</em></p><ul><li><p><strong>Bitcoin-timestamping:</strong></p><ul><li><p>Babylon employs a timestamping mechanism that embeds PoS chain data directly into the Bitcoin blockchain. By anchoring PoS block hashes and critical staking events onto Bitcoin’s immutable ledger, Babylon provides a historical timestamp that is secured by Bitcoin’s extensive proof-of-work. The use of Bitcoin’s blockchain for timestamping not only leverages its security but also its decentralized trust model. This method ensures an additional layer of security against long-range attacks and state corruption across interconnected blockchains.</p></li></ul></li><li><p><strong>Accountable assertions:</strong></p><ul><li><p>Babylon utilizes accountable assertions to manage staking contracts directly on the Bitcoin blockchain, allowing the system to expose a staker’s private keys in the event of misbehavior, such as double signing. The design uses chameleon hash functions and Merkle trees to ensure that assertions made by stakers are cryptographically linked to their stakes, enabling automatic slashing. This approach enforces protocol integrity through cryptographic accountability, where any deviation by a staker, such as signing conflicting statements, results in the deterministic exposure of their private key, thus triggering automated penalties.</p></li></ul></li><li><p><strong>Staking protocol:</strong></p><ul><li><p>One of the significant innovations in Babylon is its staking protocol, which allows for rapid adjustments in staking allocations based on market conditions and security needs. This protocol supports fast stake unbonding, enabling stakers to quickly move their assets without the long lock-up periods typically associated with PoS chains. Moreover, the protocol is built as a modular plug-in, compatible with various PoS consensus mechanisms. This modular approach allows Babylon to provide staking services to a broad range of PoS chains without requiring significant modifications to their existing protocols.</p></li></ul></li></ul><h2 id="h-payment-channels-and-lightning-network" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0"><strong>Payment Channels &amp; Lightning network:</strong></h2><p><em>Payment Channels are tools designed to enable multiple transactions between two parties without committing all of them to the blockchain immediately. Here’s how they streamline transactions:</em></p><ul><li><p><strong><em>Initiation</em></strong>*: A channel is opened via a single on-chain transaction, creating a multisig wallet shared by the two parties.*</p></li><li><p><strong><em>Transaction process</em></strong>*: Inside the channel, parties transact privately with instant transfers, adjusting their respective balances without broadcasting to the blockchain.*</p></li><li><p><strong><em>Closure</em></strong>*: The channel is closed by another on-chain transaction that settles the final balances, based on the most recent mutually agreed transaction.*</p></li></ul><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/083fa7f9d25866d46bbfcd4b3a543a0c9dfaaf68a3c430a14dde3a5cfc178b60.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><h3 id="h-exploring-the-lightning-network" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0"><strong>Exploring the Lightning Network:</strong></h3><p>Building on the idea of Payment Channels, the Lightning Network extends these concepts into a network, allowing users to send payments across the blockchain through connected paths.</p><ul><li><p><strong>Routing</strong>: Like finding a route through a city using backroads, the network finds a path for your payment, even if you don’t have a direct channel open with the final recipient.</p></li><li><p><strong>Efficiency</strong>: This interconnected system significantly reduces transaction fees and processing times, making Bitcoin practical for everyday transactions.</p></li><li><p><strong>Smart Locks (HTLCs)</strong>: The network uses advanced contracts called Hashed Timelock Contracts to secure payments across different channels. It’s like making sure your delivery passes through several checkpoints securely before reaching its destination. It also mitigates the risk of intermediary default, making the network reliable.</p></li><li><p><strong>Security Protocol</strong>: In case of any disagreement, the blockchain acts as a judge to verify the latest agreed-upon balance, ensuring fairness and security.</p></li></ul><p>Taproot and Segwit have turbocharged the Bitcoin network and also particularly benefiting the Lightning Network with enhanced privacy and efficiency:</p><ul><li><p>Taproot is like an aggregator for Bitcoin transactions—it bundles multiple signatures into one. This not only keeps off-chain transactions tidy but also makes them more private and cheaper.</p></li><li><p>Segwit changes how data is stored in Bitcoin transactions, makes a block can contain more transactions. For the Lightning Network, this means opening and closing channels is cheaper and smoother, further reducing fees and improving transaction throughput</p></li></ul><h2 id="h-inscription-based-layer-2-solutions" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0"><strong>Inscription-based Layer 2 Solutions:</strong></h2><p><em>Inscriptions have sparked a new wave of innovation in the Bitcoin layer 2 ecosystem. With the advent of two groundbreaking updates (Segwit &amp; Taproot), the Ordinals protocol was introduced, enabling anyone to attach additional data to UTXO&apos;s Taproot script, up to 4MB. This development has led the community to realize that Bitcoin can now serve as a Data Availability layer. In terms of security, inscriptions provide a fresh perspective. Data, like digital artifacts, are now stored directly on the Bitcoin network, making them unchangeable and safeguarded against tampering or loss from external server issues. This not only enhances the security of digital assets but also embeds them directly into Bitcoin&apos;s blocks, ensuring they are permanent and reliable. Most importantly, Bitcoin rollups have become a reality, with inscriptions providing a mechanism to incorporate extra data or functionalities within transactions. This allows for more complex interactions or state changes to happen off the main chain while still being anchored to the main chain&apos;s security model.</em></p><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/91482b179f1b4f96b3ebf460d023ac7368f252f686af7f6ed5c840cfedd8e9e4.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><h3 id="h-implementations-of-inscription-based-layer-2-solutions" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0"><strong>Implementations of Inscription-based Layer 2 Solutions:</strong></h3><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://bitvm.org/"><strong>BitVM:</strong></a></p><p><em>BitVM utilizing a combination of optimistic rollup technology optimistic rollup technology and cryptographic proofs in it&apos;s design. By moving Turing-complete smart contracts off-chain, BitVM significantly enhances transaction efficiency without compromising security. While Bitcoin remains the foundational settlement layer, BitVM ensures transaction data integrity through clever utilization of Bitcoin&apos;s scripting capabilities and cryptographic verifications off-chain. Currently, BitVM is being actively developed by the community. [9] Additionally, it has also become the platform for several top-tier projects, such as Bitlayer [7] and Citrea [8].</em></p><ul><li><p><strong>Inscription-like storage approach</strong>:</p><p>BitVM utilizes Bitcoin&apos;s Taproot to embed data within Tapscript, similar to the concept of the Inscription protocol. This data typically includes important computational details such as the virtual machine&apos;s state at different checkpoints, the hash of the initial state, and the final computation results. By anchoring this Tapscript in an unspent transaction output (UTXO) stored in a Taproot address, BitVM effectively integrates transaction data directly onto the Bitcoin blockchain. This approach ensures the durability and immutability of the data while benefiting from Bitcoin&apos;s security features to protect the integrity of recorded computations.</p></li><li><p><strong>Fraud proofs</strong>:</p><p>BitVM ensures the security of its transactions using fraud proofs. Here, a prover commits to the output of a computation for specific inputs, and this commitment isn&apos;t executed on-chain but rather verified indirectly. If a verifier suspects a commitment to be false, they can challenge it by providing a concise fraud proof that leverages Bitcoin&apos;s scripting capabilities to demonstrate the commitment&apos;s incorrectness. This system significantly reduces the blockchain&apos;s computational load by avoiding full on-chain computation, aligning with Bitcoin&apos;s design philosophy of minimal transaction load and maximum efficiency. Central to this mechanism are hashlocks and digital signatures, which secure claims and challenges and link them to the actual off-chain computational work. BitVM adopts an optimistic verification approach—operations are presumed correct unless proven otherwise, which enhances efficiency and scalability. This ensures that only valid computations are accepted, and anyone on the network can independently verify their correctness using the available cryptographic proofs.</p></li><li><p><strong>Optimistic rollups</strong>:</p><p>BitVM employs optimistic rollup technology to significantly enhance Bitcoin’s scalability by batching multiple off-chain transactions for collective processing and validation. In practical terms, BitVM processes these transactions off-chain and intermittently records their outcomes on the Bitcoin ledger to ensure integrity and availability. The use of optimistic rollups in BitVM represents an approach to overcoming Bitcoin&apos;s inherent scalability limitations by leveraging off-chain computation capabilities while ensuring that transaction validity is maintained through periodic on-chain verification. This system effectively balances the load between on-chain and off-chain resources, optimizing both security and efficiency in transaction processing.</p></li></ul><p>Overall, BitVM is not just another Layer 2 technology but represents a potential foundational shift in how Bitcoin could scale and evolve. It offers unique solutions to Bitcoin’s limitations but still requires further development and improvement to fully realize its potential and gain wider adoption within the community.</p><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.bsquared.network/B2.pdf"><strong>B2 network</strong></a><strong>:</strong></p><p><em>The B2 Network stands out as the first zero-knowledge proof verification commitment rollup for Bitcoin, utilizing rollup technology and zero-knowledge proof to enhance transaction speed and minimize costs. This setup allows for Turing-complete smart contract execution for off-chain transactions, significantly boosting efficiency. Bitcoin acts as the fundamental settlement layer for the B2 Network, where B2 rollup data is stored. This setup enables the full retrieval or restoration of B2 rollup transactions using Bitcoin inscriptions. Moreover, the computational validity of B2 rollup transactions is verified through zero-knowledge proof confirmations on Bitcoin.</em></p><ul><li><p><strong>Important role of Inscriptions:</strong></p><p>The B2 Network leverages Bitcoin inscriptions to embed additional data within a Tapscript, which includes vital information like the storage path of rollup data, merkle tree root hash of the rollup data, zk proof data, and the parent B2 inscription UTXO hash. By writing this Tapscript into a UTXO and sending it to a Taproot address, B2 effectively embeds rollup data directly onto the Bitcoin blockchain. This approach not only ensures the permanence and immutability of the data but also utilizes Bitcoin&apos;s robust security mechanisms to protect the integrity of the rollup data.</p></li><li><p><strong>Zero-knowledge proofs for enhanced security:</strong></p><p>B2&apos;s commitment to security is further exemplified by its use of zero-knowledge proofs. These proofs enable the network to validate transactions without exposing the details of those transactions, thus preserving privacy and security. In the context of B2, the network breaks down computational units into smaller ones, each represented as a bit value commitment in a tapleaf script. These commitments are linked in a taproot structure, providing a compact, secure method for verifying transaction validity on the Bitcoin and B2 network.</p></li><li><p><strong>Rollup Technology for Scalability:</strong></p><p>At the heart of B2&apos;s architecture is the rollup technology, specifically ZK-Rollup, which aggregates multiple off-chain transactions into a single one. This method significantly increases throughput and reduces transaction fees, addressing two of Bitcoin&apos;s most pressing scalability issues. The B2 Network&apos;s rollup layer processes user transactions and generates corresponding proofs, ensuring the transactions are valid and finalized on the Bitcoin blockchain.</p></li><li><p><strong>Challenge-response mechanism:</strong> In the B2 Network, after transactions are batched and verified using zk-proofs, there&apos;s an opportunity for nodes to challenge these batches if suspected of containing invalid transactions. This critical phase leverages the fraud proof mechanism, where challenges must be conclusively resolved before the batch can proceed. This step ensures that only transactions validated as legitimate advance to final confirmation. The batch is confirmed on the Bitcoin blockchain if no challenges arise or existing challenges fail within the specified time lock. On the other hand, if any challenge is validated, the rollup is subsequently reverted.</p></li></ul><figure float="none" data-type="figure" class="img-center" style="max-width: null;"><img src="https://storage.googleapis.com/papyrus_images/1078730636f076802e6fc22b80e30f2787a414b0bbf2eff899dc02e1bb3ded0c.png" alt="" blurdataurl="data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACwAAAAAAQABAAACAkQBADs=" nextheight="600" nextwidth="800" class="image-node embed"><figcaption HTMLAttributes="[object Object]" class="hide-figcaption"></figcaption></figure><h2 id="h-final-thoughts" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Final thoughts:</h2><h3 id="h-the-good" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">The good:</h3><ul><li><p><strong>Unlocking DeFi markets:</strong> By enabling functionalities like smart contracts through EVM-compatible layer 2 solutions, Bitcoin can tap into the multi-billion dollar DeFi market. This is not only about expanding Bitcoin&apos;s utility but also about unlocking new financial markets that were previously accessible only through Ethereum and similar programmable blockchains.</p></li><li><p><strong>Widening use cases:</strong> More than just financial transactions, these Layer 2 platforms support a range of applications in sectors like finance, gaming, NFTs, or identification system,… thus expanding Bitcoin’s use cases far past its original scope as a simple currency [3, 4, 5].</p></li></ul><h3 id="h-the-bad" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">The bad:</h3><ul><li><p><strong>Risk of centralization:</strong> Some of the mechanisms involved in some Layer 2 solutions could lead to increased centralization. For instance, in mechanisms that require a value of BTC to be locked up, unlike Ethereum’s Layer 2 solutions, the interaction from Layer 2 back to Bitcoin is not secured by Bitcoin&apos;s security model. Instead, it relies on a smaller decentralized network or a federation model, potentially weakening the trust model&apos;s security. This structural difference could introduce points of failure not present in decentralized models.</p></li><li><p><strong>Increased transaction fees and blockchain bloat:</strong> Data-heavy uses like Ordinals and other inscription protocols can lead to blockchain bloat, slowing down the network and increasing transaction costs for all users. This can lead to higher costs and slower transaction validation times, impacting the efficiency of the network.</p></li><li><p><strong>Complexity and user experience:</strong> The technical complexity of understanding and interacting with Layer 2 solutions can be a significant barrier to adoption. Users need to manage additional elements such as payment channels on the Lightning Network or handle different token types on platforms like Liquid.</p></li></ul><h3 id="h-the-ugly" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">The ugly:</h3><ul><li><p><strong>Regulatory and ethical concerns:</strong> The immutability of these inscriptions, while a technical strength, also raises potential regulatory and ethical issues. This poses significant challenges if the data is illegal, unethical, or simply erroneous, leading to permanent consequences without recourse.</p></li><li><p><strong>Impact on fungibility:</strong> If certain Bitcoins are &quot;tagged&quot; with non-financial data, it could affect their fungibility—where each unit is supposed to be indistinguishable from another—potentially leading to a scenario where some Bitcoins are less valuable or acceptable than others.</p></li></ul><h2 id="h-references" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">References</h2><ol><li><p>Buterin, V. (2023, October 31). Different types of layer 2s. Vitalik.eth.limo. <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://vitalik.eth.limo/general/2023/10/31/l2types.html">https://vitalik.eth.limo/general/2023/10/31/l2types.html</a></p></li><li><p>Owens, T. (2023, November 1). Understanding the “Bitcoin L2 Trilemma.” Bitcoin Magazine - Bitcoin News, Articles and Expert Insights. <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://bitcoinmagazine.com/technical/understanding-the-bitcoin-l2-trilemma">https://bitcoinmagazine.com/technical/understanding-the-bitcoin-l2-trilemma</a></p></li><li><p>Nelson, J. (2024, April 4). Bitcoin Layer-2 Social Network Offers Rewards for “Touching Grass” in NFT Game. Decrypt. <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://decrypt.co/224764/bitcoin-layer-2-social-network-touching-grass-nft-game">https://decrypt.co/224764/bitcoin-layer-2-social-network-touching-grass-nft-game</a></p></li><li><p><a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="http://Crypto.com">Crypto.com</a>. (2023, May 3). Bitcoin’s Expanding Ecosystem: Layer-2, DeFi, NFT. <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="http://crypto.com/">Crypto.com</a>. <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://crypto.com/research/bitcoin-ecosystem-layer2-defi-nft">https://crypto.com/research/bitcoin-ecosystem-layer2-defi-nft</a></p></li><li><p>Nelson, J. (2024, May 2). MicroStrategy Is Building “Decentralized ID” on Bitcoin Using Ordinals-Like Inscriptions. Decrypt. <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://decrypt.co/229087/orange-decentralized-identity-ordinals-inscriptions-microstrategy">https://decrypt.co/229087/orange-decentralized-identity-ordinals-inscriptions-microstrategy</a></p></li><li><p>Dilley, J., Poelstra, A., Wilkins, J., Piekarska, M., Gorlick, B., &amp; Friedenbach, M. (2017, January 30). Strong Federations: An Interoperable Blockchain Solution to Centralized Third-Party Risks. ArXiv. <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://doi.org/10.48550/arXiv.1612.05491">https://doi.org/10.48550/arXiv.1612.05491</a></p></li><li><p>Chainwire. (2024, April 3). BitVM-Based Bitlayer, a Leading Bitcoin L2, Nets $5M in Funding, Unveils $50M “Ready Player One” Program. Chainwire. <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://chainwire.org/2024/04/03/bitvm-based-bitlayer-a-leading-bitcoin-l2-nets-5m-in-funding-unveils-50m-ready-player-one-program">https://chainwire.org/2024/04/03/bitvm-based-bitlayer-a-leading-bitcoin-l2-nets-5m-in-funding-unveils-50m-ready-player-one-program</a></p></li><li><p>Citrea Team. (2024, March 21). Unveiling Clementine - Citrea’s BitVM Based Trust-Minimized Two-Way Peg Program. Citrea · Blog. <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.blog.citrea.xyz/unveiling-clementine/">https://www.blog.citrea.xyz/unveiling-clementine/</a></p></li><li><p>Rsync. (2024, May 9). Rsync25/awesome-bitvm. GitHub. <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://github.com/Rsync25/awesome-bitvm">https://github.com/Rsync25/awesome-bitvm</a></p></li><li><p>Poon, J., &amp; Dryja, T. (2016). The Bitcoin Lightning Network: Scalable Off-Chain Instant Payments. <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://lightning.network/lightning-network-paper.pdf">https://lightning.network/lightning-network-paper.pdf</a></p></li><li><p>Stacks Team. (2024, February 2). Whitepapers | Stacks Documentation. <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="http://stacks.co/">Stacks.co</a>. <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://docs.stacks.co/stacks-101/whitepapers">https://docs.stacks.co/stacks-101/whitepapers</a></p></li><li><p>Tas, E. N., Tse, D., Gai, F., Kannan, S., Maddah-Ali, M. A., &amp; Yu, F. (2022). Bitcoin-Enhanced Proof-of-Stake Security: Possibilities and Impossibilities. ArXiv:2207.08392 [Cs], 126–145. <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://arxiv.org/abs/2207.08392g">https://arxiv.org/abs/2207.08392g</a></p></li><li><p>Lerner, S. D. (2019, January 29). RSK Bitcoin Powered Smart Contracts. Rootstock. <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://rootstock.io/rsk-white-paper-updated.pdf">https://rootstock.io/rsk-white-paper-updated.pdf</a></p></li><li><p>Nick, J., Poelstra, A., &amp; Sanders, G. (2020). Liquid: A Bitcoin Sidechain. <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://blockstream.com/assets/downloads/pdf/liquid-whitepaper.pdf">https://blockstream.com/assets/downloads/pdf/liquid-whitepaper.pdf</a></p></li><li><p>B2 team. (2023, November 14). B2: The most practical bitcoin layer-2 network. B2 Network. <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://www.bsquared.network/B2.pdf">https://www.bsquared.network/B2.pdf</a></p></li><li><p>Botanix Team. (2023). Botanix protocol: An EVM equivalent Layer 2 on Bitcoin. <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://botanixlabs.xyz/en/r/whitepaper">https://botanixlabs.xyz/en/r/whitepaper</a></p></li><li><p>Linus, R. (2023). BitVM: Compute Anything on Bitcoin. <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://bitvm.org/bitvm.pdf">https://bitvm.org/bitvm.pdf</a></p></li><li><p>Babylon Team. (2023). Bitcoin Staking: Unlocking 21M Bitcoins to Secure the Proof-of-Stake Economy. <a target="_blank" rel="noopener noreferrer nofollow ugc" class="dont-break-out" href="https://docs.babylonchain.io/papers/btc_staking_litepaper(EN).pdf">https://docs.babylonchain.io/papers/btc_staking_litepaper(EN).pdf</a></p></li></ol><h2 id="h-appendix" class="text-3xl font-header !mt-8 !mb-4 first:!mt-0 first:!mb-0">Appendix</h2><h3 id="h-key-technical-aspects-of-segwit-and-taproot" class="text-2xl font-header !mt-6 !mb-4 first:!mt-0 first:!mb-0">Key technical aspects of SegWit and Taproot</h3><p><strong>SegWit</strong>:</p><ul><li><p><strong>Reduction in txs size:</strong> SegWit reduces transaction size by restructuring the transaction data, separating the signature data (witnesses) from the transaction inputs. This results in a smaller transaction size while ensuring that the transaction identifier (TxID) remains unchanged even if the witness data is modified.</p></li><li><p><strong>Increased block capacity:</strong> SegWit introduces a new concept called &quot;block weight&quot;, by calculate 2 seperated part:</p><ul><li><p>Non-witness data: This includes all the transaction details except for the signatures. It is counted normally, just like in the old format.</p></li><li><p>Witness data (signatures): This is where SegWit makes a fundamental change. Witness data is given a quarter weight - meaning it only counts as one-fourth of its actual size in the block weight calculation.</p></li></ul></li></ul><p>The &quot;block weight&quot; system allows a block to carry more data than the nominal <code>1MB</code> limit would suggest. By reducing the weight of signature data, the total block weight can include up to <code>4MB</code> of data while still being classified as <code>1MB</code> under the block size limit. This arrangement significantly increases transaction throughput by fitting more transactions into each block without exceeding the traditional block size limit set by the Bitcoin network.</p><p><strong>Taproot</strong>:</p><p>Taproot is like adding an extra boost to what SegWit already does. It brings in the Schnorr signature scheme and combines it with Merkelized Abstract Syntax Trees (MAST) along with some other improvements to make things even better. But remember, Taproot or Tapscript doesn&apos;t introduce Ethereum-style smart contracts because Bitcoin Script has its limits. It sticks to Bitcoin&apos;s design of being straightforward and secure at its core.</p><ul><li><p><strong>Schnorr signature scheme:</strong> This scheme is not only shorter than the ECDSA signatures used pre-Taproot but also allow for the aggregation of multiple signatures into one.</p></li><li><p><strong>MAST Integration:</strong> By using MAST, Taproot allows for the potential conditions of transactions to be hidden unless they are actually triggered. This means that complex script executions can be made indistinguishable from standard transactions on the blockchain, significantly enhancing privacy and reducing transaction sizes.</p></li></ul><p><strong>Role of SegWit and Taproot in Bitcoin&apos;s Layer 2s</strong>:</p><p>The Inscription Protocol on Bitcoin employs a data storage technique called &quot;envelope,&quot; which is a non-executable Bitcoin script that utilizes structures like <code>OP_FALSE</code>, <code>OP_IF</code>, and <code>OP_ENDIF</code> to wrap and secure data without triggering script execution. By not executing, envelopes do not consume any computational resources on the blockchain, thus helping to reduce the load and potential congestion on the network.</p><p>Based on SegWit and Taproot upgrades, these envelopes can embed up to <code>4MB</code> of arbitrary data in a single transaction by maximizing the utilization of the witness space. This is achieved through multiple <code>OP_PUSH</code> commands, each capable of carrying up to <code>520 bytes</code>. Taproot further contributes by simplifying transaction complexity and enhancing privacy through techniques like signature aggregation, which have the ability to combine multiple signatures into one to reduce transaction size and improve privacy.</p><p>Overall, these technological integrations in the Inscription Protocol demonstrate Bitcoin’s evolution toward a more scalable and flexible blockchain infrastructure while maintaining network efficiency and stability.</p>]]></content:encoded>
            <author>calibervb@newsletter.paragraph.com (Caliber)</author>
            <enclosure url="https://storage.googleapis.com/papyrus_images/cab3bd4050e164987c1c6e5f3f700895ddf6178427657449c6e458aa8fb1431d.png" length="0" type="image/png"/>
        </item>
    </channel>
</rss>