Skip to main content

Module p2pkh_signature

Module p2pkh_signature 

Source

Functionsยง

addr_bytes_to_le_words
Convert 20-byte address payload into five little-endian u32 words (circuit witness layout).
build_p2pkh_circuit
Builds a circuit that proves knowledge of a Bitcoin private key corresponding to a P2PKH address.
compress_pubkey
Compresses a secp256k1 public key from uncompressed (x, y) format to compressed format.