Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [bech32-address]

A checksummed base32 format, "Bech32", and a standard for native segregated witness output addresses using it.

Filter by
Sorted by
Tagged with
0 votes
0 answers
41 views

Is there a way to create a BTC wallet with an unusually nice Bech-32 address?

For example, let's say I want a wallet address that contains only numerical digits, or that contains only letters from the first half of the alphabet. How can I ensure I get such an address?
tell's user avatar
  • 135
0 votes
1 answer
34 views

Why does Electrum's createnewaddress() only return legacy addresses?

Why does Electrum's createnewaddress() (or "Create Request") only return legacy addresses? How do I make it create bech32 addresses?
Geremia's user avatar
  • 4,682
2 votes
2 answers
203 views

Are the characters 0, O, I, l really not allowed in address?

I need to be able to validate BTC addresses. I keep reading how characters 0, O, I, l are not allowed to avoid visual ambiguity. That said, I've run into a couple of address which contain these ...
Pablote's user avatar
  • 123
0 votes
1 answer
52 views

Why doesn't bitcoin use bech32 encoding for transaction_id and block hash?

If I understand correctly, transaction IDs and block digests are typically hex-encoded in the bitcoin ecosystem including bitcoin-core RPC calls, block explorers, etc. Meanwhile, bech32 encoding would ...
user49396's user avatar
  • 245
0 votes
1 answer
78 views

Bitcoin Core for Mac not syncing, can't access private key

Wondering if you can help me guys, I'm new to using bitcoins and recently downloaded Bitcoin Core to my MacBook. I stupidly sent bitcoins to my wallet without realising i had to sync first, but it's ...
miki 02's user avatar
2 votes
1 answer
979 views

I need to get BTC addresses from a 12 word phrase, but I don't understand what to do next

I need an algorithm for translating a 12-word phrase to BTC SegWit bech32 P2WPKH addresses. I wrote a function in Python that returns a seed, but I don't understand what to do next. Here when entering ...
Party P.A.R.T.Y.'s user avatar
2 votes
4 answers
1k views

Why are some bc1 addresses 42 characters and others 62 characters in Base58?

The length of bc1 Bitcoin addresses varies between 42 and 62 characters in Base58 encoding. What causes this difference in character count?
rwysbotf's user avatar
0 votes
1 answer
44 views

Are contrived combinations of address format and segwit version program possible?

I wonder that I'm unable to see how exactly BIP 0341 forbids v1+ segwit from using bech32. Does consensus allow combining v1+ segwit programs with the bech32 format? I could expect v0 segwit was maybe ...
Mercedes's user avatar
  • 814
2 votes
1 answer
192 views

Probability of Generating a Bitcoin Address with Specific Starting and Ending Characters

I've recently come across a situation where scammers are generating (bitcoin) addresses that have the same starting and ending characters. This is concerning as many people, including myself, often ...
Oliver Offing's user avatar
1 vote
3 answers
89 views

How can clients know the destination address for this P2WPKH transaction?

This is the raw hex of a random transaction I picked up on the blockchain: ...
Pedro D.'s user avatar
1 vote
1 answer
86 views

Is there authoritative documentation on how to generate a P2WPKH address?

I Googled and found some BIPs but looking through bitcoincore.org, I could not find documentation on the process to generate a P2WPKH address. Looking through other random articles, I see the process ...
Ash's user avatar
  • 111
2 votes
2 answers
829 views

Get the scriptPubKey from a Taproot address

I have this function that converts a Bitcoin private key as an integer to a public key and an address. def get_seg_v1_from_pkey(imported_key): imported_key_toint = int(imported_key) ...
ChristianOConnor's user avatar
0 votes
1 answer
87 views

How to explore hardened addresses in bitcoin core descriptor wallet

I created an blank descriptor wallet and imported a xprv key. importdescriptors '[{ "desc":"wpkh(tpr..../0h/*h)#td3snsa4", "timestamp":"now", "internal&...
MonKong's user avatar
  • 53
0 votes
1 answer
152 views

When a bc1 address is serialized, how does one deserialize it?

I'm looking into bc1 addresses and I want to verify that the method I've implemented for generating bc1 addresses is correct. While I'm confident that I'm generating correct bc1 addresses I just had a ...
bitcoinluvr6969's user avatar
1 vote
1 answer
514 views

how do I import a private key corresponding to bech32 address to bitcoin-core?

Example address bc1q69wqlexdn250purgskahfj9pg2f3ylg82vgy9m private key (WIF) KyVWvid6fC5WXHrV35ZkxqXgXsYrE9mPxMpusWBFiF771y2AYZrz How can I import this into an existing wallet (Bitcoin-qt)? I tried ...
Jus12's user avatar
  • 1,365
3 votes
1 answer
383 views

Bitcoin Exchange only sends funds to P2PKH and P2SH addresses, but my address is Bech32. What can I do to get that fund into my account?

This is the email that I've received from my exchange: There are three bitcoin address formats currently in use: P2PKH addresses which begin with the number 1. P2SH addresses starting with the ...
Raza's user avatar
  • 131
