Skip to content

Commit d9f402e

Browse files
dplusplus1024portlandhodl
authored andcommitted
Update to include newer address types
Added bech32 and bech32m address types to reflect the newer SegWit and Taproot addresses. Co-Authored-By: Reese Russell <[email protected]>
1 parent deae64b commit d9f402e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bip-0021.mediawiki

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Elements of the query component may contain characters outside the valid range.
4040
(See also [[#Simpler syntax|a simpler representation of syntax]])
4141

4242
bitcoinurn = "bitcoin:" bitcoinaddress [ "?" bitcoinparams ]
43-
bitcoinaddress = *base58
43+
bitcoinaddress = *base58 / *bech32 / *bech32m
4444
bitcoinparams = bitcoinparam [ "&" bitcoinparams ]
4545
bitcoinparam = [ amountparam / labelparam / messageparam / otherparam / reqparam ]
4646
amountparam = "amount=" *digit [ "." *digit ]

0 commit comments

Comments
 (0)