Skip to main content

Crate causeway_zec

Crate causeway_zec 

Source
Expand description

Causeway off-chain helpers for Zcash transparent assets.

  • address — t-address derivation (Causeway tweak + hash160 + Base58Check)
  • tx — build an unsigned v5 transparent tx + ZIP-244 v5 sighash
  • sign — splice DER signature + pubkey into the scriptSig

Modules§

address
Zcash transparent address derivation: Causeway tweak → HASH160 (RIPEMD160 ∘ SHA256) → Base58Check with network prefix.
sign
Splice a <DER+SIGHASH_ALL> <push 33 pubkey> scriptSig into the canonical-empty scriptSig slot of an unsigned v5 tx, producing a fully signed v5 transparent transaction ready for broadcast.
tx
v5 transparent unsigned-tx encoding + ZIP-244 sighash.

Enums§

ZecError