Open nuttycom opened 5 months ago
This could be implemented either by extracting the transparent script engine and solver from zcashd
, or by writing a new pure-rust implementation, or by forking from another Rust library that supports the relevant parts of Bitcoin script.
The capability required is to be able to generate witnesses for (almost) arbitrary Zcash scripts. The set of coins to be spent is input to this API.
To inform this, survey how zcashd witness generation for transparent inputs works.