<p>You can import it as follows as then use it with <code>Cur.mintContract</code>.</p>
<pre><code>import Plutus.Contracts.Currency qualified as Cur
</code></pre>

CC BY-SA 4.0
2022-11-27T06:35:11.547Z
Thanks for your reply. But maybe i should have been more explicit on what i've tried before. I did try "import Plutus.Contracts.Currency qualified as XXX", but it said "Could not find module `Plutus.Contracts.Currency'". I tried this on my local playground and https://playground.plutus.iohkdev.io/, it shows the same error message.

I am not sure if it is due to the playground not being up-to-date.
big-tea-rice
CC BY-SA 4.0
2022-11-30T07:12:04.937Z
Hey, it seems at the end i can get around with mintContract with singleton and mustMintValue and achieve the same purpose.
big-tea-rice
CC BY-SA 4.0
2022-11-26T15:53:20.220Z
2022-11-26T15:53:20.220Z
Marek Mahut - StakeNuts
<p>I am trying to build an application that will make use of function <strong>mintContract</strong> under <strong>Plutus.Contracts.Currency</strong>, but i have difficulty importing this module. What can i do?</p>

<smart-contract>
How to import Plutus.Contracts.Currency
# How to import Plutus.Contracts.Currency

(Asked by: username_0 on 2022-11-26)

I am trying to build an application that will make use of function **mintContract** under **Plutus.Contracts.Currency**, but i have difficulty importing this module. What can i do?

**Tags:** smart-contract

---

## 1 answers

### Answer by username_1 on 2022-11-26. Score: 0

You can import it as follows as then use it with Cur.mintContract.
import Plutus.Contracts.Currency qualified as Cur

> **Comments:**
> **username_0**: Thanks for your reply. But maybe i should have been more explicit on what i've tried before. I did try "import Plutus.Contracts.Currency qualified as XXX", but it said "Could not find module `Plutus.Contracts.Currency'". I tried this on my local playground and https://playground.plutus.iohkdev.io/, it shows the same error message.  I am not sure if it is due to the playground not being up-to-date.  
> **username_0**: Hey, it seems at the end i can get around with mintContract with singleton and mustMintValue and achieve the same purpose.  

---

