Questions tagged [mintingpolicy]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
2 answers
44 views

Unable to deploy Plutus NFT Minting Policy parametrized by TxOutRef using cardano-cli

UPDATE: I'm making progress. It is apparent the TxOutRef stored on-chain has some extra-structure. For evidence I "printed" the TxOutRef's of the 'utxo' hard-wired in my minting policy and ...
0 votes
2 answers
40 views

ScriptWitnessNotValidatingUTXOW while minting an NFT

I'm currently trying to create a minting process with lucid (v. 0.8.9) using Blockfrost on Mainnet. Minting policy: const mintingPolicy: MintingPolicy = lucid.utils.nativeScriptFromJson({ type: &...
  • 1
0 votes
1 answer
17 views

Are NFT policies interchangeable between networks?

Generating a policy doesn't require a running node; the cardano-cli alone is sufficient. Since no connection is made to the network, can I assume there's no difference between a policy on preprod and ...
  • 155
0 votes
1 answer
34 views

ScriptWitnessNotValidatingUTXOW - Transaction Error While Minting NFT With Native Script - Before Slot Instruction Not Working

I am trying to mint an NFT for the zeroOneGame exercise from gimbalabs on the pre-production testnet (babbage-era) but I incur in an error and I can't see what I am doing wrong. Here are the steps ...
2 votes
1 answer
69 views

Getting the CurrencySymbol of PlutusV2 MintingPolicy

I'd like to get the CurrencySymbol of a PlutusV2 MintingPolicy. There's a function defined in Plutus.Script.Utils.Scripts with the following signature: scriptCurrencySymbol :: Versioned MintingPolicy -...
  • 795
0 votes
0 answers
25 views

mustMintValueWithRedeemer - Number of tokens minted

On the Offchain code I am trying to mint a token using the following snippet Constraints.mustMintValueWithRedeemer r (assetClassValue cTk 1) In the validation code of the minting script I am trying ...
  • 13
0 votes
1 answer
25 views

How to construct `TxOutRef`?

I am building an NFT minting policy which takes an argument of type TxOutRef as parameter. To this when I pass my parameter, it doesn't match with what is actually given in the transaction. Here is my ...
  • 110
1 vote
1 answer
31 views

Multiple minting on one TX

I'm trying to mint a utility token and based on this quantity the investor will get different NFT bonus. ---------- mint :: MintParams -> Contract w FreeSchema Text () mint mp = do let ...
0 votes
1 answer
27 views

scriptCurrencySymbol in V1 libs to mint assets

I'm using the latest Plutus-Stater project with this script module FreeMinting where import Control.Monad hiding (fmap) import Data.Aeson (ToJSON, FromJSON) ...
2 votes
1 answer
109 views

Cannot find wrapMintingPolicy after updating to latest release of plutus-apps

I've just checked out the latest release of the plutus-apps repository and ensured to copy the respective cabal.project dependencies (including their commit hashes). But I get a weird error, I didn't ...
  • 1,088