TaprootTweak

sealed class TaprootTweak : Crypto.SchnorrTweak

Types

Link copied to clipboard
object NoScriptTweak : Crypto.TaprootTweak

private key is tweaked with H_TapTweak(public key) (this is used for key path spending when no scripts are present)

Link copied to clipboard
data class ScriptTweak(val merkleRoot: ByteVector32) : Crypto.TaprootTweak

private key is tweaked with H_TapTweak(public key || merkle_root) (this is used for key path spending, with specific Merkle root of the script tree).

Inheritors

Link copied to clipboard
Link copied to clipboard