COTI 백서

bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 6쪽 중 1쪽

COTI V2: Confidential Computing Ethereum Layer 2 V ersion 1.1 Nir Haloani1, Avishay Y anai2, Meital Levy 2, and Y air Lavi1 1COTI 2Soda Labs Abstract The COTI V2 whitepaper presents an innovative approach to addressing one of the most pressing issues in blockchain technology: the lack of confidentiality. As blockchain applications proliferate, the need for privacy-preserving mechanisms becomes paramount to ensure user autonomy and protect against threats like data breaches, theft, and fraud. COTI V2 introduces a sophisticated cryptographic framework centered around garbled circuits and multiparty computation (MPC), offering a new stan- dard for on-chain confidentiality as an EVM-compatible Layer 2. This framework not only enhances the Ethereum ecosystem’s scalability and security but also opens up new possibilities for decentralized applications (dApps) by enabling confidential transactions and data management. Through a compre- hensive overview of the challenges and solutions in achieving confidentiality on public blockchains, the whitepaper articulates COTI V2’s potential to revolutionize the blockchain space by making it more secure, efficient, and user-friendly, thereby fostering broader adoption and innovation. 1 Why Confidentiality Is Blockchain Network’s Next Frontier 1.1 Introduction For over a decade, two distinct technical hurdles have dominated the conversation in the realm of blockchain technology: scalability and confidentiality. While the discourse around scaling solutions has intensified, capturing significant industry attention, a smaller group of dedicated teams has diligently pursued the ad- vancement of sophisticated cryptographic techniques to tackle the crucial challenge of confidentiality. This persistent focus on confidentiality reveals a pivotal shift: privacy is poised to become the next frontier in blockchain development. As aptly stated by Vitalik Buterin, co-founder of Ethereum: "One of the largest remaining challenges in the Ethereum ecosystem is privacy. By default, anything that goes onto a public blockchain is public." This inherent transparency, while initially lauded for its potential to foster trust, now presents a significant barrier to broader adoption. While scalability endeavors aim to address network capacity and transaction processing efficiency, ensuring confidentiality delves deeper, safeguarding the very essence of user privacy and the confidentiality of their sensitive data within the blockchain ecosystem. As the blockchain landscape matures and its applications proliferate, prioritizing robust privacy solutions becomes imperative to foster a secure, inclusive, and trust- worthy environment for users and organizations alike. This exploration of on-chain confidentiality, therefore, represents a critical step towards realizing the full potential of blockchain technology and propelling it to- wards a future of trust and transparency. 1 1.2 Transitioning from Web2 to Web3 From financial transactions to personal information, individuals are increasingly demanding control over their personal data. This demand stems from the understanding that privacy isn’t just a luxury, but a funda- mental human right. We believe that confidentiality is a fundamental human right and just as in the physical world, where individuals have the right to private conversations, associations and transactions, it’s essential that we find ways to protect it also in the digital world. In many cases, it already does. Web2, or the internet as we know it today, offers a level of confidentiality that was actually critical to its success in the early days. Part of the reason e-commerce exploded in the late 90’s was the fact that it inherited many of the confidentiality features of traditional financial systems. People could purchase items online, without the fear of their transactions being made public. eBay and Amazon didn’t broadcast your shopping preferences or your credit card details, and your purchases and personal information were only known by you and your bank. Confidentiality within Web2 also allowed for greater connection and cooperation between global parties and markets around the world. Completely transparent systems are admirable, but they carry a risk of exposing sensitive personal details, business information or intellectual property, especially between distrusting or malevolent trading partners. Despite the counterintuitive nature of keeping secrets, confidentiality actually allows parties to trust each other more. It’s this trust that has made confidentiality the backbone of a whole host of online services. From voting systems to healthcare, social media and banking, there are numerous Web2 applications that rely on individ- uals being able to keep specific information shielded from public view. This becomes even more apparent as our lives are increasingly conducted online. Additionally, the rise of AI and big data necessitates access to private datasets for learning, but without compromising individual privacy. Web2 isn’t without its flaws, however. While traditional online systems have devised numerous confidential- ity features to protect users’ information, the centralized nature of these systems has resulted in countless hacks and data breaches. Once your data is leaked, it becomes tradable and potentially abused. At this point, you become the product. These cases are not rare - in fact, by 2025, it’s estimated that nearly 70% of internet-connected people and 55% of businesses have had their data stolen at least on one occasion. Web3, with its emphasis on data sharing and user empowerment, presents a paradoxical challenge: navigat- ing the delicate balance between individual privacy and inherent blockchain transparency. While liberating users from the control of centralized entities, Web3 inherits the public record characteristic of its underlying technology. Achieving a high level of confidentiality in Web3 enables individuals to exercise autonomy over both their finances and their digital identities. It empowers users to participate in Web3 without fear of surveillance or unauthorized access to their personal data. With confidentiality, you’re able to make in- formed decisions without fear of external interference or judgment. Y ou become less susceptible to undue influence or coercion from external parties, whether it be governments, corporations, or other individuals. Unlike with Web2, where regulatory frameworks evolved organically in parallel, Web3 is a completely new paradigm, complete with a complex architecture and no central authority. This means that historically, regulators have struggled to define, let alone provide clarity on how they may operate. The fact that a blockchain currently functions as a completely transparent ledger has only made this problem even more difficult. Confidentiality on the blockchain will not only foster trust and confidence, but it will also allow for the creation of new, regulatory frameworks required for enterprise adoption. 2 1.3 Confidentiality on Public Blockchains Beyond the technological advancements in scalability and security, a fundamental challenge continues to plague most public blockchains, particularly Ethereum: the complete transparency of transactions, assets, and wallet addresses. Initially hailed as a virtue, this characteristic now presents an obstacle to broader adoption. Businesses increasingly handling sensitive information on Web3 platforms require confidentiality solutions that are no longer simply convenient, but indispensable for the ecosystem’s survival, and while blockchain’s transparent nature empowers in many ways, it also carries significant privacy risks. The critical role of privacy in blockchain is gaining traction among industry leaders and observers. Brian Armstrong, CEO of Coinbase, emphasized the importance of privacy for Layer 2 solutions, signifying its vital role in shaping the future of cryptocurrencies. Conversations with industry partners and stakeholders reinforce this sentiment, highlighting privacy as not just a preference, but a legal and operational necessity for businesses and enterprises. It goes beyond mere information concealment, encompassing protection, control over one’s data and its disclosure, and ultimately safeguarding individual sovereignty. In the realm of blockchain technology, anonymity and confidentiality serve distinct but complementary roles in information protection. Anonymity focuses on shielding the identities of participants, ensuring transac- tions can occur without revealing who is conducting them, often through mechanisms like pseudonymous addresses or advanced cryptographic methods. Confidentiality, conversely, safeguards the content of trans- actions, ensuring that sensitive data within a transaction is accessible only to authorized parties. While anonymity solutions preserve the anonymity of blockchain participants, confidentiality protects the actual transaction data, which is crucial for a wide range of blockchain applications where security and trust are paramount. Beyond securing individual and business information, blockchain confidentiality plays a critical role in safe- guarding individual autonomy. This is particularly evident in protecting against theft, scams, and fraud within the realm of decentralized finance (DeFi) applications built on Ethereum. One prevalent example is the exploitation known as Maximal Extractable V alue (MEV), where malicious actors leverage the trans- parency of public blockchains to their advantage. They scan incoming transactions, identify legitimate trades, and insert their own before them. This front-running manipulation alters the asset price for the unaware parties, allowing the malicious actors to profit once the transaction completes. This exploitative practice thrives solely on the full visibility of pending transactions on the blockchain. Confidential trans- actions, however, disrupt this dynamic by obscuring their details. This eliminates the ability to frontrun legitimate trades for illicit gain, potentially rendering MEV losses a relic of the past. However, the effect that blockchain transparency has on individual autonomy extends beyond frontrunning. While wallet addresses themselves are pseudonymous, different analysis techniques can often link them to real-world identities. This means even seemingly anonymous transactions can be traced back to individuals, potentially exposing their financial activity, trading strategies, and even personal habits. The risk of such de-anonymization can be a significant deterrent for users seeking true privacy on public blockchains. Furthermore, the public nature of blockchains raises concerns about data breaches or leaks. If a private key associated with a wallet address is compromised, all the information linked to that address, including transaction history and potentially even the value of holdings, becomes publicly accessible. This can have severe financial consequences and even pose physical security risks depending on the nature of the assets. This lack of confidentiality creates significant hurdles for various Web3 applications seeking wider adoption. By obscuring transaction details and severing the link between wallet addresses and real-world identities, 3 confidentiality safeguards individuals from de-anonymization efforts and protects their financial confiden- tiality. Additionally, by limiting the information publicly accessible on the blockchain, even in the event of a data breach, the potential damage is significantly reduced. This fosters a more secure environment for users and encourages broader participation in Web3 applications. 1.4 Rethinking On-Chain Confidentiality: Pushing Beyond Limitations Previously, achieving on-chain confidentiality for decentralized applications appeared nearly impossible. Many early attempts relied on Zero-Knowledge Proofs (ZKPs) for concealing transaction information. While ZKPs offer compelling functionalities, they aren’t naturally equipped to address confidentiality in the con- text of on-chain transactions. Let’s explore this limitation by examining Zcash, a popular blockchain utilizing ZKPs for shielded trans- actions. In Zcash, users can send transactions that conceal the sender, receiver, and transaction amount. However, this approach comes with a fundamental drawback: the inability to execute complex logic or access the current state of the system. Since ZKPs operate on encrypted data, it’s impossible to directly access the underlying information. This creates a crucial limitation: the system, including smart contracts, cannot evaluate the current state or per- form complex calculations using this hidden data. Consequently, answering even basic questions like "How many tokens are in the system?" becomes impossible. This inability to access and manipulate encrypted data poses a significant challenge for decentralized applications (dApps), which often rely on complex com- putations and shared state. While promising advancements have been made in ZK-based approaches through advanced techniques, in- herent limitations in logic persist. No amount of cryptographic innovation can overcome these fundamental barriers. Moreover, regulatory hurdles often impede the progress of attempts to address privacy concerns. Projects like Zcash or transaction mixing applications like TornadoCash prioritized user anonymity over compliance, leading to regulatory scrutiny and eventual shutdown. Recent breakthroughs in cryptography, like Fully Homomorphic Encryption (FHE), delivered a new ap- proach to on-chain confidentiality by allowing computations to be performed directly on encrypted data, essentially preserving the overall logic of a transparent financial system. This means developers can design smart contracts and dApps as if they were operating on clear data, even though the underlying information remains encrypted. While Fully Homomorphic Encryption (FHE) offers a significant leap forward in on-chain confidentiality, it’s not without its limitations. FHE computations are inherently complex, demanding significantly more processing power compared to traditional methods, potentially leading to slower transactions and higher operational costs for dApps built on FHE. Additionally, important FHE schemes currently lacks the full spectrum of functionalities available with unencrypted data, potentially restricting the types of dApps it can support. In summary, a fresh approach is imperative to reconcile privacy with regulatory compliance and user expec- tations in the Web3 landscape. COTI V2 introduces a novel approach that ensures performance without sacrificing confidentiality. To enable a performant solution with strong privacy guarantees, COTI V2 will utilize a novel combi- nation of well-established privacy-enhancing technologies (PETs), with the main ingredient being a Garbling Protocol. 4 2 The Core Technology: Garbled Circuits-Based MPC 1 2.1 Introduction to Garbling Protocols Privacy has always been a pivotal aspect of human life, cherished across all ages. However, in the current era, marked by the internet revolution, its significance has magnified. Society is racing to keep pace with technological advancements to ensure personal information remains confidential. In today’s digital world, where nearly every action leaves a trace, safeguarding our privacy is not just importantit is essential. We find ourselves constantly navigating the fine line between harnessing technology’s benefits and protecting our private lives from intrusion. The mid-20th century’s introduction of sophisticated cryptography signaled a crucial shift towards secure communication. This period was defined by the urgent need to transmit messages safely across potentially compromised mediumsbe it physical documents carried by unreliable couriers or digital data transmitted through the airwaves or wires vulnerable to interception. The burgeoning field of cryptography focused on devising methods that guaranteed not only secure communication but also the efficiency and resilience of these communications against eavesdropping or tampering. This era witnessed cryptography’s evolution from an arcane practice to a fundamental, science-driven toolkit essential for military units, governments, and eventually the general public, shaping the complex digital security landscape we navigate today. By the late 20th century and in subsequent decades, the cryptographic community experienced a revolution- ary shift in its research focus, heralding the era of secure multiparty computation (MPC). This cryptographic breakthrough allowed multiple parties to collaboratively compute functions over their private data without revealing the actual data to one another. These advancements extended beyond theoretical significance, of- fering profound practical implications. They facilitated the secure exchange and processing of information in a manner that preserved both privacy and confidentiality, addressing a growing concern in an increasingly interconnected world. From enabling confidential electronic voting systems to secure data sharing among organizations, multiparty computation marked a considerable advancement. This period of research broad- ened the horizons of cryptography beyond traditional encryption and decryption, catering to the nuanced requirements of a society ever more reliant on digital interactions and the perpetual challenge of balancing technological convenience with the imperative to preserve privacy. Opting for a garbled-circuit-based MPC to achieve on-chain privacy aligns with several critical metrics: • Modularity. The garbled-circuit-based solution is structured into two independent phases, termed ’Garbling’ and ’Evaluation’. The Garbling phase, involving significant computation by the network nodes, is conducted ’offline’ in a pre-processing stage, producing a garbled circuita secure container for data processing. This phase continually generates garbled circuits for subsequent use during the Evaluation phase, where actual transactions are processed. The Evaluation phase is executed by the network nodes in an exceedingly efficient manner. This modular approach is elegant and establishes a ’privacy supply chain’. • Security. Amidst various encryption schemes, our solution aspires to align with industry standards right from the start, rather than introducing a proprietary, untested encryption scheme or waiting for a lengthy standardization process. We employ encryption schemes already widely adopted by the world’s most secure systems, including those managed by governments and large banks. This ap- proach involves standardized symmetric-key schemes for encryption (e.g., AES-CTR) and standard- ized asymmetric-key schemes for key distribution (e.g., RSA), enhancing adoption by eliminating the 1Soda Labs - All Rights Reserved 5 need for additional, unverified security assumptions. Contrary to other MPC methods, garbled-circuit- based solutions facilitate an efficient integration of these encryption schemes within a circuit that can be securely evaluated in a distributed manner. Privacy. In recent years, numerous initiatives have sought to enhance on-chain privacy via the pow- erful cryptographic tool known as zero-knowledge proof (ZKP). While ZKP allows data owners to verify the correctness of statements about their data without revealing the data itself, it falls short in scenarios involving multiple data owners who wish to collaborate based on their private data. This is vital for a range of blockchain applications, from dynamic identity systems and DeFi applications like AMM to portfolio management, social trading, peer-to-peer messaging, auctions, and governance. Our approach to on-chain privacy is driven by a secure MPC protocol, where users’ data is sent to a private data pool. Here, any process, public or private, can be applied to the data without disclosing anything but the process result as intended by the application developer, and only with user consent.
프로젝트로 돌아가기