7 votes
2 answers
319 views

Why doesn't signet use a unique bech32 prefix?

I noticed that signet and testnet both use tb1 addresses. Why doesn't signet use a unique prefix that distinguishes it from testnet?
Casey Rodarmor's user avatar
1 vote
0 answers
297 views

Importing BIP-84 keys to Bitcoin Core or similar?

I generated a mnemonic and keys using the BIP-84 scheme and sent funds to a public address from that scheme over time. I have been using this as a paper wallet, unattached to any wallet software. I ...
bbuck's user avatar
  • 11
1 vote
0 answers
92 views

Is there any way to generate bc1... adresses in command line Electrum?

I can create standard or segwit wallet. But no matter which one I created the only addresses I get is 1.... For example: $ electrum createnewaddress 1FeE4ZGaSM38f6TxKzKMbCNjwbne6oLQPt Is there way to ...
Bob Coleman's user avatar
0 votes
1 answer
94 views

How many unique Taproot addresses (eg pubkeys) are possible?

Given that Taproot (SegWit v1) addresses are basically equivalent to a public key -- does that mean that there are a full 2256 possibilities? Or is the overall number of possible addresses reduced in ...
Jonathan Cross's user avatar
-1 votes
1 answer
227 views

bech32 plus taproot equal bech32m [closed]

need help for one question please ! what can I do with a address bech32 today ? my old address bech32 must be changed level up to bech32m (taproot) ? For find, and see my transactions ? On blockchain ?...
BTCStackEforCarl815's user avatar
1 vote
2 answers
164 views

Is the witness `version` of a bech32 address required to "send spendable funds" to the address?

