This PR implements reduceTransactionInput, signReducedInput and generateCommitments in SigmaProver for both JVM and JS to support signing of multisig transactions.
To that end, the following changes has been done:
implemented js.AvlTree.fromDigest method
TryOps, EitherOps extension classes moved to sigma-core module to make them available across codebase
Iso added between js.ProverHints and HintsBag
In GraphBuilding added support of SigmaProp as named constants
ReducedInputData, ReductionResult exported to JS
TransactionHintsBag implemented which holds hints for all inputs of transaction
This PR implements reduceTransactionInput, signReducedInput and generateCommitments in SigmaProver for both JVM and JS to support signing of multisig transactions. To that end, the following changes has been done: