Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

Free functions

tagged_hashCreate a tagged hash according to BIP-340 tagged hash specification…
tagged_hash_byte_arrayCreate a tagged hash from byte arrays according to BIP-340 tagged hash specification…
tagged_hash_u256Create a tagged hash from byte arrays according to BIP-340 tagged hash specification…
tweak_public_keyTweak a public key for Taproot according to BIP-341…
lift_x_coordinateLift an x-coordinate to a valid secp256k1 point…
u256_to_32_bytes_beConvert u256 to 32-byte array (big-endian)
create_script_treeCreate a Taproot script tree from a single script…
calculate_merkle_rootCalculate the Merkle root of a script tree…
verify_taproot_signatureVerify a BIP-340 Schnorr signature for Taproot…
create_key_path_outputGenerate a key-path only Taproot output…
create_script_path_outputGenerate a script-path Taproot output…