# Example of time-bound policy along with single signature

**URL:** <https://forum.cardano.org/t/example-of-time-bound-policy-along-with-single-signature/56329>\
**Category:** Native Tokens\
**Created:** [5 April 2021 07:52 UTC](https://forum.cardano.org/t/example-of-time-bound-policy-along-with-single-signature/56329 "2021-04-05T07:52:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Deepak\_Kumar](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/deepak_kumar/32/32439_2.png) [@Deepak\_Kumar](https://forum.cardano.org/u/Deepak_Kumar)\
**Post date:** [5 April 2021 07:52 UTC](https://forum.cardano.org/t/example-of-time-bound-policy-along-with-single-signature/56329/1 "2021-04-05T07:52:19Z")

</div>

I am trying to generate native tokens which can not be minted again. I cannot wait for plutus smart contracts go live on PROD. As a work around, I am looking forward to design a policy which requires single signature (not a multisig) and also time bound (before a slot).  
Can anyone help with an example of such policy script and additionally the build, sign and submit steps with it( if they are unique)

---

<div class="post-metadata">

**Author:** ![bwbush](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/bwbush/32/29827_2.png) [@bwbush](https://forum.cardano.org/u/bwbush)\
**Post date:** [5 April 2021 13:46 UTC](https://forum.cardano.org/t/example-of-time-bound-policy-along-with-single-signature/56329/2 "2021-04-05T13:46:30Z")

</div>

[Here](http://gateway.pinata.cloud/ipfs/Qmd5MoNCTb8V3RZDP56ej3e2nA3jKEvZqgx6SDdt6bEcb1) is an example of a script that requires a single signature and only allows minting before a particular slot number. The command `cardano-cli query tip --mainnet` will tell you the current slot number, and you can use that to compute how many slots into the future you want to allow minting. When you run `cardano-cli transaction build-raw`, you’ll need to include `--invalid-hereafter` followed by the slot number in your script. See [Time Locking](https://docs.cardano.org/projects/cardano-node/en/latest/reference/simple-scripts.html#time-locking) for details.

If you don’t want to create a separate minting key, as in the “Submitting a Transaction” section of [Working with Multi-Asset Tokens](https://developers.cardano.org/en/development-environments/native-tokens/working-with-multi-asset-tokens/), you can simply use the hash of `$SPENDING_KEY` in the token minting policy. Then you only have to sign the transaction with that one key.

FYI, I’ve created a simple [Haskell command-line program](https://github.com/functionally/mantis/blob/main/ReadMe.md) that allows one to mint time-locked tokens and/or post metadata. I’ll be upgrading this soon to mint batches of tokens under a single policy. After there is consensus on a [metadata standard](https://forum.cardano.org/t/cip-nft-metadata-standard/45687/108) for tokens, I’ll add support for that standard to the tool, too.

---

<div class="post-metadata">

**Author:** ![Deepak\_Kumar](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/deepak_kumar/32/32439_2.png) [@Deepak\_Kumar](https://forum.cardano.org/u/Deepak_Kumar)\
**Post date:** [6 April 2021 18:27 UTC](https://forum.cardano.org/t/example-of-time-bound-policy-along-with-single-signature/56329/3 "2021-04-06T18:27:40Z")

</div>

That is spot on. That resolved my issue.  
Thank you so much for the reply.
