forex.pm forex forum binary options trade

 Сryptocurrency exchanges => Binance - Сryptocurrency exchanges => Topic started by: Bitcoin on Mar 25, 2022, 06:27 am

Title: Keypath spending: Verify destination address across address formats
Post by: Bitcoin on Mar 25, 2022, 06:27 am
Keypath spending: Verify destination address across address formats

In a Tapscript Keypath Transaction (there is an unrelated Scriptpath too) I can have outputs to all possible address?


(I.e. to P2PKH, P2SH, P2WPKH / P2WSH and P2TR)


I have a list of addresses in all possible formats (including bech32(m)). How can I ensure / verify that the scriptPubKey is mappable to an address in this list?


The signing client has access to every part of transaction's construction.


Source: Keypath spending: Verify destination address across address formats (https://bitcoin.stackexchange.com/questions/112991/keypath-spending-verify-destination-address-across-address-formats)