<ol>
<li>It is possible</li>
<li>The script used in the above example is used to construct an address from which funds UTXOs can only be used if they follow the logic specified by the script.</li>
<li>Looks like you've already done it! Just continue following the instructions in your linked example for creating and funding the script address. Be sure to test with a round trip before committing any large funds!</li>
</ol>

CC BY-SA 4.0
2022-04-13T19:12:10.317Z
Thank you! I was running into an error that looked exactly like this https://forum.cardano.org/t/transaction-submit-error-on-testnet-for-time-locked-policy-script/57449 and got off the path. I was just witnessing with the wrong key. :( I appreciate you confirming that what I was wanting to do is possible and for pointing me in the right direction.
RJ Regenold
CC BY-SA 4.0
2022-04-13T18:08:13.300Z
2022-04-13T18:08:13.300Z
zhekson
<p>I am trying to create a multi-signature time locking script similar to <a href="https://github.com/input-output-hk/cardano-node/blob/master/doc/reference/simple-scripts.md#example-of-using-a-script-for-time-locking" rel="nofollow noreferrer">this example</a>. I want to lock assets into a script to be released at a later date.</p>
<pre><code>{
    &quot;type&quot;: &quot;all&quot;,
    &quot;scripts&quot;: [
        {
            &quot;type&quot;: &quot;after&quot;,
            &quot;slot&quot;: 55596400
        },
        {
            &quot;type&quot;: &quot;sig&quot;,
            &quot;keyHash&quot;: &quot;...&quot;
        }
    ]
}
</code></pre>
<p>According to the docs linked above, I have to add the <code>--invalid-before [slot]</code> argument, where <code>slot</code> is greater than or equal to the value specified in my script (<code>55596400</code> in my example). By doing that, I cannot submit the transaction until that slot number.</p>
<p>I was hoping to be able to lock the assets into a script address that could then be redeemed by the holder of the key specified in the script after the given slot. So my questions are:</p>
<ol>
<li>Is that not possible with a multisig script?</li>
<li>If not, what is the purpose of a time-locked multisig script? I guess I could give the assembled transaction with the needed witness off-chain, but then nothing prevents me from spending the assets before the given slot.</li>
<li>Is there a way to do what I'm wanting to do?</li>
</ol>

<multisig>
Multi-signature time-locking script
# Multi-signature time-locking script

(Asked by: username_0 on 2022-04-13)

I am trying to create a multi-signature time locking script similar to this example. I want to lock assets into a script to be released at a later date.
{
    "type": "all",
    "scripts": [
        {
            "type": "after",
            "slot": 55596400
        },
        {
            "type": "sig",
            "keyHash": "..."
        }
    ]
}

According to the docs linked above, I have to add the --invalid-before [slot] argument, where slot is greater than or equal to the value specified in my script (55596400 in my example). By doing that, I cannot submit the transaction until that slot number.
I was hoping to be able to lock the assets into a script address that could then be redeemed by the holder of the key specified in the script after the given slot. So my questions are:

Is that not possible with a multisig script?
If not, what is the purpose of a time-locked multisig script? I guess I could give the assembled transaction with the needed witness off-chain, but then nothing prevents me from spending the assets before the given slot.
Is there a way to do what I'm wanting to do?

**Tags:** multisig

---

## 1 answers

### Answer by username_1 on 2022-04-13. Score: 2 | Accepted answer

1. It is possible
2. The script used in the above example is used to construct an address from which funds UTXOs can only be used if they follow the logic specified by the script.
3. Looks like you've already done it! Just continue following the instructions in your linked example for creating and funding the script address. Be sure to test with a round trip before committing any large funds!

> **Comments:**
> **username_0**: Thank you! I was running into an error that looked exactly like this https://forum.cardano.org/t/transaction-submit-error-on-testnet-for-time-locked-policy-script/57449 and got off the path. I was just witnessing with the wrong key. :( I appreciate you confirming that what I was wanting to do is possible and for pointing me in the right direction.  

---

