Author

Topic: How to construct transactions starting with bech32 addresses? (Read 188 times)

newbie
Activity: 3
Merit: 0
Thanks for the reply bro but I just wanted to know how to create op_return transaction with bech32 addresses.
sr. member
Activity: 322
Merit: 363
39twH4PSYgDSzU7sLnRoDfthR6gWYrrPoD
Today I was just browsing coinsecrets.org and I came up with these
https://blockchain.info/tx/82545e2be329109eabf4ebf93362e20f88beb0b29f14f7657fde3f95091bf6a2
In these transaction I saw addresses starting with'bc1q' these type of transaction is strange to me . will anyone teach me how do I create these type of transactions step by step?
Those a Bech32 segwit addresses defined in BIP 173 by Peter Wuille
https://github.com/bitcoin/bips/blob/master/bip-0173.mediawiki

With bc1 addresses your transactions are 38% smaller than that of legacy transactions of the same input/output.
Eg for 1 input and 2 outputs, a legacy (address starts with 1) transaction is 226 bytes, but a Bech32 transaction is just 141vbytes.

Right now only Electrum supports the creation of wallets with this address type (select "native segwit" when you're setting up)
Also, it's not backwards compatible, meaning wallets without segwit support won't be able to send funds to this type of address.
newbie
Activity: 3
Merit: 0
Today I was just browsing coinsecrets.org and I came up with these
https://blockchain.info/tx/82545e2be329109eabf4ebf93362e20f88beb0b29f14f7657fde3f95091bf6a2
In these transaction I saw addresses starting with'bc1q' these type of transaction is strange to me . will anyone teach me how do I create these type of transactions step by step?
Jump to: