ergoplatform / sigma-rust

Rust implementation of ErgoTree interpreter and wallet-related features
Creative Commons Zero v1.0 Universal
69 stars 48 forks source link

How to sign a single multisig-input with ergo-lib-wasm-nodejs? #753

Closed c8e4 closed 5 months ago

c8e4 commented 5 months ago

I would be great to have an example on how to sign a single multisig input.

Here are unit tests that: pass - signing a simple multisig tx fail - signing input of the same multisig tx

Tests are easy to run, from clone to test run in 1 line:

git clone git@github.com:SavonarolaLabs/multisig-input.git && cd multisig-input && npm install && npm run test

Repo: https://github.com/SavonarolaLabs/multisig-input

c8e4 commented 5 months ago

Issue closed, examples on how to sign multisig and multisig inputs can be found in the repo linked above.