pub fn create_tapret_script(
protocol_id: [u8; 32],
nonce: u8,
commitment: Hash,
) -> ScriptBufExpand description
Create a Tapret commitment script for testing
ยงArguments
protocol_id- The protocol identifier (32 bytes)nonce- The nonce (1 byte)commitment- The commitment hash (32 bytes)