<p>Seeing that <a href="https://github.com/mlabs-haskell/plutus-simple-model/blob/f99398b317f2e9d35131178eadcec0fae11a7169/psm/src/Plutus/Model/Mock.hs#L428" rel="nofollow noreferrer">source code</a> just adds signature to the <code>txSignatures</code> map, you can call your <code>signTx</code> method multiple times for your different keys followed by <code>sendTx</code> to submit this transaction.</p>

CC BY-SA 4.0
2023-05-31T10:11:59.997Z
2023-05-31T10:11:59.997Z
Sourabh
<p>Any idea how to sign a transaction with multiple keys in <code>plutus-simple-model</code> ?</p>

<plutus><transaction><unit-test>
Need to add signatures to plutus-simple-model-transaction
# Need to add signatures to plutus-simple-model-transaction

(Asked by: username_0 on 2023-05-30)

Any idea how to sign a transaction with multiple keys in `plutus-simple-model` ?

**Tags:** plutus, transaction, unit-test

---

## 1 answers

### Answer by username_1 on 2023-05-31. Score: 0

Seeing that [source code](https://github.com/mlabs-haskell/plutus-simple-model/blob/f99398b317f2e9d35131178eadcec0fae11a7169/psm/src/Plutus/Model/Mock.hs#L428) just adds signature to the `txSignatures` map, you can call your `signTx` method multiple times for your different keys followed by `sendTx` to submit this transaction.


---

