Enhancing Bitcoin’s Capabilities with Zenon Network | The Network of Momentum (NoM)
Still work in progress
Introduction
Bitcoin stands as a foundational pillar in the cryptocurrency revolution, known for its unparalleled security, decentralization, and widespread adoption. The emergence of altcoins was driven by a desire to either rival or enhance Bitcoin’s perceived limitations. These altcoins sought improvements in various domains:
- Programmability: Implementing Turing-complete smart contracts for enhanced functionality.
- Security: Developing innovative consensus protocols for robust network protection.
- Speed: Utilizing advanced cryptographic techniques for faster transaction processing.
In contrast, Zenon Network, the Network of Momentum (NoM), is designed not to compete with Bitcoin but to improve its capabilities by leveraging the strengths of both networks.
Since its inception, Bitcoin has seen many altcoins come and go. Among these, Ethereum stands out as a prominent cryptocurrency. However, Ethereum has made significant trade-offs, such as the shift to a proof-of-stake model. This shift has sparked concerns about Ethereum’s long-term stability.
In this evolving landscape, the Network of Momentum (NoM) sets itself apart by aiming to enhance Bitcoin rather than compete against it. NoM is uniquely positioned as the first decentralized network to:
- Trustless Bitcoin Acquisition: Utilize merge-mining to acquire Bitcoin in a secure, trustless manner.
- Trustless Bitcoin Control: Employ advanced methods like Threshold Signature Scheme (TSS) and 3. Stake-Based Threshold Multi-Signatures (STM) for decentralized Bitcoin custody.
- Programmability Enhancement: Integrate zero-knowledge rollups to improve Bitcoin’s programmability, using tapscripts for on-chain proof embedding.
- Security Synergy: Leverage the robust security of Bitcoin to underpin NoM’s own consensus protocol.
Crucially, NoM advocates for the growth of decentralized, peer-to-peer Bitcoin mining pools, essential for the diversification of Bitcoin’s hashpower. This vision includes a symbiotic relationship with Bitcoin, contributing hashpower in return for block space. This block space is instrumental in securing highly scalable zk-rollups on Bitcoin, marking a significant step forward in blockchain interoperability and efficiency.
Architecture and Design of the Network of Momentum
NoM features a distinctive dual-ledger system, comprising a meta-DAG for executing the consensus protocol and a block-lattice for transaction settlements. Utilizing Ed25519, a fast and secure deterministic signature scheme based on Curve25519, NoM ensures cryptographic robustness.
The block-lattice structure, composed of individual account-chains holding transactional data identified by public addresses, introduces a novel transaction mechanism with send-blocks and receive-blocks, marking transaction completion upon the send-block’s publication.
NoM’s development is phased. Phase 0 introduced Plasma, a fee abstraction mechanism allowing users to generate proof-of-work or lock QSR to process transactions. Phase 1, currently under design and development, will introduce dynamic plasma which removes the artificial cap on the transaction-per-second throughput (TPS). In addition, the network can incorporate a fee-based mechanism, akin to Ethereum’s EIP-1559.
In Phase I transactions will be probabilistic, as they will be anchored on Bitcoin’s blockchain. The block-lattice ledger will gain additional weight as it accumulates proof-of-work from both transactions and miners.
Each account-chain stores account-blocks that are layered one on top of another in a similar way to which blocks within a blockchain are linked to each other. This is an important aspect for the merge-mining process that requires a dynamic difficulty adjustment mechanism. The mining difficulty will be automatically adjusted by implementing a dynamic difficulty targeting algorithm for the merge-mining account-chain.
Embedded contracts at the protocol level are the foundation of NoM. For instance, the Pillar embedded contract, which also has its own account-chain, oversees network emissions for Pillars and their delegators.
Pillars represent the consensus nodes in NoM. Delegators stake ZNN to Pillars and are ordered by their total delegated stake. The top 30 Pillars produce more momentums per epoch. Pillars can adjust how much they want to share from their rewards with their delegators at the end of each epoch. The distribution of ZNN is handled automatically by the embedded contract and it represents the blueprint for the mining embedded contract.
To enable BTC and ZNN merge-mining, an on-chain network upgrade mechanism (spork) will deploy a specialized merge-mining embedded contract called the “share-chain”. This necessitates Pillars and Sentinels to run Bitcoin full nodes, ensuring connection and block propagation within the Bitcoin network. Miners in NoM can join the network via Zenon full nodes (znnd) and participate in the construction of the share-chain, a blockchain-like structure within the embedded account-chain.
The share-chain will operate at a lower difficulty than Bitcoin’s mainchain. The share-chain allows pool miners to collaborate in a decentralized pool by mining shares on the share chain at a rate of one share block every 10 seconds. Each of the blocks on the share chain records a proportionate share reward for the pool miners who contribute work, carrying the shares forward from the previous share block. When one of the share blocks also achieves the Bitcoin difficulty target, Pillars broadcast these valid blocks to the Bitcoin peer-to-peer network using bitcoind full node. Upon acceptance, the newly mined BTC from these transactions are deposited into a Threshold Signature Scheme (TSS) vault, controlled by the Pillars. Miners who contribute to the share-chain receive ZNN as a reward. This mined BTC is allocated for purchasing block space, facilitating the development of smart contract applications, details of which will be discussed later.
In Phase I NoM will incorporate advanced cryptographic techniques, like FROST (Flexible Round Optimized Schnorr Threshold Signatures) with a ROAST wrapper, for decentralized BTC custody, and we are exploring Mithril, a stake-based threshold multisignature scheme, to enhance network governance with a veto like process.
Ultimately, NoM aspires to be a decentralized network that not only coordinates BTC and ZNN merge-mining but also fortifies Bitcoin’s censorship-resistant properties.
Bitcoin Fractal Scaling with zk-Rollups
By utilizing BTC as a Data Availability layer, NoM will be able to incorporate zk-rollup data into Bitcoin blocks mined in order to bypass transaction censorship typically seen in centralized mining pools.
Example of a typical zk-Rollup architecture:
-
L1 Smart Contract Management of L2:
- Enables deposits and withdrawals.
- Publishes new state roots (“assertions”).
- Publishes compressed transaction data batches for verification.
-
L2 Operators (also called Validators/Aggregators/Sequencers):
- Batch transactions, forming the basis of the rollup.
Zero-knowledge rollups, a Layer 2 scaling solution, use zero-knowledge proof systems to enhance blockchain throughput and computing capabilities. These rollups have distinct advantages:
- Security and Integrity: Validators can’t corrupt the state or misappropriate funds.
- User Protection: In case validators act dishonestly, users can withdraw funds en masse.
- Fraud Prevention: Unlike optimistic rollups, continuous monitoring of blocks isn’t needed.
Zk-rollups inherit the security guarantees of the underlying Layer 1, significantly enhancing scalability and transaction capabilities. In this architecture, a prover submits a “validity proof” (often using ZK-SNARKs or ZK-STARKs) of transaction batches. This proof is easier to verify than redoing the entire computation.
The smart contract on the Layer 1 validates these proofs despite limited computational ability. State transitions in zk-rollups are determined by applying a deterministic function which defines the rollup as a sequence of state transition steps, starting from a known initial state, similar to how blockchains start from a genesis block. This sequence is represented as a sequence of blocks, where each block consists of an ordered list of transactions. Validity proofs ensure correctness of off-chain transactions and prevent operators from executing invalid state transitions.
Thus, the security of zk-rollups is provided by the underlying blockchain. The underlying L1 enforces the correctness of every update on the zk-rollup’s state and attests that the data that describes these updates is available. Another throughput enhancement technique is recursive proofs, where multiple block proofs are aggregated into one final proof, enabling the finalization of several blocks simultaneously.
ZK Rollups on NoM with BTC Security
The goal is to achieve a trustless ZK-rollup solution that leverages Bitcoin’s security and decentralization for data availability while leveraging NoM’s computing, consensus and merge-mining layers to enhance the programmability and overall censorship resistance property of the rollup. NoM will post data proofs needed to recover the off-chain state on Bitcoin, which guarantees security, censorship-resistance, and decentralization. But due to the limited computing capabilities of Bitcoin, automatic user withdrawals are not possible. However, the embedded contract on NoM can verify the proofs on the Bitcoin network with its own data and can perform the required computations.
Transactions specific to the zk-rollup will be processed off-chain by special NoM nodes called executors that collect, process, and compile batches of transactions into a rollup. Once transactions are batched, executors will generate a zero-knowledge proof confirming the validity of all transactions in the batch. Rollup blocks will be published in the embedded contract and then inscribed onto the Bitcoin blockchain by leveraging Taproot techniques.
Ordinals inscribe data into the witness part of a Bitcoin transaction, and NoM will use a similar technique to embedded the rollup date into the witness part of a transaction. A standard Taproot transaction can include up to around 400KB of data in order to pass through the public mempool. By leveraging merge-mining, NoM is able to completely bypass the public mempool and create a non-standard coinbase transaction that can embed up to 4MB of arbitrary data into the blockchain. Merge-mining will make NoM immune to any form of censorship and enable it to store zk-rollup proofs in a way that is strictly tied to Bitcoin’s security model.
The rollup will benefit from Bitcoin’s security (re-organization-resistance, censorship-resistance) and decentralization and users will be always able to unilaterally withdraw their funds without the cooperation of executor nodes by posting the corresponding proofs to NoM’s embedded contract.
In order to further enhance the operation of the zk-rollup, a security bond will be required for running executor nodes, similar to zk-sync’s instant confirmations proposal.
Another interesting topic of discussion is embedding the zk-circuits into the Bitcoin blockchain using the pay-to-contract output.