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
0answers
18 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
62 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
37 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
47 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. ...
0
votes
1answer
66 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 ...
2
votes
4answers
709 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?
0
votes
1answer
218 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
1k 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
67 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
46 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
95 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: "...
7
votes
2answers
323 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
158 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
526 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
119 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
41 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
210 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
32 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
43 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
205 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 ...
1
vote
1answer
106 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
138 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
333 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
250 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
90 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
10
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 ...
1
vote
1answer
346 views

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

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
519 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
317 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.
12
votes
1answer
563 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?
4
votes
1answer
758 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.
-2
votes
1answer
199 views

How to make segwit transaction and bech32 mandatory

Is it possible to make segwit transactions (and possibly segwit address: Bech32) mandatory in the Bitcoin Core code? In other words, when a transaction is created using the wallet, the transaction ...
4
votes
1answer
658 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 ...
2
votes
2answers
607 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. ...
1
vote
1answer
2k 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: ...
3
votes
1answer
1k 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 ...
6
votes
2answers
6k 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 ...
1
vote
0answers
24 views

How does supporting additional 'Address Chains' impact resource usage for an SPV wallet?

On Reddit I encountered a user claiming that implementing Segwit support for an SPV wallet would require supporting an 'additional address chain', but I'm not sure what exactly that entails. I would ...
8
votes
2answers
2k 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 ...
3
votes
2answers
239 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
1answer
606 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. ...
5
votes
1answer
544 views

What are the standard formats of transaction outputs?

A transaction output can have the type Pay to public key hash, P2PKH, where the ScriptPubKey field has the format: 76 a9 14 <20-byte hash of pubkey> 88 ac Pay to script hash, P2SH, used for e.g. ...
0
votes
2answers
288 views

Using BitcoinJS - How do you verify a message using a segwit bech32 (bc1…) / P2SH (3…) addresses?

I created a signature from a message using my private key. But how do I verify this signed message using my segwit addresses of 3... or bc1...? How do I verify this using the BitcoinJS library?
0
votes
1answer
616 views

How do you output segwit bech32 (bc1…) / P2SH (3…) addresses from a bitcoin private key?

I have a bitcoin private key and know that it can output a segwit addresses of bech32 bc1... and p2sh 3... formats. How can this be done easily?
3
votes
2answers
1k 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?
1
vote
1answer
258 views

Pros / Cons of using the new bc1xxx segwit address vs the 3xxx segwit address?

What are the pros/cons of using the new bc1xxx segwit address vs the 3xxx segwit address?
0
votes
1answer
555 views

Is a P2WPKH address synonymous with a Bech32 address?

BIP142 when encoding a segwit P2WPKH address is using a base58 address format (address p2xtZoXeX5X8BP8JfFhQK2nD3emtjch7UeFm in the example). I understand that BIP142 predates BIP173 but are P2WPKH ...
1
vote
1answer
513 views

Bech32-P2WSH BIP32 derivation path

I know that the deriving path for Bech32 is 84, but what about P2WSH addresses path is it the same? I've been reading https://github.com/bitcoin/bips/blob/master/bip-0173.mediawiki but nothing on ...
0
votes
1answer
295 views

Why is not Bech32 address selected as default in Bitcoin Core 0.16.0?

So, thankfully Bitcoin Core 0.16.0 came to us, general people. But however, native segwit address Bech32 wasn't selected as default. Is not it better to use a Bech32 address right away rather than ...
0
votes
2answers
192 views

Failed to import Bech32 SegWit addresses using importmulti Bitcoin-Core 0.16.0rc3

I was trying to import Bech32 addresses using importmulti on Bitcoin Core 0.16.0rc3. [ { "scriptPubKey" : { "address": "tb1qkzq7kgx7rk45na3d3vt6vrqftfczq6ryn9zq0d" }, "...