Wallet SSC: 0.00000000 / $0
Bech32/Bech32m Calculator - Generate & Validate P2WPKH, P2WSH, P2TR Addresses Taproot Browser | SecretScan.org

Generator Bitcoin, Litecoin SegWit Bech32/Bech32m
(p2wpkh, p2wsh, p2tr) address

Universal generators step by step, validator Bitcoin segwit bech32 address and
Taproot Address Generator for Browser

0
Private key Hex (64 characters [0-9A-F]) Convertor hex <-> wif
Prefix    Coin / Symbol
1
Compressed public key (0x02 or 0x03 followed by 32 byte X coordinate)

SegWit Bech32 p2wpkh address

3
SHA256(Public key)
64
4
RIPEMD160(step 3)
5
5 bits binary on the result of the step 4
6
Array dec = 'data' on the result of the step 5
64
7
Converts this to an array of 5-bit unsigned integers (base 2^5=32)
8
Add the witness version byte (00) current version is 0.
66
9
Checksum step 6 and the H.R.P (hrp = 'bc' or 'ltc', step 6)
10
Step 8 and step 9
78
11
Map each value to its corresponding character in Bech32Chars
12
Address encoded (p2wpkh): HRP + Separator + Data

SegWit p2wsh & p2tr Taproot address

3
0x21 (33 bytes) & Compressed public key & OP_CHECKSIG
4
redeemScript (1-of-1): SHA256(step 3)
5
5 bits binary on the result of the step 4
260
6
Array dec = 'data' on the result of the step 5
106
7
Compute the checksum by using the data from step 5 and the H.R.P
12
Checksum dec
12
8
Append the checksum to result of step 6 (we now have an array of 5-bit integers)
118
9
Map each value to its corresponding character in Bech32Chars 00 -> q, 03 -> r,...
10
Address encoded (p2wsh)
Taproot type starting with bc1p

Note:

Import Address Bitcoin SegWit (type P2WSH Bech32) to Electrum Wallet console: importprivkey('p2wpkh:Your_Private_key_WIF')
Our website uses cookies (ie. Cookies) for statistical, advertising and functional. Thanks to them, we can customize the site to your needs. Anyone can accept cookies, or has the ability to disable them in your browser, so you will not collect any information.
Got it