1

My application has a minting script and a validator script that works together. I am using EmulatorTrace to test my application.How do i simulate a minting event in EmulatorTrace?

1 Answer 1

2

There are plutus-contract tests, such as MustMint.hs, that demonstrate the use of each minting tx constraint: mustMintCurrencyWithRedeemer, mustMintValueWithRedeemer, mustMintCurrency & mustMintValue. Hope that helps.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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