-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbitcoin.html
More file actions
181 lines (165 loc) · 14.6 KB
/
Copy pathbitcoin.html
File metadata and controls
181 lines (165 loc) · 14.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
<!DOCTYPE html>
<!-- SPDX-License-Identifier: AGPL-3.0-or-later | TestnetHub © 2026 Tech1k -->
<html lang="en" data-theme="dark">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Bitcoin testnet guide · TestnetHub</title>
<meta name="description" content="A beginner's guide to the Bitcoin test networks: testnet3, testnet4, and signet. Get free tBTC, understand addresses and confirmations, and build safely.">
<link rel="canonical" href="https://testnethub.com/bitcoin">
<meta name="robots" content="index, follow">
<meta name="referrer" content="no-referrer">
<meta name="theme-color" content="#14161b">
<meta name="author" content="Tech1k">
<meta property="og:type" content="article">
<meta property="og:site_name" content="TestnetHub">
<meta property="og:title" content="Bitcoin testnet guide · TestnetHub">
<meta property="og:description" content="A beginner's guide to the Bitcoin test networks: testnet3, testnet4, and signet. Get free tBTC, understand addresses and confirmations, and build safely.">
<meta property="og:url" content="https://testnethub.com/bitcoin">
<meta property="og:image" content="https://testnethub.com/assets/og.png?v=2">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:image:alt" content="TestnetHub: learn crypto with fake coins and real protocols">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Bitcoin testnet guide · TestnetHub">
<meta name="twitter:description" content="A beginner's guide to the Bitcoin test networks: testnet3, testnet4, and signet. Get free tBTC, understand addresses and confirmations, and build safely.">
<meta name="twitter:image" content="https://testnethub.com/assets/og.png?v=2">
<link rel="icon" href="/favicon.svg" type="image/svg+xml">
<link rel="apple-touch-icon" href="/assets/icon-192.png">
<link rel="manifest" href="/manifest.webmanifest">
<meta http-equiv="Content-Security-Policy" content="default-src 'none'; script-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; font-src 'self'; connect-src 'self'; manifest-src 'self'; object-src 'none'; base-uri 'none'; form-action 'none'">
<script src="/assets/theme-init.js?v=1"></script>
<link rel="stylesheet" href="/assets/style.css?v=5">
<script type="application/ld+json">{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://testnethub.com/#org","name":"TestnetHub","url":"https://testnethub.com/","logo":"https://testnethub.com/favicon.svg"},{"@type":"WebSite","@id":"https://testnethub.com/#website","name":"TestnetHub","url":"https://testnethub.com/","publisher":{"@id":"https://testnethub.com/#org"},"description":"Learn the Bitcoin, Litecoin, and Monero testnets with free coins and real protocols."}]}</script>
<script type="application/ld+json">{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://testnethub.com/"},{"@type":"ListItem","position":2,"name":"Guides","item":"https://testnethub.com/guides"},{"@type":"ListItem","position":3,"name":"Bitcoin testnet","item":"https://testnethub.com/bitcoin"}]}</script>
<script type="application/ld+json">{"@context":"https://schema.org","@type":"TechArticle","headline":"Bitcoin testnet","description":"A beginner's guide to the Bitcoin test networks: testnet3, testnet4, and signet. Get free tBTC, understand addresses and confirmations, and build safely.","inLanguage":"en","isPartOf":{"@id":"https://testnethub.com/#website"},"publisher":{"@id":"https://testnethub.com/#org"},"author":{"@id":"https://testnethub.com/#org"},"dateModified":"2026-08-07","mainEntityOfPage":"https://testnethub.com/bitcoin"}</script>
</head>
<body>
<a class="skip-link" href="#main">Skip to content</a>
<span id="copy-status" role="status" class="visually-hidden"></span>
<nav class="navbar">
<a href="/" class="brand" aria-label="TestnetHub home">
<svg class="brand-logo" viewBox="0 0 64 64" width="26" height="26" aria-hidden="true"><rect class="mark-bg" width="64" height="64" rx="14"/><g stroke="currentColor" stroke-width="3.4" stroke-linecap="round"><line x1="32" y1="32" x2="19" y2="19"/><line x1="32" y1="32" x2="45" y2="19"/><line x1="32" y1="32" x2="19" y2="45"/><line x1="32" y1="32" x2="45" y2="45"/></g><g fill="currentColor"><circle cx="19" cy="19" r="5"/><circle cx="45" cy="19" r="5"/><circle cx="19" cy="45" r="5"/><circle cx="45" cy="45" r="5"/><circle cx="32" cy="32" r="6.5"/></g></svg>
<span class="brand-name">Testnet<b>Hub</b></span>
</a>
<input type="checkbox" class="menu-toggle" id="menu-toggle" aria-label="Open the navigation menu" aria-controls="nav-links">
<label for="menu-toggle" class="hamburger"><div></div><div></div><div></div></label>
<div class="nav-links" id="nav-links">
<a href="/">Home</a>
<a href="/testnets">Testnets</a>
<a href="/guides">Guides</a>
<a href="/tools">Tools</a>
<a href="/status">Status</a>
<a href="/donate">Donate</a>
<button class="theme-toggle" id="theme-toggle" type="button" aria-label="Toggle light / dark theme" title="Toggle theme"><svg class="ico ico-sun" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><circle cx="12" cy="12" r="5"/><line x1="12" y1="1" x2="12" y2="3"/><line x1="12" y1="21" x2="12" y2="23"/><line x1="4.22" y1="4.22" x2="5.64" y2="5.64"/><line x1="18.36" y1="18.36" x2="19.78" y2="19.78"/><line x1="1" y1="12" x2="3" y2="12"/><line x1="21" y1="12" x2="23" y2="12"/><line x1="4.22" y1="19.78" x2="5.64" y2="18.36"/><line x1="18.36" y1="5.64" x2="19.78" y2="4.22"/></svg><svg class="ico ico-moon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"/></svg></button>
</div>
</nav>
<main id="main" class="filled" tabindex="-1">
<p class="crumb"><a href="/guides">Guides</a> / Bitcoin testnet</p>
<div class="card hero coin" style="--coin: var(--btc)">
<div class="card-body">
<p class="hero-eyebrow"><img class="coin-ico" src="/assets/coins/btc.svg" alt="" width="22" height="22"> Bitcoin testnet</p>
<h1><span class="grad">Bitcoin testnet</span></h1>
<p class="lede">Bitcoin has more than one test network. This guide explains testnet3, testnet4, and signet, how to get free tBTC, and how to read a testnet address.</p>
</div>
</div>
<div class="toc">
<p class="toc-title">On this page</p>
<ul>
<li><a href="#networks">The Bitcoin test networks</a></li>
<li><a href="#get">Get some tBTC</a></li>
<li><a href="#addresses">Addresses</a></li>
<li><a href="#confirmations">Blocks & confirmations</a></li>
<li><a href="#fees">Fees & UTXOs</a></li>
<li><a href="#node">A node & RPC</a></li>
<li><a href="#params">Network parameters</a></li>
</ul>
</div>
<div class="card"><div class="card-body prose">
<h2 id="networks">The Bitcoin test networks <a class="anchor" tabindex="-1" href="#networks" aria-hidden="true">#</a></h2>
<p>Unlike most coins, Bitcoin has several test networks. Pick the one that matches what you're doing:</p>
<div class="table-wrap"><table>
<thead><tr><th scope="col">Network</th><th scope="col">What it's for</th><th scope="col">Coin</th><th scope="col">Stability</th></tr></thead>
<tbody>
<tr><th scope="row"><strong>testnet3</strong></th><td>The long-running public testnet (since 2012). Still widely used, but showing its age.</td><td>tBTC</td><td>Erratic, with a reputation for "block storms" and deep reorgs</td></tr>
<tr><th scope="row"><strong>testnet4</strong></th><td>A fresh public testnet added in Bitcoin Core 28.0 (2024) to replace testnet3's worst quirks.</td><td>tBTC</td><td>Better, though still gets bursts of empty low-difficulty blocks</td></tr>
<tr><th scope="row"><strong>signet</strong></th><td>A testnet whose blocks are signed by a coordinator, so they arrive calmly and predictably. The best choice for building an app.</td><td>tBTC</td><td>Very stable</td></tr>
<tr><th scope="row"><strong>regtest</strong></th><td>A private network on your own machine where you mine blocks on demand. Ideal for automated tests.</td><td>None</td><td>Fully under your control</td></tr>
</tbody>
</table></div>
<div class="callout tip"><p class="co-title">Which should I use?</p><p>If you just want to learn and experiment, <strong>testnet4</strong> or <strong>signet</strong> are the friendliest. testnet3 works too, but don't be surprised when its timing gets weird. That's testnet3 being testnet3, not you doing something wrong.</p></div>
<h2 id="get">Get some tBTC <a class="anchor" tabindex="-1" href="#get" aria-hidden="true">#</a></h2>
<p>There are two easy ways to get test coins, both free:</p>
<ul>
<li><strong>A faucet</strong> is the fastest option. Claim tBTC from <a href="/faucet">CypherFaucet</a>.</li>
<li><strong>Mining</strong> is slower, but you learn more. Point a miner at <a href="/mining">TestnetPool</a>.</li>
</ul>
<p>You'll need a receive address first, so grab one from <a href="/wallet">TestnetWallet</a>.</p>
<h2 id="addresses">Addresses <a class="anchor" tabindex="-1" href="#addresses" aria-hidden="true">#</a></h2>
<p>Testnet addresses look different from mainnet ones, and that's by design: you physically can't send mainnet coins to a testnet address by accident. Across testnet3, testnet4, and signet the formats are the same:</p>
<ul>
<li><strong>Legacy (P2PKH):</strong> start with <code>m</code> or <code>n</code></li>
<li><strong>P2SH:</strong> start with <code>2</code></li>
<li><strong>Native SegWit (bech32):</strong> start with <code>tb1q…</code></li>
<li><strong>Taproot (bech32m):</strong> start with <code>tb1p…</code></li>
</ul>
<p>(Local regtest is the exception: its bech32 addresses use the <code>bcrt1…</code> prefix.)</p>
<h2 id="confirmations">Blocks & confirmations <a class="anchor" tabindex="-1" href="#confirmations" aria-hidden="true">#</a></h2>
<p>Bitcoin targets one block roughly every <strong>10 minutes</strong>, on testnet as on mainnet. In practice testnet timing is much bumpier, and blocks can arrive in a flurry or stall for a while. When your transaction is included in a block it has one confirmation; each block after that adds another. See <a href="/confirmations">how confirmations work</a>.</p>
<h2 id="fees">Fees & UTXOs <a class="anchor" tabindex="-1" href="#fees" aria-hidden="true">#</a></h2>
<p>Testnet transactions still pay <a href="/fees">fees</a> and still follow the <a href="/utxos">UTXO model</a>, but the coins are free, so it costs nothing to see how fee rates change how quickly you confirm.</p>
<h2 id="node">A node & RPC <a class="anchor" tabindex="-1" href="#node" aria-hidden="true">#</a></h2>
<p>You don't need your own node to use testnet, since a <a href="/wallet">wallet</a> and an <a href="/explorer">explorer</a> are enough. But running one is the best way to learn. Bitcoin Core starts on a test network with a flag:</p>
<div class="codeblock"><button class="copybtn code-copy" type="button" data-copy-code aria-label="Copy code to clipboard">Copy</button><pre><code>bitcoind -testnet4 # or -signet, or -testnet (testnet3)
bitcoin-cli -testnet4 getblockchaininfo</code></pre></div>
<p>The walkthrough at <a href="/run-node">run a Litecoin testnet node</a> follows the same pattern. When you do run a node, keep its <a href="/rpc-safety">RPC interface private</a>, and see <a href="/broadcast-raw-tx">broadcasting a raw transaction</a> for the developer path.</p>
</div></div>
<div class="card">
<h2 class="card-header" id="params">Network parameters</h2>
<div class="card-body">
<div class="kv"><span class="k">Coin symbol</span><span class="v">tBTC</span></div>
<div class="kv"><span class="k">Block target</span><span class="v">~10 minutes</span></div>
<div class="kv"><span class="k">testnet3 ports (P2P / RPC)</span><span class="v mono">18333 / 18332</span></div>
<div class="kv"><span class="k">testnet4 ports (P2P / RPC)</span><span class="v mono">48333 / 48332</span></div>
<div class="kv"><span class="k">signet ports (P2P / RPC)</span><span class="v mono">38333 / 38332</span></div>
<div class="kv"><span class="k">regtest ports (P2P / RPC)</span><span class="v mono">18444 / 18443</span></div>
</div>
</div>
<div class="warnbox">
<span class="wb-ico" aria-hidden="true">⚠️</span>
<div class="wb-body">
<h3>Testnet coins are fake money</h3>
<ul>
<li>tBTC has no market value, so never buy or sell it. ("tBTC" is also the name of an unrelated token elsewhere; here it just means testnet BTC.)</li>
<li>Never use a real seed phrase or import a real wallet on testnet.</li>
<li>Never send mainnet BTC to a testnet address.</li>
</ul>
</div>
</div>
<div class="pagenav">
<a href="/testnets"><div class="pn-dir">← Previous</div><div class="pn-t">What is a testnet?</div></a>
<a class="pn-next" href="/litecoin"><div class="pn-dir">Next →</div><div class="pn-t">Litecoin testnet guide</div></a>
</div>
</main>
<footer>
<div class="foot-inner">
<a class="ext" href="https://cypherfaucet.com" target="_blank" rel="noopener">Faucet</a>
<a class="ext" href="https://testnetpool.com" target="_blank" rel="noopener">Pool</a>
<a class="ext" href="https://testnetwallet.net" target="_blank" rel="noopener">Wallet</a>
<a class="ext" href="https://testnetscan.com" target="_blank" rel="noopener">Explorer</a>
<a class="ext" href="https://testnetswap.com" target="_blank" rel="noopener">Swap</a>
<a href="/guides">Guides</a>
<a href="/status">Status</a>
<a href="/donate">Donate</a>
<span class="faint">·</span>
<span>Part of the <a class="ext" href="https://tech1k.com" target="_blank" rel="noopener">Tech1k</a> testnet ecosystem</span>
<span class="faint">·</span>
<a class="ext" href="https://github.com/Tech1k/testnethub.com" target="_blank" rel="noopener">Source</a>
<a class="ext" href="https://github.com/Tech1k/testnethub.com/blob/HEAD/LICENSE" target="_blank" rel="noopener">Code AGPL-3.0</a>
<a class="ext" href="https://github.com/Tech1k/testnethub.com/blob/HEAD/LICENSE-CONTENT" target="_blank" rel="noopener">Content CC-BY-SA-4.0</a>
<span class="faint">· testnet only · coins have no value</span>
</div>
</footer>
<script src="/assets/copy.js?v=2"></script>
</body>
</html>