Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

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
15 views

Creating beck32 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
15 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: "...
5
votes
2answers
177 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 ...
2
votes
1answer
34 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
491 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
47 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
28 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
104 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
31 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
40 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
127 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
76 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
67 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
292 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
147 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
69 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
234 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
360 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
299 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.
11
votes
1answer
516 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?
3
votes
1answer
383 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
179 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
360 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
385 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. ...
0
votes
1answer
1k 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
2answers
735 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
2answers
4k 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
23 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
180 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
487 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
438 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
219 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
564 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
837 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
203 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
371 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
400 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
279 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
166 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" }, "...
3
votes
3answers
2k 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?
1
vote
1answer
720 views

understanding bech32 Addresses / BIP173 question

I try to understand the code from the BIP173. I read the BIP, the links to RFC3548 or z-base-32, the base32 proposal by Mark Friedenbach, and some posts here. Q1: how to interprete script handling? ...
0
votes
1answer
437 views

Can legacy wallets with 1xxx addresses send to segwit 3xxx and bc1xxx addresses like mycellium that only does 1xxx addresses?

I have mycellium for android and currently they dont support any segwit addresses that has 3xxx or bc1xxx. Can I send out from my mycellium 1xxx address to my segwit 3xxx or bc1xxx address that I ...
5
votes
1answer
2k 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 ...
-1
votes
2answers
474 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 ...
1
vote
1answer
290 views

Does Bech32 address format not decrease Bitcoin's possible addresses?

Sorry for my poor English, but as many of us, I have wondered how many Bitcoin addresses are possible. When looking around, I stumbled upon this thread on BitcoinTalk: There are exactly 2^160 ...
3
votes
3answers
3k 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 ...
5
votes
1answer
429 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
1answer
2k views

Which block explorers recognize bech32 addresses?

At this time, blockchain.info doesn't. Neither does blockchair or blockcypher.