ZetaChain 백서

ZetaChain

원문

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

ZetaChain: A Blockchain with Native Cross-chain Smart Contracts 2025-10-15, v0.5.0 ZetaChain Abstract. This white paper proposes ZetaChain, a blockchain with generic universal smart contract support that connects both smart contract blockchain such as Ethereum, Ethereum L2 rollups and EVM compatible chains (Polygon, Avalanche, BSC), Solana, SUI, and TON network, and even non smart contract blockchains such as Bitcoin and Dogecoin. ZetaChain consists of a Proof-of-Stake blockchain and observers and signers for external blockchains. The observers scan external chains for relevant events, transactions, and states at a point in time, and reach consensus on observation on ZetaChain’s blockchain. The signers collectively possess a single Threshold Signature Scheme (TSS) key that is able to send authenticated messages to external chains and hold assets like normal accounts/addresses on external chains. Smart contracts on ZetaChain support arbitrary logic that executes conditionally on external chain events, and can directly update external chain states via its TSS signed transactions. ZetaChain thereby enables universal dApps that interact with different blockchains natively and directly without wrapping or bridging any assets. 1. Introduction It's hard to imagine a single blockchain would suffice for all our society's use cases. A multi-chain future seems inevitable. However, a multi-chain future without interoperability between the blockchains could be paralleled to the Internet before TCP/IP. Today's blockchains are too fragmented and are by-nature not interoperable, hindering mass adoption of the technologies. For example, a decentralized application (dApp) must be married to a specific blockchain. If a user onboards into the crypto ecosystem through a given dApp, this fragmentation makes immense barriers for the user to fluidly adopt or try a dApp on another chain. To address the issues of interoperability, there have been a few proposals and projects that specifically emphasize the ability to interoperate. However, the majority of interoperability systems only apply to specific blockchains, standardize their protocols within their own systems requiring other blockchains to adopt or through complicated, restricted, and/or less secure bridges to join (see Figure 1). In this whitepaper we propose a novel, public L1 blockchain that actively and agnostically connects blockchains and facilitates interoperability. Furthermore, we propose a generic smart contract on blockchain that can hold and manipulate assets on external blockchains directly, thereby enabling generic smart contracts that can custody assets on external chains. This opens the door to boundless cross-chain dApps. Blockchains are naturally closed systems. The goal of this whitepaper is to design and specify a practical system that is generic in its inter-blockchain capability, without forcing existing blockchains to adopt new standards or a new blockchain that every asset needs to move to, and do so in a decentralized, byzantine fault tolerant way. In other words, we aim to create a public blockchain that supports real cross blockchain transactions, message delivery, and general cross-chain smart contracts. According to our extensive survey, to satisfy this goal, the best pragmatic approach is the decentralized notary scheme on top of an incentivized Proof-of-Stake replicated state machine (aka blockchain) which we call ZetaChain. ZetaChain is first of all a public blockchain with Proof-of-Stake validators. It's trusted that a super majority (>66% nodes) of the validator nodes are honest and act according to protocol, and collectively serve as notaries. In addition to being a blockchain, interoperability requires observing other blockchains. Thus each ZetaChain validator node is attached with an observer that scans other blockchains for relevant events (event log, transaction, or state at a certain time). The observers report the relevant events to ZetaChain and reach consensus. ZetaChain uses custom logic to update its state in response to the reported events. On the other hand, in order to change state on other blockchains, each validator is also attached with a signer holding a key share. Collectively all the validators hold a single public/private key pair which can initiate transactions on other blockchains to change state directly. The signature scheme can be some kind of threshold signature scheme such as GG18/GG20 ECDSA/EdDSA, or BLS threshold/aggregate signatures, depending on the cryptography on different chains and their smart contract capability/cost. The presence of a single public key and address in the ZetaChain system allows ZetaChain to custody assets on external blockchains which might not have adequate smart contract capability such as Bitcoin. Such ability allows powerful cross-chain (or ‘universal’) dApps to be built on top of native ZetaChain cross-chain smart contracts. This capability looks much like on Ethereum where a smart contract can be trusted to manage assets according to predetermined rules, except on ZetaChain, a smart contract can leverage and manage assets on any connected blockchain. In summary, ZetaChain is designed to be a decentralized cross-blockchain smart contract platform. The vision of ZetaChain is to be a public computer on all important blockchains, on top of which cross-blockchain decentralized applications can be easily built as public, trustless, and persistent smart contracts. Figure 1. Before and After ZetaChain. Sub figure (a) on the left: Current ecosystem. Users and developers are siloed into respective chains, and current cross-chain solutions are disparate, resulting in major, growing fragmentation. Sub figure (b) on the right: Ecosystem with ZetaChain. Users, developers, and apps can operate across chains in a seamless manner. New paradigm of Universal dApps enabled. 2. Background: Evolution of Blockchains 2.1. Bitcoin: the original decentralized cryptocurrency Blockchain, pioneered by Bitcoin, is a decentralized and permissionless public ledger built on cryptography. The core mechanism is byzantine fault tolerant distributed consensus, which Bitcoin solved by a combination of techniques from cryptography, economic incentives, and computer science. Key innovations in Bitcoin include the use of elliptic curve digital signatures algorithm (ECDSA) for self-custody of funds, and the use of Proof-of-Work to reach distributed consensus (ordering of the ever growing log of transactions) and maintain resistance against sybil attacks. Bitcoin also introduces the first major application of blockchain technology—a p2p cryptocurrency. The Bitcoin network has been highly successful, even though it has not fulfilled its promise of being electronic cash. Rather, Bitcoin has become the most secure, decentralized, and stable store of value due to its technical simplicity and robustness, high degree of decentralization and low barrier of participation, and predictable and conservative monetary policy. The Bitcoin network consists of nodes connected by a p2p network. Participants include users and miners. The Bitcoin network collectively maintains a growing ledger that is a sequence of user transactions. A user transaction is a signed message that “spends” a certain amount of coins controlled by the user. The Bitcoin network does not explicitly maintain the balance state of each account; the only state of the network is the set of current UTXOs—unspent transaction outputs. A user’s balance of BTC is the sum of all UTXOs that can be spent by the user. A user transaction includes one or more UTXOs as inputs, and creates one or more UTXOs as outputs, thus changing the state (UTXO set). Bitcoin supports a limited form of scripting: a transaction can send coins to a script, and whoever can satisfy the script (i. e. supply data to make it evaluate to 1) may spend the coins. The scripting language is deliberately simple and Turing-incomplete —namely without branch and looping structures — but supports quite a few simple but fundamentally useful applications such as multi-sig, atomic swaps, etc. 2.2. Ethereum: the programmable blockchain with smart contracts While Bitcoin is conceptually a simple ledger (ordered sequence of transactions) with basic scripting features that has served as the canonical example of a blockchain, it is not the limit of what a blockchain can do. For example, due to the limited scope of the verification function of the Bitcoin protocol, it’s not possible to issue new coins on the Bitcoin network. The Bitcoin network is not programmable in the sense that an arbitrary state transition function can be implemented. The only state transition function that Bitcoin supports is the hard-coded UTXO set change. In summary, no applications other than BTC currency can piggy-back on the Bitcoin network, inheriting its consensus, decentralization, and security. To extend the scope of blockchain to support Turing-complete programmability, Ethereum was born. Ethereum borrows the Proof-of-Work from Bitcoin for its consensus, and has made several important innovations that make it a public programmable blockchain. First, Ethereum defines a virtual machine (EVM) that provides a Turing-complete sandbox environment to specify arbitrary state transition functions (smart contracts). Second, Ethereum moves away from the UTXO model in Bitcoin to an account-based system where account store state. There are two kinds of accounts: External Owned Accounts (EOAs) which are controlled by a private key, and smart contract accounts which work autonomously according to their own logic. The availability of smart contracts on Ethereum makes it one of the most widely used dApp blockchains with thousands of applications deployed, such as financial derivatives, exchanges, NFTs, gambling, and games. Smart contracts on Ethereum are like objects in an object-oriented programming language where state can be stored and functions can be called to change its state. Users can interact with smart contracts by sending messages to it, and smart contracts can also send messages to other smart contracts (invoking) to change their state. The smart contracts can enable very complex applications, and can enable some very powerful operations such as flash loans or flash swaps that have no analogy in non-blockchain applications. This is made possible by the powerful atomicity of transaction that invokes smart contract functions: it either completes or completely reverts. Over the years more and more blockchains such as Polkadot, Solana, Avalanche, and Cosmos have arisen and support nearly Turing-complete smart contracts. 2.3. Emergence and challenges of multi-chain While some people tend to favor one chain to rule them all, the reality is that blockchain technology and markets are evolving at an astonishing pace and it is becoming more and more apparent that the future of the ecosystem will be comprised of multiple blockchains serving their own purpose with their own tradeoffs in terms of security, decentralization, scalability, speed, cost, compliance, and so on. In this multi-chain future, a key limitation is that blockchains are designed to be a closed system. Transactions that happen on a blockchain can only rely on the state of their respective blockchain, and can only modify the state of their respective blockchain. External information cannot be reliably brought to the blockchain without a trusted third party (oracle). Transactions that involve multiple blockchains must go through a trusted party, such as a centralized exchange. As a result, there is currently no decentralized, permissionless, and public service that facilitates generic atomic transactions (not only atomic swapping, but also arbitrary logic) that involves multiple blockchains. Popular cross-chain or cross-blockchain strategies include side-chains, relays, notary schemes, hash time-lock contracts, and blockchains of blockchains. ● First, side-chains/relays are popular solutions to implement bridges that primarily enable portable assets. In these, some assets have a home ledger that is authoritative on its ownership, but through bridges one can move the asset to other blockchains while being confident that the asset is able to move back to the home blockchain. Relay is one of the direct mechanisms to facilitate interoperability, where instead of relying on a trusted intermediary to provide information on chain A to chain B, chain B implements a thin client of chain A using smart contracts, and is able verify whether a particular event, transaction, or state at certain point in time has occurred on chain A. This is often called trustless because there is no additional trust assumption beyond trusting the two involved chains. In other words, no trust is required on the validity of the delivery mechanism of messages from chain A to chain B, other than that the message is delivered and delivered in time. Examples of relays include the BTCRelay on Ethereum (a SPV client of Bitcoin) and the Rainbow bridge of Ethereum on the NEAR blockchain. Relays are also popular mechanisms for side-chains. ● Second, notary schemes are mechanisms where a trusted entity (or a set of) is tasked with notarizing claims such as “event X has happened on blockchain A”. The most obvious notary schemes are centralized exchanges, which are trusted entities to facilitate cross-blockchain exchanges of coins. Notary schemes do not have to be centralized; for example the Interledger project, in its “atomic mode” can be categorized as a decentralized, byzantine fault tolerant notary scheme to facilitate cross-ledger transfers. Note that notary schemes are the most flexible in terms of interoperability use cases, because they are able to act with arbitrary logic in response to events on discrete blockchains. Another notable decentralized notary scheme is THORChain which implements a DEX for native coins across several different chains, using a set of incentivized validators as notaries. ● Third, hash time-lock contracts (HTLC) are constructs of smart contracts that can facilitate atomic swaps across blockchain chains trustlessly without additional trust beyond the participating two blockchains. The key words are “atomic” and “trustless”. Atomic means that the transactions (involving two parties) are either complete or revert (as if nothing has happened). Trustless means no third-party needs to be trusted for the atomic swap. It works roughly by two parties interactively deploying and interacting with smart contracts on both sides. The core idea is with a hash of secret that is conceived by party A and used by both parties, and party A is forced to reveal the secret when claiming party B's coin, which can then be used by party B to claim party A's coin. Examples of HTLC include XClaim BTC/Ethereum or BTC/Polkadot bridge, and the Lightning Network on Bitcoin. ● Fourth, blockchains of blockchains (BoB) are frameworks that provide data, network, consensus, incentive, and contract layers for constructing application-specific blockchains that interoperate between each other. Note that BoB does not solve current interoperability problems directly. Rather it enables the creation of new interoperable blockchains. To connect to “legacy” chains, some sort of bridge or other mechanism shown above must be employed. Important examples of BoB are Polkadot and Cosmos, built on Substrate and Tendermint as consensus engines, and XCMP and IBC as cross-chain communication protocols. Strategy Use scenarios Trust Assumption Relay/Side-chain Portable Assets Trustless Notary Scheme Arbitrary Trustful HTLC Atomic Swaps Trustless BoB New blockchains Trustless/Trustful Table 1. Comparison of existing cross-chain strategies Each of these broad strategies has its strengths and weaknesses in technical complexity, trust assumptions, level of interoperability, and use cases. Our discussion here is brief and incomplete, but still we can very roughly categorize the characteristics of these strategies; see Table 1 for a comparison of these strategies. 3. Interoperability Related Work In this section, we pick some of the recent and most relevant projects, ideas, and trends to provide context for this paper and ZetaChain. For more academic cross-blockchain research please refer to a comprehensive survey [1]. 3.1. Cross-chain Communication A basic building block of any cross-blockchain interoperability is the ability to communicate and prove to chain B that a certain transaction happened on chain A. BTCRelay [4], Rainbow Bridge [5]: Consider the task of building a one-way bridge on Ethereum from Bitcoin. When a user on Bitcoin sends 1 BTC to a given custody address, one wrapped BTC is issued on Ethereum. To do this in a trustless way, a smart contract on Ethereum can verify the transaction on Bitcoin, and issue a corresponding wrapped BTC coin on Ethereum. BTCRelay is such an example. For an Ethereum smart contract to verify the transaction on Bitcoin, someone (off-chain service) can submit the transaction, together with the transaction Merkle proof. The Ethereum smart contract verifies the proof based on the chain of block headers stored in the smart contract. This smart contract is essentially a light client of Bitcoin. Even though the strength of the proof is a bit lower than a full node (would be v
프로젝트로 돌아가기