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
3
votes
2answers
161 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.
2
votes
3answers
165 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?
0
votes
0answers
12 views

Why does Blockstream.info say “SegWit fee savings: This transaction saved XX% on fees by upgrading to native SegWit-Bech32”? [duplicate]

Why does Blockstream.info have a section, when viewing a transaction such as this one, that says: SegWit fee savings: This transaction saved 22% on fees by upgrading to native SegWit-Bech32 ?
0
votes
2answers
74 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? ...
0
votes
1answer
49 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 ...
2
votes
1answer
148 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 ...
0
votes
1answer
31 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?
3
votes
1answer
116 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?
3
votes
1answer
222 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?
7
votes
1answer
898 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?
8
votes
1answer
1k 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 ...
2
votes
2answers
403 views

What is needed to generate a bech32 address?

So I wrote a vanity address generator in c# with the NBitcoin lib. When I use the private key used to generate the address and input it in Mycelium it outputs a different address. This does not occur ...
1
vote
2answers
301 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-...
-1
votes
1answer
86 views

How to get the raw signature data of a transaction?

With the use of segwit, signature data is no longer part of transaction body and thus can’t be retrieved from block explorers. So is there a Bitcoin rpc method in order to get it directly without ...
1
vote
1answer
480 views

Why is BIP32 root key different for different standards(purposes)?

When generating key on https://iancolemen.com/bip39/, the BIP32 Root Key changes as I change the derivation path tab, e.g. BIP32, BIP44, BIP39 etc. Why is this the case? Isn't BIP32 Root Key the m at ...
1
vote
1answer
84 views

How Many Clients Could Not Send to Bech32 Addresses?

For my client, I have set up a custom BTC payment solution using BTCPay Server. The wallets I have configured in BTCPay Server produce only bech32 (bc1xxx) addresses for payments (cheapest ...
1
vote
1answer
239 views

how to generate bech32/segwit address from pubkey in golang

I am trying to generate bech32/segwit address in golang with the following code: var pubkey *btcec.PubKey address, err := btcutil.NewAddressPubKey(pubkey.SerializeCompressed(), chainParams) if err != ...
4
votes
1answer
2k 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 ...
0
votes
0answers
32 views

Speed of decoding Bech32 addresses

I am trying to understand if Bech32 can be a bottleneck in some specific cases (only Bech32, not Bitcoin itself). What is the hypothetical speed decoding the address back to the streamable format in ...
1
vote
0answers
560 views

Bitcoin address to Hash160 for brainflayer

I took a script to translate the bitcoin address to hash160: http://lenschulwitz.com/b58/base58perl.txt replaced the lines for working with the list from the file: #Sample test taken from https://en....
0
votes
0answers
85 views

Generate p2sh-segwit and address bech32

When I use bitcoin-cli getnewaddress "" "p2sh-segwit" which kind of script is inside And can I convert if in bech32?
3
votes
1answer
68 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. ...
1
vote
1answer
153 views

Why does Bisq claim that my “native segwit” receive addresses are “invalid”?

Every time I'm transferring over the funds from Bisq to Bitcoin Core, I get the error: Invalid address. (Or something along those lines.) Only after generating another receive address in Bitcoin ...
8
votes
4answers
7k 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?
1
vote
1answer
853 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 ...
0
votes
3answers
5k 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
1answer
109 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 ...
0
votes
0answers
96 views

Creating bech32 address on bitcoin core automatically generate another address on lightning network

my lightning network backend is bitcoind. Interesting when I execute getnewaddress label bech32 another bech32 address is automatically generated. I found it because at the lightning network console ...
0
votes
1answer
428 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: "...
10
votes
2answers
464 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 ...
3
votes
1answer
362 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 : ...
7
votes
2answers
590 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 ...
0
votes
0answers
317 views

Mycelium not reading segwit bech32 (bc1) addresses from a private key

I'm trying to import my bitcoin private key into the Mycelium android wallet, but it keeps showing up as the legacy address that starts with 1xxx. I sent some coins to the bc1 address and I verified ...
1
vote
1answer
54 views

For the 3 bitcoin address types, which can send to each other? Can a valid tx be created that spends to an unspendable address?

I'm just getting started with using bech32 addresses instead of legacy addresses, and I'm not familiar with how the legacy vs segwit compatible vs bech32 addresses play with each other. Can I get an ...
1
vote
2answers
327 views

Bitcoin API with bech32 support

Since a while, I have been using the insight-api to view bitcoin transactions. However, recently I have found out that bech32 addresses are not supported. Now I try to fix this issue and I am open ...
0
votes
1answer
34 views

Why tx informations of a specific transfer in BITCOIN protocol will send to many IP addresses?

Recently I send a specific value from a wallet to another wallet and Simultaneously I caputred the related traffics in source and destination. after that, I found that value and it's related address ...
0
votes
2answers
48 views

which is the relationship between ouput adresses and their value in a specific transaction?

Some days ago, I write a program to extract output addresses and its value in tx messages of a sample bitcoin pcap. extracted addresses are all valid and we can find them in block explorers. after ...
0
votes
0answers
272 views

Send to bech32 segwit address from Bitcoin Core 17.1

I have a non-HD wallet in Bitcoin Core v17.1. I have never used SegWit before. I need to send some coins to a bech32 address from bitcoin-qt GUI. The problem is after selecting the specific coin ...
3
votes
1answer
6k 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
1
vote
1answer
139 views

Why do most exchanges still have not implemented segwit bc1 addresses to save block space?

Segwit bech32 bc1 addresses has been out for a good 2 years. Why do most exchanges still refuse to implement such a feature for its users? Exchanges create a bulk of the bitcoin transactions and also ...
1
vote
1answer
221 views

Is Bech32 transaction on blockchain.info size accurate?

I have made a transaction and paid like 120 sat/B, on blockchain it says that I've paid 78.995 sat/B and noticed that transaction size is 191 (bytes) Transaction size supposed to be: 102 (input) + ...
3
votes
2answers
411 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? ...
1
vote
1answer
451 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":"...
0
votes
1answer
103 views

sendtoaddress command doesn't work with bech32 bitcoin core 0.17

I have bitcoin-core 0.17 working on regtest mode and when I try to send to a bech32 testnet address I get invalid address I have set addresstype=bech32 on my bitcoin.conf
11
votes
1answer
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 ...
2
votes
2answers
687 views

Can you send a transaction from non-native segwit to native(bech32) segwit address? [duplicate]

Let's say I have a wallet with a non-native segwit address (prefixed with 3- like multisig). Can I send my utxos from this address to a native segwit (bech32) address?
2
votes
3answers
713 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
1answer
344 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.
13
votes
1answer
620 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?
5
votes
1answer
1k 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.