On ~January 14, the Bitcoin Cash clients will (we expect huge adoption) switch to the new Cash Address address format.
Bech32 is the name of the address format proposed by Core developers (for SegWit addresses,BIP 173. It consists of 32 different characters, and "Bech" sounds like "Base" while keeping the error-correction algorithm "BCH" (or Bitcoin Cash ticker!) in mind. Bitcoin Cash will use a slightly different Bech32 address format, which is called "Cash Address".
Here's how the typical addresses will look like:
-
bitcoincash:qpm2qsznhks23z7629mms6s4cwef74vcwvy22gdx6a
(P2PKH - 1...) -
bitcoincash:pr95sy3j9xwd2ap32xkykttr4cvcu7as4yc93ky28e
(P2SH - 3...) -
P2PKH addresses will start with
q
while P2SH addresses will start withp
. -
Their length will be 54 characters.
-
QR encoding requires it to be uppercase (
BITCONCASH:QP...6A
). It'll be accepted by wallets, as long as it's not mixed-case.
Here is why Bech32 is better than BitPay's or the old one:
-
It uses a very strong checksum which ensure detection of up to 6 errors in an address and 8 in ‘burst’.
-
It encode more compactly in QR codes as it allows the use of the alphanumeric mode.
-
It is much faster to encode and decode than the previous format, which is important for systems having to handle a large number of addresses.
(Quote: deadalnix)
More importantly,
- We don't need to change the address format to prevent people from sending to Cash addresses. Bitcoin Cash is the real Bitcoin, and Bitcoin Cash sent to SegWit addresses can be recovered with the help of BCH miners. We need this format for the advantages.
It doesn't matter who they are. What they've invented matters.
No, no forks are needed. Nothing consensus related. As before, the security isn't reduced, the public key is still hashed.
-
Tell the news websites
-
Tell the Bitcoin Cash wallet developers (You can start with this list)
Specs: https://github.com/Bitcoin-UAHF/spec/blob/master/cashaddr.md
Jan 14 ref: https://lists.linuxfoundation.org/pipermail/bitcoin-ml/2017-November/000472.html
Javascript implementation, please.