[BIFROST]: Enable Taproot Observations
Context
TC does not support taproot, but it now can !3669 (merged)
Observations
https://gitlab.com/thorchain/thornode/-/blob/develop/common/address.go?ref_type=heads#L54
Calls this:
func DecodeAddress(addr string, defaultNet *chaincfg.Params) (Address, error)
which calls this
case 32:
if witnessVer == 1 {
return newAddressTaproot(hrp, witnessProg)
}
Signing
Allow spending to TR https://gitlab.com/thorchain/thornode/-/blob/develop/bifrost/pkg/chainclients/utxo/signer.go?ref_type=heads#L95
References
Taproot MR on BTCSuite: https://github.com/btcsuite/btcutil/pull/205
https://pkg.go.dev/github.com/btcsuite/btcd/txscript#PayToAddrScript