{"id":10620,"date":"2023-04-21T11:20:13","date_gmt":"2023-04-21T11:20:13","guid":{"rendered":"https:\/\/www.bitnovo.com\/blog\/?p=10620"},"modified":"2022-05-17T11:09:59","modified_gmt":"2022-05-17T11:09:59","slug":"what-are-signatures-schnorr-bip-340-the-taproot-key","status":"publish","type":"post","link":"https:\/\/www.bitnovo.com\/blog\/en\/what-are-signatures-schnorr-bip-340-the-taproot-key","title":{"rendered":"What are Schnorr signatures? (BIP 340) The Taproot Key"},"content":{"rendered":"<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Alternar tabla de contenidos\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #ffffff;color:#ffffff\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #ffffff;color:#ffffff\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 eztoc-toggle-hide-by-default' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.bitnovo.com\/blog\/en\/what-are-signatures-schnorr-bip-340-the-taproot-key\/#first_lets_understand_the_relationship_between_bitcoin_and_edcsa\" >First, let\u2019s understand the relationship between Bitcoin and EDCSA.<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.bitnovo.com\/blog\/en\/what-are-signatures-schnorr-bip-340-the-taproot-key\/#what_are_schnorr_signatures\" >What are Schnorr signatures?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.bitnovo.com\/blog\/en\/what-are-signatures-schnorr-bip-340-the-taproot-key\/#how_does_it_work\" >How does it work?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.bitnovo.com\/blog\/en\/what-are-signatures-schnorr-bip-340-the-taproot-key\/#finally_what_are_your_advantages_over_ecdsa\" >Finally, what are your advantages over ECDSA?<\/a><\/li><\/ul><\/nav><\/div>\n<span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Tiempo de lectura:<\/span> <span class=\"rt-time\"> 3<\/span> <span class=\"rt-label rt-postfix\">minutos<\/span><\/span><h2><span class=\"ez-toc-section\" id=\"first_lets_understand_the_relationship_between_bitcoin_and_edcsa\"><\/span>First, let\u2019s understand the relationship between Bitcoin and EDCSA.<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<div class=\"is-divider divider clearfix\"><\/div>\n<p><strong><a href=\"https:\/\/www.bitnovo.com\/blog\/en\/what-is-bitcoin\/\">Bitcoin<\/a>\u00a0has been the quintessential giant in the world of cryptocurrencies\u00a0<\/strong>for more than 12 years. But that doesn\u2019t mean that Bitcoin hasn\u2019t changed over that time.<\/p>\n<p>Like\u00a0<a href=\"https:\/\/www.bitnovo.com\/blog\/en\/what-is-ethereum-eth-and-how-does-it-work\/\">Ethereum<\/a>,\u00a0<strong>Bitcoin is a project with a\u00a0<a href=\"https:\/\/www.bitnovo.com\/blog\/en\/what-is-blockchain-and-how-does-it-work\/\">blockchain<\/a>\u00a0that constantly needs to include improvements to enhance certain aspects.<\/strong><\/p>\n<p><strong><br \/>\n<\/strong>Currently one of the existing difficulties within Bitcoin,\u00a0<strong>goes hand in hand with the ECDSA Signature. Respectively<\/strong>, ECDSA is the digital signature algorithm that\u00a0<a href=\"https:\/\/www.bitnovo.com\/blog\/en\/who-is-satoshi-nakamoto\/\">Satoshi Nakamoto<\/a>\u00a0decided to use for Bitcoin.<\/p>\n<p>Of course, it is a tool that is currently used to sign the transactions you are making within the network.<\/p>\n<p>In this way,\u00a0<strong>after specifying that you want to transfer 3 BTC to your colleague Alex<\/strong>, you confirm that you performed this operation.\u00a0<strong>To do this, you use a private key that functions as your digital signature.\u00a0<\/strong><\/p>\n<p>From this,\u00a0<strong>a public key is generated that miners can access to verify that the information is correct and validate your transaction.<\/strong><\/p>\n<p>Instead,\u00a0<strong>what if the BTC you want to transfer are not only yours, but you have a\u00a0<a href=\"https:\/\/www.bitnovo.com\/blog\/en\/what-is-a-multi-signature-wallet\/\">multisig or multisignature wallet<\/a>\u00a0with other colleagues?<\/strong><\/p>\n<p>Consequently, for that single Bitcoin transaction,\u00a0<strong>a specific number of signatures (N) are required to authorize it, following the M-of-N scheme.\u00a0<\/strong><\/p>\n<p>Of course, that depends on whether, in an agreement, they established who would be the main signatories, whether Juliet and you or Vincent and Juliet, and so on.<\/p>\n<p>Anyway,\u00a0<strong>the important thing is that everyone must sign for it to be done, which extends the delay time.<\/strong><\/p>\n<p>However,\u00a0<strong>can you imagine an algorithm in which a single signature replaces all signatures and is totally secure?<\/strong><\/p>\n<p>That\u2019s exactly what we\u2019ll talk about today, the Schnorr signatures, also known as one more step towards the future of an enhanced Bitcoin network. Let\u2019s see what it\u2019s all about!<\/p>\n<div class=\"is-divider divider clearfix\"><\/div>\n<div class=\"is-divider divider clearfix\"><\/div>\n<div class=\"is-divider divider clearfix\"><\/div>\n<div id=\"image_122348904\" class=\"img has-hover x md-x lg-x y md-y lg-y\">\n<div class=\"img-inner dark\"><img fetchpriority=\"high\" decoding=\"async\" class=\"attachment-large size-large lazyloaded\" src=\"https:\/\/www.bitnovo.com\/blog\/wp-content\/uploads\/2021\/07\/Que-son-las-firmas-Schnorr2.jpg\" sizes=\"(max-width: 768px) 100vw, 768px\" srcset=\"https:\/\/www.bitnovo.com\/blog\/wp-content\/uploads\/2021\/07\/Que-son-las-firmas-Schnorr2.jpg 768w, https:\/\/www.bitnovo.com\/blog\/wp-content\/uploads\/2021\/07\/Que-son-las-firmas-Schnorr2-300x205.jpg 300w\" alt=\"\u00bfQu\u00e9 son las firmas Schnorr? La clave de Taproot (BIP 340)\" width=\"768\" height=\"526\" data-srcset=\"https:\/\/www.bitnovo.com\/blog\/wp-content\/uploads\/2021\/07\/Que-son-las-firmas-Schnorr2.jpg 768w, https:\/\/www.bitnovo.com\/blog\/wp-content\/uploads\/2021\/07\/Que-son-las-firmas-Schnorr2-300x205.jpg 300w\" data-src=\"https:\/\/www.bitnovo.com\/blog\/wp-content\/uploads\/2021\/07\/Que-son-las-firmas-Schnorr2.jpg\" data-sizes=\"(max-width: 768px) 100vw, 768px\" \/><\/div>\n<\/div>\n<div class=\"is-divider divider clearfix\"><\/div>\n<div class=\"is-divider divider clearfix\"><\/div>\n<div class=\"is-divider divider clearfix\"><\/div>\n<h2><span class=\"ez-toc-section\" id=\"what_are_schnorr_signatures\"><\/span>What are Schnorr signatures?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<div class=\"is-divider divider clearfix\"><\/div>\n<div class=\"is-divider divider clearfix\"><\/div>\n<p>Schnorr signatures\u00a0<strong>is a signature scheme that allows a set of signatures to be substituted into a single signature<\/strong>, when they all come from the same input.<\/p>\n<p>Basically, it creates a single signature for all parties involved, which facilitates multi-signature transactions.<\/p>\n<p>First, this digital signature scheme\u00a0<strong>was proposed and patented in 1991 by German cryptographer Klaus-Peter Schnorr.<\/strong><\/p>\n<p>Therefore, it is older than Bitcoin\u2019s current signature algorithm. Now, you may wonder why it was not included from the beginning in Bitcoin?<\/p>\n<p><strong>The answer lies in the fact that the patents would expire only in 2008,\u00a0<\/strong>when Nakamoto introduced Bitcoin to the world.<\/p>\n<p>However, this algorithm was not standardized and\u00a0<strong>was not widely used, unlike the proposed elliptic curve digital signature.\u00a0<\/strong><\/p>\n<p>However, in 2018, the situation changed with the draft that Blockstream engineer\u00a0<strong>Pieter Wuille included in the change request for a soft fork or soft fork.<\/strong><\/p>\n<p>His draft contained the proposal of what a Schnorr signature scheme would look like in Bitcoin.<\/p>\n<p>Finally, in January 2020 it obtained the number BIP340, which describes the technical definition of the Schnorr signature in Bitcoin.<\/p>\n<p>In all these years, it has been a matter of debate,\u00a0<strong>which culminated in a unanimous decision in favor of the\u00a0<a href=\"https:\/\/www.bitnovo.com\/blog\/en\/all-about-taproot\/\">Schnorr and Taproot<\/a>\u00a0firms by the miners (with 90% agreement).\u00a0<\/strong><\/p>\n<p>Regarding its activation,\u00a0<strong>it will start working in November this year, activating automatically at block height 709,632<\/strong>. At the moment, it is visualized as the first update Bitcoin will see for four years.<\/p>\n<div class=\"is-divider divider clearfix\"><\/div>\n<div class=\"is-divider divider clearfix\"><\/div>\n<div class=\"is-divider divider clearfix\"><\/div>\n<h2><span class=\"ez-toc-section\" id=\"how_does_it_work\"><\/span>How does it work?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>&nbsp;<\/p>\n<p>To put it in simple terms, let\u2019s go back to the example.<\/p>\n<p>With the Schnor signatures,<strong>\u00a0Vincent\u2019s and Juliet\u2019s signatures will automatically become one, as if the signatures were combined.<\/strong><\/p>\n<p>In this way, the observer or miner\u00a0<strong>will not be able to link a signature to a specific person or number of persons.\u00a0<\/strong><\/p>\n<p>In particular,\u00a0<strong>pretend that if they made a cake<\/strong>, Vincent and Juliet would participate in the preparation process and deliver a single cake.<\/p>\n<p>Consequently,\u00a0<strong>we do not know who beat the eggs, who spread the cream<\/strong>, and so on, which is generated quickly by the algorithm.<\/p>\n<p>After the Schnorr signature is placed,\u00a0<strong>the observer will validate that the transaction has been confirmed and the 3 BTC will be transferred to Alex.<\/strong><\/p>\n<div class=\"is-divider divider clearfix\"><\/div>\n<div class=\"is-divider divider clearfix\"><\/div>\n<div class=\"is-divider divider clearfix\"><\/div>\n<div id=\"image_1625017574\" class=\"img has-hover x md-x lg-x y md-y lg-y\">\n<div class=\"img-inner dark\"><img decoding=\"async\" class=\"attachment-large size-large lazyloaded\" src=\"https:\/\/www.bitnovo.com\/blog\/wp-content\/uploads\/2021\/07\/Que-son-las-firmas-Schnorr1.jpg\" sizes=\"(max-width: 768px) 100vw, 768px\" srcset=\"https:\/\/www.bitnovo.com\/blog\/wp-content\/uploads\/2021\/07\/Que-son-las-firmas-Schnorr1.jpg 768w, https:\/\/www.bitnovo.com\/blog\/wp-content\/uploads\/2021\/07\/Que-son-las-firmas-Schnorr1-300x205.jpg 300w\" alt=\"\u00bfQu\u00e9 son las firmas Schnorr? La clave de Taproot (BIP 340)\" width=\"768\" height=\"526\" data-srcset=\"https:\/\/www.bitnovo.com\/blog\/wp-content\/uploads\/2021\/07\/Que-son-las-firmas-Schnorr1.jpg 768w, https:\/\/www.bitnovo.com\/blog\/wp-content\/uploads\/2021\/07\/Que-son-las-firmas-Schnorr1-300x205.jpg 300w\" data-src=\"https:\/\/www.bitnovo.com\/blog\/wp-content\/uploads\/2021\/07\/Que-son-las-firmas-Schnorr1.jpg\" data-sizes=\"(max-width: 768px) 100vw, 768px\" \/><\/div>\n<\/div>\n<div class=\"is-divider divider clearfix\"><\/div>\n<div class=\"is-divider divider clearfix\"><\/div>\n<div class=\"is-divider divider clearfix\"><\/div>\n<h2><span class=\"ez-toc-section\" id=\"finally_what_are_your_advantages_over_ecdsa\"><\/span>Finally, what are your advantages over ECDSA?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>&nbsp;<\/p>\n<ul>\n<li>\n<ul>\n<li>The Schnnor signature scheme, incorporated in Bitcoin BIP340,\u00a0<strong>provides greater privacy and scalability of transactions.<\/strong><\/li>\n<li><strong>It combines signatures, so it does not occupy so much space on the blockchain. This reduces transaction size and fees.<\/strong><strong><br \/>\n<\/strong><\/li>\n<li><strong>It reduces bandwidth usage and helps\u00a0<\/strong>transactions to be validated quickly.<\/li>\n<li>It hinders the use of wallet or fingerprint identification technology,\u00a0<strong>which strengthens the anonymity and security of your information.\u00a0<\/strong><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<div class=\"is-divider divider clearfix\"><\/div>\n<div class=\"is-divider divider clearfix\"><\/div>\n<div class=\"is-divider divider clearfix\"><\/div>\n<p>So much for our journey.<\/p>\n<p>If you are interested in reading\u00a0<a href=\"https:\/\/www.bitnovo.com\/blog\/en\/\">more articles associated<\/a>\u00a0<strong>with the news of the crypto universe and its basic concepts,<\/strong>\u00a0you can click on the topics below.<\/p>\n<p>If instead, you want to support the new Bitcoin updates, you can\u00a0<a href=\"https:\/\/www.bitnovo.com\/en\/buy\/bitcoin\/\">buy BTC<\/a>\u00a0securely and quickly from our website.<\/p>\n<p>See you next time!<\/p>\n","protected":false},"excerpt":{"rendered":"<p><span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Tiempo de lectura:<\/span> <span class=\"rt-time\"> 3<\/span> <span class=\"rt-label rt-postfix\">minutos<\/span><\/span>First, let\u2019s understand the relationship between Bitcoin and EDCSA. Bitcoin\u00a0has been the quintessential giant in the world of cryptocurrencies\u00a0for more than 12 years. But that doesn\u2019t mean that Bitcoin hasn\u2019t changed over that time. Like\u00a0Ethereum,\u00a0Bitcoin is a project with a\u00a0blockchain\u00a0that constantly needs to include improvements to enhance certain aspects. Currently one of the existing difficulties [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":7792,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[185],"tags":[],"class_list":["post-10620","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blockchain-en"],"_links":{"self":[{"href":"https:\/\/www.bitnovo.com\/blog\/wp-json\/wp\/v2\/posts\/10620","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bitnovo.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bitnovo.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bitnovo.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bitnovo.com\/blog\/wp-json\/wp\/v2\/comments?post=10620"}],"version-history":[{"count":0,"href":"https:\/\/www.bitnovo.com\/blog\/wp-json\/wp\/v2\/posts\/10620\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.bitnovo.com\/blog\/wp-json\/wp\/v2\/media\/7792"}],"wp:attachment":[{"href":"https:\/\/www.bitnovo.com\/blog\/wp-json\/wp\/v2\/media?parent=10620"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bitnovo.com\/blog\/wp-json\/wp\/v2\/categories?post=10620"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bitnovo.com\/blog\/wp-json\/wp\/v2\/tags?post=10620"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}