Skip to content

Commit

Permalink
Update to include newer address types
Browse files Browse the repository at this point in the history
Added bech32 and bech32m address types to reflect the newer SegWit and Taproot addresses.

Co-Authored-By: Reese Russell <reese.russell@ymail.com>
  • Loading branch information
2 people authored and D++ committed Jan 25, 2023
1 parent 15c8203 commit 3114974
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bip-0021.mediawiki
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Elements of the query component may contain characters outside the valid range.
(See also [[#Simpler syntax|a simpler representation of syntax]])

bitcoinurn = "bitcoin:" bitcoinaddress [ "?" bitcoinparams ]
bitcoinaddress = *base58
bitcoinaddress = *base58 / *bech32 / *bech32m
bitcoinparams = bitcoinparam [ "&" bitcoinparams ]
bitcoinparam = [ amountparam / labelparam / messageparam / otherparam / reqparam ]
amountparam = "amount=" *digit [ "." *digit ]
Expand Down

0 comments on commit 3114974

Please sign in to comment.