ruigomeseu / bitcoin-address-validation

Validate Bitcoin addresses - P2WSH, P2WPKH, P2PKH, P2SH and P2TR
MIT License
124 stars 39 forks source link

Add support for Taproot address format #17

Closed tantecky closed 2 years ago

tantecky commented 2 years ago

Taproot addresses start with bc1p, tb1p, or bcrt1p and have witness version 1. bech32m decoder has to be use instead of bech32.

ruigomeseu commented 2 years ago

Awesome, thank you for this @tantecky 🥕