Kraken

What is Taproot?

The Beginner’s Guide to the Taproot Bitcoin Upgrade


Taproot is an upgrade to Bitcoin that aims to improve the privacy and efficiency of its network. Taproot is the first upgrade to Bitcoin in four years, since Segregated Witnesses (SegWit) went live in 2017.

The Taproot update encompasses three Bitcoin Improvement Proposals (BIPs), including BIP340 (BIP – Schnorr), BIP341 (BIP – Taproot), BIP342 (BIP – Tapscript). 

BIP-Schnorr introduces “Schnorr Signatures,” a faster, more secure and less data-intensive way to authorize transactions. BIP – Schnorr also enables BIP – Taproot, which uses a technique called “MAST” to commit less smart contract transaction data to the blockchain while also obscuring some private transaction information. Finally, BIP – Tapscript outfits Bitcoin with an upgraded transaction programming language which utilizes Schnorr and Taproot technology. Tapscript also allows developers to implement future Bitcoin upgrades more efficiently.

Taproot was first proposed by Bitcoin core developer Gregory Maxwell in January 2018. The proposal was widely supported and reached a consensus for implementation from a majority of Bitcoin miners on June 12th, 2021. Taproot activated at block 709,632 on November 14, 2021.

taproot bitcoin


How Bitcoin Transactions Work

Upang maunawaan ang kahalagahan ng pag-upgrade ng Taproot, kailangang malaman kung paano pinoproseso ang mga transaksyon sa Bitcoin ngayon. Ang mga wallet ng Bitcoin ay gumagana nang katulad sa mga tradisyunal na bank account dahil ang parehong "account number" at "password" ay kinakailangan upang ma-access ang mga pondong hawak sa wallet. Kapag gumawa ng wallet ang mga user, bumubuo sila ng natatanging cryptographic key pair – isang pampubliko at isang pribado – na nagpapahintulot sa kanila na magpadala o tumanggap ng bitcoin. Ang pampublikong key ay gumaganap bilang "account number" at ang pribadong key tulad ng "password."

Maaaring lumikha ng cryptographic signature ang mga pribadong key upang patotohanan ang mga transaksyon at i-account ang pamamahagi ng mga barya, sa gayon ay mapipigilan ang mga masasamang aktor na magnakaw ng mga barya o kung hindi man ay maling paggamit ng mga pondo .

Ang isang cryptographic na lagda, na nagmula sa mga detalye ng transaksyon at ang pribadong key, ay kinakailangan upang maisagawa at mapatunayan ang transaksyon. Maaaring makita ng sinuman ang lagdang ito sa blockchain at malayang i-verify ang pagiging tunay nito.

Ipinaliwanag ang Taproot


The Taproot upgrade implements three BIPs:

BIP340 – Schnorr signature technology implements a smaller, more secure and flexible type of cryptographic signature. It also introduces a technique called “key aggregation,” which enables multi-signature transactions (where multiple parties endorse a single transaction) and smart contracts (where predetermined conditions must be met to execute a transaction) to commit the same amount of data to the Bitcoin blockchain as a standard, single signature transaction. With Schnorr Signatures, a single aggregated public key and a single aggregated signature are both recorded, rather than all of the public keys and signatures of all involved participants. The result is a lighter blockchain load, where observers cannot decipher whether a transaction includes single or multiple endorsers. Of note, Schnorr signatures are backward compatible with the cryptography algorithm Bitcoin has used since its inception, called Elliptic Curve Digital Signature Algorithm (ECDSA). This enables service providers such as exchanges, custodians and wallets to opt in to upgrading over time.

BIP341 – Taproot builds on the privacy innovations of the most recent Bitcoin upgrade, SegWit, and implements Merklized Alternative Script Trees (MAST), which allow for only the executed conditions of a smart contract transaction to be committed to the blockchain rather than the full details of all other possible outcomes. Merkle trees are widely used in cryptography as a way to prove data exists in a set, without having to reveal the entire set. By exposing only the details of the executed transaction, Taproot offers greater privacy to Bitcoin users. With Taproot, those auditing the chain would be unable to view unexecuted transaction conditions or outcomes, which may have contained sensitive private information such as what type of wallet was used. MAST should also provide greater scalability, transaction throughput and efficiency, since unexecuted transaction information is no longer recorded on the blockchain. 

BIP342 – Tapscript updates the Script coding language used to write bitcoin transaction parameters in order to accommodate Schnorr Signatures and Taproot technology for those that opt-in to the upgrade. Tapscript will also make it easier to implement future updates to Bitcoin by allowing new types of opcodes (transaction instructions) to be more seamlessly introduced.

Taproot Impact


While the full impact of this upgrade will be proven over the coming years as more service providers adopt the technology, the incremental improvements of Taproot are anticipated to be significant for Bitcoin’s long term viability.

Taproot’s privacy and efficiency benefits are two sides of the same coin. By committing less transaction information to the blockchain, less transaction data is available for anyone checking Bitcoin’s publicly available ledger. Committing less data also creates space in each block for more transactions, which should reduce fees and increase transaction throughput.

Taproot also opens the doors to greater smart contract flexibility on Bitcoin. While complex smart contracts have been easy to create and enforce on other blockchain networks for years, Taproot is anticipated to lay the technical foundation needed to accelerate Decentralized Finance (DeFi) on the Bitcoin network. With Taproot's implementation, Bitcoin can host massive smart contracts with tens of thousands of signatories while obscuring all participants and retaining the size of a single-signature transaction.

Taproot upgrades should also enable the Lightning Network to scale more efficiently and rapidly. Some believe Taproot, combined with Lightning Network, will advance bitcoin’s utility from a “store of value” to also a “medium of exchange,” further validating bitcoin as a true peer-to-peer digital cash.

While the upgrades Taproot brings to Bitcoin are important, arguably the most significant and longest lasting impact of Taproot will not be what it is, but how it is implemented. As the first major update to the Bitcoin protocol since the infamous block size wars that led to the creation of Bitcoin Cash four years prior, Taproot will likely establish the operational foundation for how BIPs develop from ideation to implementation in the years to come.

Want to learn even more about the Taproot upgrade? Download Kraken Intelligence’s “Taproot Primer – An Upgrade for the Ages

 


Simulan ang pagbili ng bitcoin

Now you're ready to take the next step and buy some bitcoin!