ScorexFoundation / sigmastate-interpreter

ErgoScript compiler and ErgoTree Interpreter implementation for Ergo blockchain
MIT License
62 stars 40 forks source link

SignTransaction test #1003

Closed c8e4 closed 2 months ago

c8e4 commented 3 months ago

As javascript developer using sigmastate-js i need a simple example on how to get a signed transaction from an unsigned transaction and user mnemonic.

The test itself fails on:

prover.signReduced(reducedTx, hints)

But this pull request provides minimal mock data and simple utility functions.