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
4 votes
1 answer
1k 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
12 votes
1 answer
6k views

How to create a Bech32 address from a public key?

What are the steps to create a Bech32 address from an ECDSA public key? Bitcoin wiki has a nice step-by-step guide to create an address from a public key but what about Bech32 addresses? I've read ...
Mike D's user avatar
  • 3,434
7 votes
2 answers
2k views

How do transaction costs compare between Bech32 addresses and legacy Bitcoin addresses?

Now that Electrum 3 supports Bech32 addresses for segwit, when sending coins to a legacy address are fees higher or cheaper?
Patoshi パトシ's user avatar
15 votes
4 answers
17k views

Are all three Bitcoin address types interoperable (legacy, segwit, native segwit)?

is it possible to send transactions back and forth between all 3 address types (legacy, segwit, native segwit-bech32)? Or is one of them not able to send to another?
johnsmiththelird's user avatar
11 votes
2 answers
871 views

How does the bech32 length-extension mutation weakness work?

A bech32 address ending with p can be modified be inserting or removing q characters immediately before the final p character to make a new valid bech32 address. Why does this work? Are there any ...
jnewbery's user avatar
  • 1,000
6 votes
1 answer
2k views

How is Public Key extracted from (message, digital signature, address)

I'm under the impression that a public key is revealed when you sign a message. Given these 3 inputs. P2PKH Address, Digital Signature, Message. Is the public key exposed? If so, how do you extract ...
Michael Tidwell's user avatar
3 votes
1 answer
690 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
1 vote
1 answer
1k views

Witness program hash mismatch while signing bech32 transaction

I'm trying to sign a transaction using signrawtransactionwithkey on bitcoin-core 0.17 but I'm getting the following error: {"ERROR":"[{"txid":"...
Adam's user avatar
  • 3,619
22 votes
1 answer
7k 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
  • 223
11 votes
1 answer
2k views

Bitcoin automatically diverted to bech32 address

I sent bitcoin to an address starting 3Cn using Electrum but the blockchain viewers seem to show that it has gone to an address beginning bc1 as shown in the link below. Transaction Viewer How can ...
S.Brown's user avatar
  • 125
9 votes
2 answers
3k views

What the difference between old segwit (3) and new segwit address (bc)?

i'm not that kind of person who understands cryptography and math, can you tell me simply the main purpose of new segwit address? are transactions fee the same for new segwit (bc1)? instead of "Old ...
JackSmith's user avatar
  • 103
8 votes
3 answers
7k views

Benefits of Bech32 addresses?

In Bitcoin core, when generating a new address for receiving a payment, you get this dialogue: There is a tick-box for "Generate Bech32 address". I understand that this is a relatively new feature ...
RedGrittyBrick's user avatar
5 votes
1 answer
647 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
4k views

Are Bitcoin addresses case sensitive?

I sent $20 to my wallet ex. bc1qa4dk0fqvw7jfpvzgy9xpf7572kv9env9y748ct. But instead I sent it to that address in all caps. I haven't received the money and it's been 3 hours. Are BTC addresses cap ...
Adam Mitchell's user avatar
4 votes
1 answer
2k views

How to generate legacy receiving address in Bitcoin core 0.19.x.x

I must have missed the memo. I see Bitcoin Core 19.1.0.1 defaults to generating Bech32 receive addresses (prefixed with "bc1"), and offers a checkmark to generate P2SH addresses instead (prefixed ...
rkagerer's user avatar
  • 163
3 votes
3 answers
4k views

Cashaddr (bech32) to legacy address format convertor for Bitcoin Cash

Several days ago our bitcoin cash core wallet started to generate addresses using the new format: bitcoincash:q...... . That's nice and differs from the bitcoin blockchain generated addresses, but ...
0x49D1's user avatar
  • 207
2 votes
1 answer
863 views

How to generate a P2WSH address

getnewaddress "" bech32 generates a P2WPKH address (e.g. tb1qw508d6qejxtdg4y5r3zarvary0c5xw7kxpjzsx). How can I generate a P2WSH address (e.g. ...
toddmo's user avatar
  • 774
1 vote
2 answers
860 views

Can a single wallet generate (and use) both SegWit and non-SegWit addresses?

Is a Segwit wallet able to generate and use non-Segwit addresses? I'm using Bitpay's Bitcore to create wallets and generate new addresses for the users of my platform. I'm also using Bitcore-wallet-...
Daniel Portugal's user avatar
1 vote
1 answer
808 views

bech32 addresses for segwit support in mycellium and coinomi?

Does mycellium and coinomi for android support bech32 addresses for segwit? If they don't would it throw an error if you tried to send it there?
Patoshi パトシ's user avatar
-1 votes
2 answers
1k views

How do I sweep funds from my bc1 bech32 segwit address I generated from a paper wallet?

Is there a easy tutorial on how to sweep a bc1 segwit address? I know electrum can sweep private keys, but has anyone ever really tried it and wrote a tutorial on it? I'm afraid of sending some ...
Patoshi パトシ's user avatar