Home  >  Article  >  A brief analysis of Taproot Consensus: the most native and decentralized BTC L2 solution

A brief analysis of Taproot Consensus: the most native and decentralized BTC L2 solution

WBOY
WBOYforward
2024-03-24 09:20:20501browse

浅析Taproot Consensus:最原生、最去中心化的BTC L2解决方案

Taproot Consensus is currently the most native and decentralized BTC L2 solution.

Taproot Consensus is a BTC L2 solution built entirely based on Bitcoin native technology. Its core components are Schnorr Signature, MAST Contract, and SPV Node Network (full name: Bitcion Simplified Payment Verification Node Network).

The Taproot upgrade introduces key technologies to the Bitcoin network in 2021, including Schnorr Signature and MAST Contract. SPV Node Network, also known as the Simple Payment Verification Node Network, is essentially a network composed of Bitcoin light nodes. This concept originates from the simple payment verification scheme proposed by Satoshi Nakamoto in Section 8 of the Bitcoin white paper. The core idea is that even if some nodes (light nodes) do not have complete transaction records, payments can be verified safely and quickly.

So, how does Taproot Consensus work?

First of all, Schnorr Signature can expand Bitcoin’s multi-signature addresses to 1,000, that is, 1,000 Taproot wallet addresses can jointly manage the same BTC asset, and can ensure efficiency , security and privacy. The traditional Bitcoin multi-signature based on elliptic curve signatures can only have a maximum limit of 15 addresses, while Schnorr Signature can achieve sufficient decentralization of multi-signature addresses.

However, it is not enough to realize the decentralization of multi-signature addresses. It is also necessary to realize the automation and intelligence of signatures. That is, it must be driven by code instead of relying on people to sign.

Just imagine, if, for a BTC L2, the address hosting the Bitcoin needs a group of people to sign one by one to execute the in and out, how inefficient is it? How to ensure its safety?

Therefore, after realizing the decentralization of multi-signature addresses, MAST Contract must be introduced to realize the automation and coding of signatures.

MAST Contract is also one of the core technologies introduced in the Bitcoin Taproot upgrade. The full name of MAST Contract is Merkle Abstract Syntax Tree Contract, which is the Merkle abstract syntax tree contract. It uses the Merkle tree to encrypt complex locking scripts. , whose leaves are a series of non-overlapping scripts (e.g., multi-signatures or time locks). When disbursing, only the relevant script and the path from that script to the root of the Merck tree are disclosed. It can be simply understood that MAST Contract is a smart contract that runs on the Bitcoin chain and can handle multi-signature payments (although it is different from the smart contract of Ethereum, it can function as a smart contract when applied to Bitcoin Schnoir multi-signature) Effect)

With MAST, Schnorr signature can be intelligent, automated, and coded. That is to say, the concept of multi-signer is eliminated here and replaced by code instructions. This is a very important point.

So, who will issue the order? The SPV Node Network issues instructions.

That is, a network composed of Bitcoin light nodes running on the BTC second-layer network. Relying on the BFT network consensus to drive MAST Contract to issue instructions, it is not driven by any organization or person, which achieves complete decentralization. Why use SPV Node Network (Bitcoin light node network) instead of ordinary POS node network? Because Bitcoin light nodes can synchronize Bitcoin layer data and verify payments conveniently and securely without complete transaction records, that is, SPV (Simplified Payment Verification) is implemented.

To summarize:

Schnorr Signature allows Bitcoin multi-signature addresses to be expanded to 1,000, realizing the decentralization of multi-signature addresses.

MAST Contract realizes code-based multi-signature management and does not rely on people to sign, but relies on code driving.

SPV Node Network relies on the consensus of the Bitcoin light node network to drive multi-signature, fully realizing decentralized Bitcoin cross-chain and management.

Taproot Consensus=Schnorr Signature MAST Contract SPV Node Network, this is currently the most native and decentralized BTC L2 solution.

The above is the detailed content of A brief analysis of Taproot Consensus: the most native and decentralized BTC L2 solution. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:panewslab.com. If there is any infringement, please contact admin@php.cn delete