Module ergo_lib::wallet::multi_sig

source ·
Expand description

multi sig prove crate::chain::ergo_state_context::ErgoStateContext;

Structs

Functions

  • A method which is extracting partial proofs of secret knowledge for particular secrets with their respective public images given. Useful for distributed signature applications. See DistributedSigSpecification for examples of usage.
  • Extracting hints from a transaction and outputs it’s corresponding TransactionHintsBag
  • A method which is generating commitments to randomness. A commitment is about a first step of a zero-knowledge proof-of-knowledge knowledge protocol. the commitments are generated for every input box of transaction and return as TransactionHintsBag. generated commitments corresponds to public_keys that prepared in function input
  • Generating commitment for ergo-tree that is reduced to crypto corresponds to an input box and with public key that prepared in input as generate_for