Let's assume Alice has Bob's bech32 address (BC1QW508D6QEJXTDG4Y5R3ZARVARY0C5XW7KV8F3T4). After decoding the address Alice knows that the address has a witness version of 0 AND 20 bytes of a hash (32 ...
janniks's user avatar
  • 195
0 votes
2 answers
718 views

Bech32 encoded address to scriptPubKey

My goal is to parse a BTC transaction and validate if the transaction was sent to a given BTC address. So I need to transform a BTC address to the scriptPubKey used in the transaction. I got this ...
Niel Deckx's user avatar
0 votes
2 answers
966 views

Bitcoin Bech32 address validation

Bech32 addresses start with bc1 on the main net and tb1 on the test net. I want to know whether a segwit address is valid or not. How can I check that segwit addresses are correctly inserted?
MJay's user avatar
  • 107
0 votes
1 answer
259 views

Actively used bech32(m) address with invalid checksum?

The following address uses witness version 0 and its checksum is the one expected for bech32m addresses. However, the combination of the two is not valid. ...
C-Otto's user avatar
  • 452
2 votes
2 answers
328 views

Can one infer that a bc1 address is multisig?

Studying privacy and security implications of revealing if a bc1 address belongs to a multisig wallet vs a regular wallet. I do notice that multisig bc1 addresses are longer than regular ones… P2WSH (...
sunknudsen's user avatar
1 vote
0 answers
445 views

crypto.com defiwallet sends bitcoin to random segwit address if a bitcoin taproot address is selected after confirmation of the correct address [closed]

UPDATE: Crypto.com acknowledge the bug and refunded the full amount, at the time of writing this update the crypto.com team confirmed that they are working on fixing the bug and the defi wallet will ...
froginspace's user avatar
0 votes
1 answer
92 views

How does Bitcoin Core know about a new address created in a different wallet?

Using importprvkey, I imported all the private keys of an Electrum wallet into a Bitcoin Core wallet (courtesy the electrum2core script; 🎩-tip: somedude). Then, in Electrum, I created a new bech32 ...
Geremia's user avatar
  • 4,682
1 vote
0 answers
419 views

Solution for P2SH non-standard derivation paths

Creating P2SH (Nested Segwit) addresses from an imported BECH32 (Native Segwit) XPUB, when running Bitcoin Core (pre-2020 software) wallet (as watch-only, with private keys disabled) can lead to non-...
DesertTraveller's user avatar
2 votes
0 answers
57 views

Bitcoin core imported wallet

I have a friend that has an issue with his core: He generated a wallet with coldcard, imported in bitcoin core.. received on both bech32 addresses and nested ones. Lost access to that pc and now when ...
zndtoshi's user avatar
  • 153
0 votes
1 answer
333 views

Bitaddress.org gives me legacy address instead of Bech32 address

I have my private key, but when I put it into bitaddress.org, it gives me a legacy address (starting with "1") and not the Bech32 address (starting with "bc1") that I was expecting....
deservestarseed's user avatar
3 votes
1 answer
136 views

Why does SegWit implement new address formats?

I would consider myself quite up-to-par with the concept and in-depth functionalities of SegWit (segregated witness). I just don't understand one key aspect of it; P2SH and bech32 addresses. why on ...
bitcash complex's user avatar
1 vote
1 answer
173 views

Taproot: Multisig Keypath - different bech32 addresses for same keys

I have a keypath (which is a 2-of-2 multisig) and a tweak attached to it, this tweak is responsible for the scriptpath. The scriptpath only has a backup public key (used rarely). Alice + Bob's public ...
ByteFlowr's user avatar
  • 133
0 votes
1 answer
91 views

Keypath spending: Verify destination address across address formats [duplicate]

In a Tapscript Keypath Transaction (there is an unrelated Scriptpath too) I can have outputs to all possible address? (I.e. to P2PKH, P2SH, P2WPKH / P2WSH and P2TR) I have a list of addresses in all ...
ByteFlowr's user avatar
  • 133
1 vote
2 answers
121 views

Do Bech32 transactions map to 1-prefixed-addresses?

I recently installed Bitcoin Core and let it synchronize just to play around with different buttons in the latest version and see if I still understand it. One thing I noticed are the Bech32 addresses,...
d33tah's user avatar
  • 163
25 votes
1 answer
9k views

Is it possible to convert a taproot address into a native segwit address?

A few days ago I requested a BTC withdrawal on Binance, I used a bc1p address and the request went through as usual without any issue or warning. (my first time using taproot address). Binance checked ...
Mario's user avatar
  • 253
0 votes
1 answer
599 views

Witness Version bech32 and P2TR

I don't fully understand the meaning of the witness version byte. I am not sure if I confuse the address format prefix bc1 with the witness version. My understanding: The extra byte reserved for the ...
sibabtcs's user avatar
2 votes
1 answer
1k views

Compute checksum for Bech32 address

The Bitcoin Wiki page for Bech32 addresses explains how one can create a bech32 address from a public key. In step 6 it says- Compute the checksum by using the data from step 5 and the H.R.P (bc for ...
Nissim R's user avatar
  • 123
2 votes
1 answer
564 views

What is the prefix number, in bytes, of a native segwit address?

I've seen lots of tables on which bytes to use as the prefix for types of addresses. For example 0x00 for legacy addresses starting with a 1. But what's the prefix for native segwit 'bc1q'? I've tried ...
Chiru's user avatar
  • 161
1 vote
2 answers
722 views

Are bech32 and base58 the only address formats?

Are bech32 and base58 the only formats that a Bitcoin address can use or is there another?
Anonymous's user avatar
2 votes
1 answer
578 views

Identifying address types using v1+ segwit outputs

Please correct me if i'm wrong: So, with segwit v0 we know that 20 bytes is equal to P2WPKH, and 32 bytes is equal to P2WSH, and thus we can identify the address type by decoding the 31 byte or 43 ...
jurgendonnings2321's user avatar
6 votes
2 answers
750 views

Why are P2WSH addresses larger than P2SH addresses?

One would, perhaps naively, assume that both addresses are hashes of scripts and therefore ought to be the same size.
Bertram Lund's user avatar
2 votes
3 answers
238 views

How hard is it for an exchange to adopt native segwit? Is it not as simple as updating the address regex checker on the front-end?

Just wondering, maybe I'm missing something. Are there changes on the backend needed to be implemented as well? Not as simple as changing the regex validation on the front end?
Dwyte's user avatar
  • 123
0 votes
3 answers
1k views

how do i convert bc1 address to hex? for coinbase transaction

Im trying to create a coinbase transaction so that I can do some mining. I have a bech32 bitcoin address, how do I convert that to hex so that I can include it in the coinbase transaction data? ...
Martin Bradley's user avatar
0 votes
2 answers
210 views

Verifying a P2WSH by hand

To test my understanding of the signing and verifying process i tried to verify some random Bitcoin transactions by hand. Sadly i got stuck with a P2WSH transaction, i choose the following transaction ...
ASP's user avatar
  • 3
4 votes
1 answer
913 views

What problems identified with bech32 addresses have been resolved with the updated bech32m?

What problems identified with bech32 addresses have been resolved with the updated bech32m? I am aware of one problem with the original bech32, namely length extension mutation weakness but I don't ...
Michael Folkson's user avatar
0 votes
1 answer
92 views

How I can delete useless addresses?

In Bitcoin app wallet I created many addresses, which I need to delete. I tried to press, clamp, enter the settings. Nothing helped. Is it possible to remove unnecessary addresses?
TheUkraine Vishnevskiy's user avatar
6 votes
1 answer
885 views

Why did bech32 define a new base32 encoding scheme rather than use an existing one?

There are multiple existing base32 encodings (RFC 3548/4648, z-base-32, Crockford's etc). Why did bech32 define a new one rather than use an existing one?
Michael Folkson's user avatar
4 votes
1 answer
2k views

Can you break down what data is encoded into a bech32 address?

Can you break down what data is encoded into a bech32 address? e.g. bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4 How do bech32 addresses on testnet, regtest, signet compare?
Michael Folkson's user avatar
7 votes
1 answer
2k views

What is the difference between "native segwit" and "bech32"?

People seem to be using "native segwit" and "bech32" interchangeably. Are they really the same thing?
Murch's user avatar
  • 75.7k