Questions tagged [bip350-bech32m]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3 votes
1 answer
107 views

How do we create funny segwit v1 taproot bech32m addresses?

Look at what this user has broadcasted, destination addresses are interesting: bc1pjjjkkkklllllmmmmmmnnnnnnnpppppppqqqqqqqqqrrrrrrrrraq663x0t ...
Mercedes's user avatar
  • 795
0 votes
1 answer
42 views

Are contrived combinations of address format and segwit version program possible?

I wonder that I'm unable to see how exactly BIP 0341 forbids v1+ segwit from using bech32. Does consensus allow combining v1+ segwit programs with the bech32 format? I could expect v0 segwit was maybe ...
Mercedes's user avatar
  • 795
2 votes
1 answer
239 views

What does the “m” in bech32m stand for?

I’ve looked at the mailing list, the BIP, commits that implement BIP350, the author’s twitter posts, and here on Stack Exchange, but couldn’t find an answer. Has it ever been publicly established what ...
Murch's user avatar
  • 72.8k
2 votes
2 answers
331 views

Get the scriptPubKey from a Taproot address

I have this function that converts a Bitcoin private key as an integer to a public key and an address. def get_seg_v1_from_pkey(imported_key): imported_key_toint = int(imported_key) ...
ChristianOConnor's user avatar
1 vote
0 answers
80 views

I get a not a P2TR scriptPubKey error when trying to generate a bech32m taproot compliant P2TR address with python

I have the following script that is supposed to derive a taproot P2TR address: from bitcointx import set_custom_secp256k1_path set_custom_secp256k1_path('./bitcointx_secp256k1_here/libsecp256k1.2....
ChristianOConnor's user avatar
0 votes
1 answer
103 views

When a bc1 address is serialized, how does one deserialize it?

I'm looking into bc1 addresses and I want to verify that the method I've implemented for generating bc1 addresses is correct. While I'm confident that I'm generating correct bc1 addresses I just had a ...
bitcoinluvr6969's user avatar
-1 votes
1 answer
205 views

bech32 plus taproot equal bech32m [closed]

need help for one question please ! what can I do with a address bech32 today ? my old address bech32 must be changed level up to bech32m (taproot) ? For find, and see my transactions ? On blockchain ?...
BTCStackEforCarl815's user avatar
0 votes
1 answer
165 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. ...
C-Otto's user avatar
  • 375
2 votes
1 answer
188 views

Can you derive the witness program from a taproot address?

Say I have a taproot address with a valid scriptpath (along with the mandatory keypath). Is it possible to derive the witness program (schnorr signature of the taproot key) from the address?
arshbot's user avatar
  • 1,720
4 votes
0 answers
405 views

P2TR bech32m mismatch

When attempting to create a p2tr address using the private key 0x0000...01 I get, bc1pmfr3p9j00pfxjh0zmgp99y8zftmd3s5pmedqhyptwy6lm87hf5sspknck9 which does not match the provided test vectors provided ...
m1xolyd1an's user avatar
  • 5,596
6 votes
1 answer
2k views

How can I create P2TR addresses with Bitcoin Core 22.0?

I'm trying to test P2TR with Bitcoin Core, and I don't know how to get taproot addresses. How should I create them using 22.0?
Gustavo Chaín's user avatar
3 votes
1 answer
340 views

Tests for Pay To Taproot addresses?

I am having trouble finding examples showing a known WIF to a valid mainnet P2TR address. I am working on a tool and want to see if my P2TR conversions/encodings are outputting the correct P2TR ...
m1xolyd1an's user avatar
  • 5,596
1 vote
1 answer
47 views

Does two witness addresses with same witnessProgram but with different witness version has the same owner

With BIP 350 a new version of witness is introduced. Take these two address from the mainnet: bc1pmfr3p9j00pfxjh0zmgp99y8zftmd3s5pmedqhyptwy6lm87hf5sspknck9 and ...
MrSuperluigis's user avatar
2 votes
1 answer
529 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 ...
Chiru's user avatar
  • 141
2 votes
1 answer
550 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 ...
jurgendonnings2321's user avatar
4 votes
1 answer
773 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 ...
Michael Folkson's user avatar
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?
Murch's user avatar
  • 72.8k
3 votes
2 answers
3k 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: "...
Darius's user avatar
  • 779
11 votes
2 answers
931 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 ...
jnewbery's user avatar
  • 1,060
14 votes
1 answer
769 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?
Bertram Lund's user avatar
4 votes
2 answers
3k 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 sender's wallet know which one to use?
Nick ODell's user avatar
  • 29.3k