{"id":10328,"date":"2023-04-18T17:57:32","date_gmt":"2023-04-18T17:57:32","guid":{"rendered":"https:\/\/www.bitnovo.com\/blog\/?p=10328"},"modified":"2025-09-10T15:24:03","modified_gmt":"2025-09-10T15:24:03","slug":"what-is-testnet-and-how-does-it-work","status":"publish","type":"post","link":"https:\/\/www.bitnovo.com\/blog\/en\/what-is-testnet-and-how-does-it-work","title":{"rendered":"What is Testnet and how does it work?"},"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-is-testnet-and-how-does-it-work\/#history_of_the_testnet\" >History of the Testnet<\/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-is-testnet-and-how-does-it-work\/#how_does_the_testnet_work\" >How does the Testnet work?<\/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\"> 2<\/span> <span class=\"rt-label rt-postfix\">minutos<\/span><\/span><p>Projects and cryptocurrencies are constantly implementing new<strong>\u00a0functionalities and features<\/strong>. To make those new implementations successful, they must first ensure that they will not harm the functioning of the blockchain. This is where the work of the\u00a0<strong>testnet<\/strong>\u00a0begins.<\/p>\n<p>A testnet is a crucial<strong>\u00a0tool<\/strong>\u00a0for cryptocurrency development. Through this type of network, developers can carry out tests<strong>\u00a0without risking<\/strong>\u00a0compromising the correct functioning of the\u00a0<strong>main<\/strong>\u00a0network. They are used by developers, programmers or simply users who want to\u00a0<strong>experiment<\/strong>.<\/p>\n<div class=\"is-divider divider clearfix\"><\/div>\n<div class=\"is-divider divider clearfix\"><\/div>\n<h2><span class=\"ez-toc-section\" id=\"history_of_the_testnet\"><\/span><strong>History of the Testnet<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<div class=\"is-divider divider clearfix\"><\/div>\n<p>The beginnings of testnets date back to October\u00a0<strong>2010<\/strong>. Gavin Adresen, one of the Bitcoin developers, sent a\u00a0<strong>patch<\/strong>\u00a0to implement the new functionality accepted by Satoshi Nakamoto. This patch signified the\u00a0<strong>start<\/strong>\u00a0of the first testnet.<\/p>\n<p>Bitcoin was not the only cryptocurrency to implement this system. This test network allowed any developer to\u00a0<strong>implement<\/strong>\u00a0and test different\u00a0<strong>changes<\/strong>\u00a0in the protocol of an application without damaging the main network. It was a breakthrough full of\u00a0<strong>advantages<\/strong>.<\/p>\n<p>Although it was a success, on<strong>\u00a0February 3<\/strong>\u00a0of the following year the network was rebooted at the request of\u00a0<strong>David Fran\u00e7oise<\/strong>\u00a0who added a patch to the\u00a0<strong>Bitcoin Core<\/strong>\u00a0code. This new patch was called\u00a0<strong>Testnet2<\/strong>.<\/p>\n<p>Although it was expected that this version would improve on the first one, it turned out to have two major problems: first, the network increased the\u00a0<strong>difficulty<\/strong>\u00a0of mining so that getting the coin was a high cost and also, due to the high difficulty, many users began to\u00a0<strong>sell<\/strong>\u00a0Testnet coins as\u00a0<strong>real<\/strong>\u00a0BTCs.<\/p>\n<p>The solution to this problem came on\u00a0<strong>April 12, 2012<\/strong>\u00a0when<strong>\u00a0Andresen<\/strong>\u00a0restarted the network. This gave way to the new and latest Bitcoin testnet, the current\u00a0<strong>Testnet3<\/strong>. It fixed the bugs of the first two testnets. Currently the third testnet is still active.<\/p>\n<div class=\"is-divider divider clearfix\"><\/div>\n<div id=\"image_1402380857\" 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\/03\/Qu%C3%A9-es-la-Testnet2.jpg\" sizes=\"(max-width: 768px) 100vw, 768px\" srcset=\"https:\/\/www.bitnovo.com\/blog\/wp-content\/uploads\/2021\/03\/Qu\u00e9-es-la-Testnet2.jpg 768w, https:\/\/www.bitnovo.com\/blog\/wp-content\/uploads\/2021\/03\/Qu\u00e9-es-la-Testnet2-300x205.jpg 300w\" alt=\"Qu\u00e9-es-la-Testnet\" width=\"768\" height=\"526\" data-srcset=\"https:\/\/www.bitnovo.com\/blog\/wp-content\/uploads\/2021\/03\/Qu\u00e9-es-la-Testnet2.jpg 768w, https:\/\/www.bitnovo.com\/blog\/wp-content\/uploads\/2021\/03\/Qu\u00e9-es-la-Testnet2-300x205.jpg 300w\" data-src=\"https:\/\/www.bitnovo.com\/blog\/wp-content\/uploads\/2021\/03\/Qu\u00e9-es-la-Testnet2.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<h2><span class=\"ez-toc-section\" id=\"how_does_the_testnet_work\"><\/span><strong>How does the Testnet work?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<div class=\"is-divider divider clearfix\"><\/div>\n<p>The testnet is an\u00a0<strong>exact copy<\/strong>\u00a0of the original blockchain of a cryptocurrency. Testnets were created for two fundamental purposes:<\/p>\n<p>\u2013 Allow testing\u00a0<strong>new implementations<\/strong>\u00a0in cryptocurrency protocols without running the risk of affecting their performance.<\/p>\n<p>\u2013 Allow developers to\u00a0<strong>add protocols<\/strong>\u00a0to applications at no cost.<\/p>\n<p>Actions performed on a test network have\u00a0<strong>no impact<\/strong>\u00a0on the original blockchain. For copies of the blockchain, developers create what are known as near-identical\u00a0<strong>genesis blocks<\/strong>. In this way the blocks and cryptocurrencies generated from the testnets are\u00a0<strong>marked<\/strong>.<\/p>\n<p>This\u00a0<strong>separates<\/strong>\u00a0the two blockchains and prevents coins from being transferred to the original blockchain. Thanks to this mechanism, coins from the testnet can never be transferred to the\u00a0<strong>mainnet<\/strong>\u00a0(original network). This solved the Testnet2 problem and prevented some users from\u00a0<strong>profiting<\/strong>\u00a0based on fraud.<\/p>\n<p>Another problem solved was the<strong>\u00a0mining difficulty<\/strong>. Current testnets are configured so that they\u00a0<strong>do not increase<\/strong>\u00a0the difficulty of mining cryptocurrencies. This causes the mining of cryptocurrencies in a testnet to be so\u00a0<strong>easy<\/strong>\u00a0that it cancels the value of the coins created.<\/p>\n<p>Apart from the difficulty of mining and marking in genesis blocks, testnets are the same as their\u00a0<strong>original network<\/strong>. This similarity must be almost exact to\u00a0<strong>guarantee<\/strong>\u00a0that if a new implementation works on the testnet, it will\u00a0<strong>also work on<\/strong>\u00a0the mainnet.<\/p>\n<p>Do you know\u00a0<a href=\"https:\/\/www.bitnovo.com\/blog\/en\/what-is-kusama-ksm\/\">what Kusama is<\/a>?\u00a0<a href=\"https:\/\/www.bitnovo.com\/blog\/en\/what-is-polkadot-dot\/\">Polkadot\u2019s<\/a>\u00a0tesnet is a great example that will help you understand how test networks work.<\/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\"> 2<\/span> <span class=\"rt-label rt-postfix\">minutos<\/span><\/span>Projects and cryptocurrencies are constantly implementing new\u00a0functionalities and features. To make those new implementations successful, they must first ensure that they will not harm the functioning of the blockchain. This is where the work of the\u00a0testnet\u00a0begins. A testnet is a crucial\u00a0tool\u00a0for cryptocurrency development. Through this type of network, developers can carry out tests\u00a0without risking\u00a0compromising the [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":8004,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[185],"tags":[],"class_list":["post-10328","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\/10328","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=10328"}],"version-history":[{"count":2,"href":"https:\/\/www.bitnovo.com\/blog\/wp-json\/wp\/v2\/posts\/10328\/revisions"}],"predecessor-version":[{"id":24669,"href":"https:\/\/www.bitnovo.com\/blog\/wp-json\/wp\/v2\/posts\/10328\/revisions\/24669"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.bitnovo.com\/blog\/wp-json\/wp\/v2\/media\/8004"}],"wp:attachment":[{"href":"https:\/\/www.bitnovo.com\/blog\/wp-json\/wp\/v2\/media?parent=10328"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bitnovo.com\/blog\/wp-json\/wp\/v2\/categories?post=10328"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bitnovo.com\/blog\/wp-json\/wp\/v2\/tags?post=10328"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}