Questions tagged [bech32-address]
A checksummed base32 format, "Bech32", and a standard for native segregated witness output addresses using it.
114
questions
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 ...
17
votes
2
answers
9k
views
How do bech32 addresses compare to P2SH addresses in transaction size?
Bech32 (starts with bc1) and P2SH (starts with 3) can both be used for segwit transactions. I know bech32 is supposed to create smaller transactions, but I'd like to know how much smaller (than P2SH). ...
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?
14
votes
1
answer
764
views
Will a Schnorr soft-fork introduce a new address format (i.e. not bech32)
When we (hopefully) soft-fork to Schnorr signatures will the address be indistinguishable from bech32 addresses?
12
votes
2
answers
8k
views
Bech32 conversion to legacy P2PKH?
Electrum now generates Bech32 addresses for SegWit wallets.
Example: bc1qnntcclssmtuvfw2te7q49lzvw67cfvpzxger4j
Pubkey: 023f1b3421c6ae0c1758834d40806c2418194b507be261fa343a0636653f3ec75b
If I ...
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 ...
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 ...
11
votes
1
answer
4k
views
Why does Taproot require a new address format?
Dawid Ciężarkiewicz asked on Twitter:
Hey #bitcoin ers. I'm trying to figure out why taproot needs a new
address format, as I missed it. If you have a good link or something -
please share. I thought ...
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 ...
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 ...
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 ...
7
votes
2
answers
246
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?
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?
7
votes
2
answers
779
views
Most efficient way to store Segwit Address in a database
This is not a duplicate of What is the most efficient way to store bitcoin addresses in a database? but it's the same question except I need a segwit answer.
Let's say I wanted to store every ...
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?
7
votes
1
answer
2k
views
In simple terms, what are the major differences between P2WPKH and P2WSH bech32 addresses?
I've read over the bip173, bip141, and bip143 specifications and they're a bit too technical to get at the simple answers I'm looking for.
6
votes
1
answer
883
views
Can I mix P2PKH and P2WPKH inputs in the same transaction?
I'm trying to increase my knowledge of bech32 and SegWit and to that end am working my way through this explanation.
Here's a hypothetical situation I'm trying to understand. Let's say Jamal has ...
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 ...
6
votes
1
answer
2k
views
Which block explorers recognize bech32 addresses?
At this time, blockchain.info doesn't. Neither does blockchair or blockcypher.
5
votes
3
answers
5k
views
Why bech32 address always starts with bc1q?
I understand that it starts bc1.
But 'q' is not what I understand. Can someone explain to me?
5
votes
2
answers
600
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.
5
votes
1
answer
2k
views
How do I Derive Bech32 Address from P2WPKH Output Script?
I am building a small script to decode the raw coinbase transaction data into a human-readable viewer without external scripts to better my understanding around the subject.
I've noticed that there ...
5
votes
1
answer
1k
views
bech32 addresses beginning with "bcrt..." on regtest
I'm playing around with regtest and wanted to generate a bech32 address. My Bitcoin Core version is 0.18.0.
I ran getnewaddress "" bech32 and got an address that began with bcrt, like this one : ...
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?
5
votes
1
answer
588
views
Are Bech32 addresses safe for mainnet usage?
According to github bitcoin/bips, BIP-173 is still a draft. And i saw today that Electrum wallet start using it.
Is this means that the specs for BIP-173 won't change in the future ? or the final ...
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 ...
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?
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 ...
4
votes
1
answer
335
views
Why can't bech32 addresses be mixed case?
I know that they cannot be mixed case due to their BIP but what was the intention behind this idea and would it be problematical to convert a mixed case bech32 address to a lower/upper case bech32 ...
4
votes
2
answers
2k
views
Is there a paper wallet generator for the new bech32 bc1xxx segwit address?
Is there a paper wallet generator like bitaddress.org for the new bech32 bc1xxx segwit addresses?
3
votes
3
answers
12k
views
Convert bech32 Bitcoin address to legacy
I know that similar tools exist for BCH (e.g. https://cashaddr.bitcoincash.org/). Is there a way to convert a native segwit bech32 Bitcoin address to a legacy format?
3
votes
2
answers
600
views
Would it be possible to dictate a bech32 address as a list of English words?
One of the reason for bech32 address is: "it'easier to dictate it over the phone".
Is there an algorithm to convert a bech32 address into a list of English words that would make it even easier?
...
3
votes
2
answers
2k
views
Is there an address format for P2WPKH or P2WSH?
Is there an address format for P2WPKH or P2WSH? If P2WPKH uses the same address format as P2PKH, how does a wallet know which one to use?
3
votes
2
answers
2k
views
How to use python reference for encoding a bech32 address?
Could someone provide an example of how to use the python reference implementation for generating a bech32 address?
For example, generating a mainnet bech32 address for this scriptPubKey: "...
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 ...
3
votes
1
answer
10k
views
What to do when a website says that my bc1... address is invalid?
I used local Bitcoins wallet to send bitcoin to my bitcoin wallet. But it said wrong address
3
votes
1
answer
765
views
Does the Bech32 address format decrease Bitcoin's possible address count?
I have wondered how many Bitcoin addresses are possible. When looking around, I stumbled upon this thread on BitcoinTalk:
There are exactly 2^160 possible addresses as long as we keep using
RIPE-...
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 ...
3
votes
1
answer
145
views
Checksum P2WSH failed
My goal is replicate the same P2WSH of https://en.bitcoin.it/wiki/BIP_0173
tb1qrp33g0q5c5txsp9arysrx4k6zdkfs4nce4xj0gdcccefvpysxf3q0sl5k7
I'm able to generate the "first" part before checksum.
...
3
votes
2
answers
364
views
How is Bech32 based on BCH codes?
The Bech32 BIP declares that Bech32 is "based on BCH codes". But if you look at the wikipedia page on BCH codes, you see a lot of mathematical equations, but none of those equations seems to be ...
2
votes
3
answers
1k
views
Why does the decode function of the segwit bech32 encoder/decoder take a hrp (human readable part) as input?
Looking at the code referenced in bip-0173, specifically for example here:
https://github.com/sipa/bech32/blob/master/ref/javascript/segwit_addr.js
function decode (hrp, addr) {
var dec = ...
2
votes
2
answers
2k
views
Which wallet libraries officially intend to use Bech32 addresses, and will the addresses generated by them be compatible?
I use several bitcoin wallets, and I would like to try Bech32 addresses when they come out.
I initially thought to make a GitHub issue for Greenbits, but it seemed more appropriate to just ask such a ...
2
votes
2
answers
1k
views
Constructing a P2WSH address from the BIP173 spec
The BIP173 specification defines how to create Bech32 Segwit native addresses.
In the examples section a public key is given: 0279BE667EF9DCBBAC55A06295CE870B07029BFCDB2DCE28D959F2815B16F81798.
...
2
votes
3
answers
216
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?
2
votes
1
answer
381
views
Are "1" , "3" and "Bech" Addresses (BTC) forward and backward compatible?
Wondering if lets say someone has funds in Bech32 and they send to a "1" or "3" address due to less characters to remember ect.
2
votes
2
answers
174
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 (...
2
votes
1
answer
637
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 ...
2
votes
1
answer
464
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 ...
2
votes
1
answer
519
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 ...
2
votes
1
answer
6k
views
Litecoin address starting with ltc
my litecoin wallet (shared 2 of 2) on electrum-ltc generated an address to receive LTC. I transfered some LTC to that address and tried to check in block explorer. Unfortunately got such message:
...