1

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?

1 Answer 1

0

You can import it as follows as then use it with Cur.mintContract.

import Plutus.Contracts.Currency qualified as Cur
2
  • 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 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. Nov 27, 2022 at 6:35
  • Hey, it seems at the end i can get around with mintContract with singleton and mustMintValue and achieve the same purpose. Nov 30, 2022 at 7:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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