Questions tagged [bech32-address]
A checksummed base32 format, "Bech32", and a standard for native segregated witness output addresses using it.
102
questions
0
votes
1
answer
26
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.
...
2
votes
2
answers
71
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 (...
1
vote
0
answers
361
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 ...
0
votes
1
answer
44
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 ...
1
vote
0
answers
45
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-...
2
votes
0
answers
37
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 ...
0
votes
1
answer
95
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....
2
votes
1
answer
78
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 ...
1
vote
1
answer
89
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 ...
0
votes
1
answer
42
views
Keypath spending: Verify destination address across address formats
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 ...
1
vote
2
answers
66
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,...
21
votes
1
answer
6k
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 ...
0
votes
1
answer
146
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 ...
0
votes
0
answers
17
views
How to generate a 62 character bc1 address [duplicate]
I know bech32 addresses can have 42 or 62 characters. How can I generate a 62 character address? I couldn't find the option in Bitcoin Core.
1
vote
1
answer
320
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
356
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
428
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 ...
5
votes
2
answers
439
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
3
answers
202
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
2
answers
731
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
1
answer
95
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 ...
3
votes
1
answer
544
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
1
answer
54
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?
4
votes
1
answer
448
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?
4
votes
1
answer
779
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
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?
9
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 ...
2
votes
2
answers
1k
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
2
answers
690
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
1
answer
284
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
1
answer
1k
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
1
answer
138
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
1
answer
703
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
1
answer
3k
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 ...
1
vote
0
answers
974
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
0
answers
159
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
1
answer
129
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
2
answers
228
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 ...
14
votes
4
answers
15k
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?
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 ...
2
votes
3
answers
10k
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?
4
votes
1
answer
270
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
0
answers
173
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 ...
3
votes
2
answers
1k
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: "...
11
votes
2
answers
761
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 ...
4
votes
1
answer
951
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
2
answers
717
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
0
answers
563
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
1
answer
73
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
2
answers
370
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 ...