14

I'm working on a Plutus contract that requires multiple signatures to unlock. To do so, I've been referencing the MultiSig.hs sample contract. Now, I'm looking to create traces for testing purposes, however, these tests are commented out in Spec.hs with the comment "disable temporarily, because we need to adopt the signing API," but I'm not really sure what this means.

Is it currently possible to sign a transaction with multiple Wallets or PubKeyHash's? If so, how?

3
  • People complain about banks, but I can open up a joint account at a bank. I can't do that with any Cardano wallet. I'm glad you're working on this. If you receive any responses to your question, I'll be interested in seeing them. Have you put your idea(s) out on Catalyst? Jun 26 '21 at 20:34
  • Hello Richard, welcome to this community. While your contribution is valued, it might be more suitable as a comment and not an answer.
    – Matthias Sieber
    Jun 27 '21 at 6:10
  • Hello Richard, I am in agreement with Matthias and will do the conversion. Welcome aboard.
    – gRebel
    Jun 27 '21 at 22:57
2

These would be witnesses on the transaction itself. The script states I need these hashes signed on the transaction and the transaction either has those witnesses and the script passes or it doesn't and it fails.

0

I found this link quite useful for multi-sign scenario. https://github.com/input-output-hk/cardano-node/blob/master/doc/reference/simple-scripts.md#multi-signature-scripts

I wonder if anyone has tested the MultiSign.hs on testnet/mainnet yet? It seems the "txSignedBy" is not working as I got my fund locked.

1
  • 1
    yes, there's at least a few of these on mainnet. On testnet, I personally along with 4-5 SPOs tested multisig after allegra hard fork back in December of last year. Note that multisig via simple scripts is not a plutus script, so is probably not exactly what the OP is asking about. Oct 4 '21 at 15:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.