Questions tagged [minting]

The process of creating a new native asset on Cardano. Minted assets can be fungible or non-fungible.

Filter by
Sorted by
Tagged with
9 votes
2 answers
635 views

Is there a good tutorial to mint Cardano NFT using plutus script?

I used to mint Cardano NFT using "Time locking" following this guide https://developers.cardano.org/docs/native-tokens/minting-nfts/. But I know the more formal way is to use plutus script ...
Tam Edward's user avatar
7 votes
4 answers
2k views

Minting a NFT (collection) with Blockfrost

I see al lot of NFT projects where you can buy 1 or multiple NFT's for a certain price. Like unsigned_algorithms, CardanoTrees etc. I am curious how these projects are created without the use of smart ...
Rami's user avatar
  • 71
7 votes
1 answer
1k views

How to mint multiple NFT assets in the same transaction?

The developer guide doesn't cover this. Here is an example of what I'm trying to do: https://cardanoscan.io/transaction/e1c7bc707e56bf37b4325dc4b7fe524eafe8ca746e54746d60b321588ffebb6c?tab=tokenmint I ...
user4581's user avatar
6 votes
1 answer
364 views

Ways to burn tokens?

What are all the ways to burn tokens, including ADA and other tokens? By burning, I mean to remove it from the sum balance of all addresses. E.g. one way is to mint a negative amount of a token. Are ...
Joshua Chia's user avatar
  • 1,335
6 votes
1 answer
291 views

What is the minting cost of an NFT?

What is the minting cost of an NFT? If it depends on some factors, can they be made explicit?
Distic's user avatar
  • 701
5 votes
1 answer
358 views

What are the ways of making NFTs unique?

In the week 5 of Plutus Pioneer Program Lars described how to make NFT by spending an UTxO while minting, therefore ensuring the uniqueness of the token. Are there any other ways of making NFTs unique?...
emesik's user avatar
  • 876
5 votes
1 answer
232 views

Selfish mining / denial of service on Cardano?

I just analysed the reasons for why my pool minted an orphaned block. Here is the sequence of events: My pool minted block No=1 in its allocated slot=28 at T=28.050 seconds. This block propagated ...
74d4's user avatar
  • 130
5 votes
1 answer
184 views

Stuck at Creating Keys for Token - cardano-cli address key-gen

I feel like an idiot but I am stuck at creating the keys for a token. Here is the code: cardano@transmission:/home/transmission/Documents$ sudo mkdir policy && cd policy cardano@transmission:...
h1ddenproc3ss's user avatar
4 votes
1 answer
154 views

Minting and distributing to different wallets

I am trying to build a transaction that mints a number of tokens and distributes them to different wallets. Like here: vote :: forall w s. Poll -> Contract w s Text () vote poll = do ... let ...
Jey's user avatar
  • 1,549
4 votes
3 answers
207 views

Can you the number of NFT's that can be minted in a transaction?

I wanted to understand if you could place a hard limit on the number of tokens minted under a policy. I've scanned the docs and the policy.script only seems to control permission and the amount of ...
AdamG's user avatar
  • 157
4 votes
2 answers
107 views

What is the most trusted Third party tool for Minting Native Tokens on cardano?

I have come across many Third party minting sites, however, I have a security concern, as per the keys, and policies. So what is the most trusted Third party tool for Minting Native Tokens on cardano?
Joewyonline's user avatar
4 votes
1 answer
44 views

Burning tokens after the 'before' time slot? [duplicate]

For a minting policy that specifies a 'before' slot requirement, it is impossible to mint new tokens after the specified time slot. Is it also impossible to burn existing tokens after the specified ...
Joshua Chia's user avatar
  • 1,335
3 votes
3 answers
450 views

Is there an open source vending-machine script for NFT minting?

Many projects either use a vending-machine service like NFT-Maker PRO or buffybot or have built their own vending-machine scripts. Is there any open-source vending machine script that can be connected ...
eddex's user avatar
  • 3,753
3 votes
4 answers
854 views

How should you properly mint multiple NFTs under same policy?

The minting guide say that you should set the policy to expire after certain slot to make sure that nobody can mint more of the same NFT. This kind of makes sense, but then how can you reuse the same ...
Petr's user avatar
  • 195
3 votes
1 answer
175 views

How to define decimel points while minting tokens?

I am minting some tokens on the testnet by following the instructions in at this document. https://docs.google.com/document/d/1gyIOEjxhGhlXsgPtM35DsY3QX02jxLwZSpek7zO4q7M/edit Everything is working ...
arunwebber's user avatar
3 votes
2 answers
202 views

How to burn Cardano token after the 'invalid after' passes?

My token policy script is: all: [ { invalidAfter: 40951072 }, { pubKey: "36ed345d252a242ad67072db79e5736866fa58ebe3fd782739208ef6" }...
Mantas Andriuška's user avatar
3 votes
2 answers
331 views

Having a problem with Minting with Cardanocli-js

Im creating a transaction using this code: const tx = { txIn: wallet.balance().utxo, txOut: [ { address: wallet.paymentAddr, value: { ...wallet.balance().value, [MARCELOCOIN]: 1 }, } ], ...
Marcelo Arraes Teixeira's user avatar
3 votes
1 answer
145 views

Why NFTs on cardano use IPFS CIDv0 instead of recommended CIDv1

IPFS, nft.storage and most other ipfs providers default and recommend using CIDv1. In contrast, most recently (September 2022.) minted NFT's on cardano still use CIDv0: tarc citizen lagani r ...
akegalj's user avatar
  • 143
2 votes
1 answer
125 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 ...
Will's user avatar
  • 1,162
2 votes
1 answer
187 views

Calculate a policy locking

How can I calculate when the policy is going to be locked? I have the policy script file and I need to specify the before slot but I don't know how to calculate it. For example, I want the policy to ...
Zefex Developer's user avatar
2 votes
1 answer
69 views

Metadata '721' error on pool.pm

Hello and thank you beforehand for your time! I read a lot before posting and could not find a solution to this. Pool.pm is complaining about the metadata '721' throwing an error: "Expecting an ...
RomanW's user avatar
  • 21
2 votes
1 answer
255 views

Must spend UTxO constraint when minting NFT

I'm currently going through week 5 of the plutus piooner lectures, and I have some questions about the NFT process. Here is a reference with the complete code, but here are the important parts: The on-...
lgvaz's user avatar
  • 121
2 votes
1 answer
150 views

Getting the address of a parameterized contract from within the validator of another script

Suppose I have one contract, Contract 1, that is parameterized by type Contract1Params{ tokenName :: BuiltinByteString } and I have a minting policy that will only mint a token with tokenName tn ...
yoyobigmanyo's user avatar
2 votes
1 answer
144 views

InlineDatum on ReferenceOutput in OffChain code

I tried to use the inline datum of a reference input in the minting policy below: {-# INLINABLE validateMinting2 #-} validateMinting2 :: TxOutRef -> BuiltinData -> BuiltinData -> () ...
CantTouchDis's user avatar
2 votes
0 answers
31 views

How to reuse data when updating Token using StateMachine

I'm currently creating a social network-like Dapp on plutus, and I've come across something I don't understand. My Dapp, for example, is NFT(for own identity)->RFT(for sell own content)->NFT(for ...
user avatar
1 vote
1 answer
29 views

Simulate Minting Event In EmulatorTrace

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?
szhang9921's user avatar
1 vote
1 answer
324 views

How to release an NFT collection on Cardano?

I come form EVM background and now I'm looking at Cardano ecosystem. From what I can see, the approach is fundamentally different when releasing NFTs. On EVM you deploy a smart contract on which users ...
Andrzej Gis's user avatar
1 vote
1 answer
74 views

How to PlutusTx.compile work with multiple arguments to mkPolicy

I'm on homework 5 of the pioneer program. If I check Signed.hs: {-# INLINABLE mkPolicy #-} mkPolicy :: PaymentPubKeyHash -> () -> ScriptContext -> Bool mkPolicy pkh () ctx = txSignedBy (...
Kurt Sys's user avatar
  • 172
1 vote
1 answer
818 views

Is posible to do Batch minting of NFT with each NFT having different image?

Since the metadata is attached to a Tx not to the NFT, and is unique per transaction, there can not be such a thing as a Batch minting of NFT with each one having different metadata for example "...
Alicia Basilio's user avatar
1 vote
2 answers
37 views

How to differentiate NFTs of the same policy id?

For Example: You have an NFT collection that has 5 different tiers all under the same policy ID (cip-25 metadata standard). You want to be able to provide on-chain benefits to holders of the NFT ...
Aidan's user avatar
  • 11
1 vote
2 answers
47 views

How do I design a dApp for 1000 NFTs minted per second

I am brainstorming on the architecture of a Cardano dApp that will be able to issue tickets as NFTs and can scale to around 1000 NFT tickets per second. From what I understand so far on UTXO, a ...
Skelli's user avatar
  • 327
1 vote
1 answer
87 views

"plutusV2MintingPolicy" lookup not found by "balanceTx"

I am trying to mint some example tokens in offchain plutus code on tag v1.0.0-alpha1. This is the OffChain code I am currently using: mintFactoryToken :: Contract () MintFactorySchema Text () ...
CantTouchDis's user avatar
1 vote
2 answers
112 views

Are negative values valid quantities in native assets?

In Cardano's Alonzo CDDL (Concise Data Definition Language) specification, it seems that the value of an asset could be negative. Is it correct? If the above assumption is correct, I am wondering how ...
Jerry's user avatar
  • 403
1 vote
1 answer
354 views

How does one-time minting policy actually work?

In week 5 of plutus-pioneer-program with NFT example this plutus minting policy code is provided: {-# INLINABLE mkPolicy #-} mkPolicy :: TxOutRef -> TokenName -> () -> ScriptContext -> ...
KugisMugis's user avatar
1 vote
3 answers
194 views

NFT Minting without Metadata

I hope all is well and everyone had a great holiday season. I am having an issue minting NFT's from the CLI they appear to be minting without metadata, even though I am referring to the fully ...
user5177's user avatar
1 vote
1 answer
211 views

OutputTooSmallUTxO error, trying to send more than 9 tokens

I have a generated wallet, so I need to use these commands to transfer my minted NFT's out. I'm not stuck with this very odd and annoying stuff, saying OutputTooSmallUTxO... I really don't know what ...
cheff wallets's user avatar
1 vote
2 answers
90 views

Mutable NFT state by minting and burning in same transaction

The problem Please consider the following case: a token (NFT) needs to holds some state, ie {a: 234, b: "someState"}, which needs to be mutable and it needs to abide to specific rules. The ...
Duco's user avatar
  • 33
1 vote
1 answer
78 views

Mint the royalty token with pycardano

Good morning everyone, I have a question regarding the royalty token. I've already read about this subject, and I understand that I need to mint a token with metadata like this: { "777": ...
Andre Morais's user avatar
1 vote
1 answer
106 views

Rust Serialization Lib Minting NFT - Missing Key Witnesses Error on Submission

I am running into an error with the CSL Rust Lib when submitting a minting NFT tx. I am following a minimal example in JS https://gist.github.com/lovalabs/83d08796ab9ff65cbf188fbca8d03343 as a guide ...
Rust_Dev's user avatar
  • 151
1 vote
3 answers
161 views

How to figure out what address to query for utxos when minting

Following the iohk guide to minting assets we identify the input utxo using the following command: cardano-cli query utxo --address $address --testnet-magic 1097911063 This is all well and good if ...
melchoir55's user avatar
1 vote
1 answer
76 views

Cannot compile parameterized mintingPolicy to Plutus

I tried compiling a solution from the examples provided in PPP Iteration #2 but got stuck. Any ideas? Code: https://github.com/ILIYANGERMANOV/cardano-smart-contracts/blob/main/ivy-token/src/MintIvy.hs ...
Iliyan's user avatar
  • 13
1 vote
0 answers
251 views

Mint tokens using plutus scripts with the serialization lib

As I understand, in order to mint a token with the serialization-lib, you must use the function set_mint_scripts, providing a NativeScripts object. This collection of NativeScript objects should ...
Mateus's user avatar
  • 978
1 vote
2 answers
364 views

Can Nami wallet provide the TransactionWitnessSet for minting a native asset?

I'm trying to mint a native asset reusing the keys that Nami already uses. This is to make a minting service that is connected to a specific wallet, and that wallet is always able to mint more tokens ...
Frank Weslien's user avatar
0 votes
1 answer
90 views

Unlocked NFT minting policy

I want to create a collection of NFTs with unlimited supply. This way one NFT gets minted every time someone buys one. I don't need a limited supply because I want these NFTs to work as a "member ...
Falcon Stakepool's user avatar
0 votes
1 answer
89 views

Problem with metadata on pool.pm

I am having some trouble with metadata for NFT I am minting. This is the asset on pool.pm: https://pool.pm/asset1q6fku9qrfld526pfdm746qu3j7wtgvuh5xet9u And again on adaptors.org: https://adapools.org/...
Demogog's user avatar
0 votes
1 answer
55 views

How to achieve a minting policy script that locks after certain number of images (assets) have been minted on the fly

Let's say I want to run an NFT campaign, where the minting policy only allows minting of 100 NFTs (each one is different), and then the policy should lock. If this minting policy were a Plutus script, ...
Kurt Hartmann's user avatar
0 votes
1 answer
142 views

Question about policy ID for native assets

If the policy ID for a some native token looks like this: { "keyHash": "wfwrfasdfasdfsadk4tjwljaldk1234567789123455678", "type": "sig" } Can the token be ...
Myles's user avatar
  • 321
0 votes
2 answers
451 views

Minting NFTs via cardano-cli: How to mint several NFTs consecutively?

I followed the NFT minting docs on https://developers.cardano.org/docs/native-tokens/minting-nfts which works very well for the first transaction. I'm currently stuck trying to mint a second NFT. It's ...
saschor's user avatar
  • 111
0 votes
1 answer
78 views

Limit the number for each Token (AssetName) within one Currency Symbol (Policy ID)

is there any way to limit number for each tokens within one minting policy, in Plutus validator? For example for policy ab12 I want to allow users minting tokens, in different transactions. Сan the ...
dmitry_stas's user avatar
0 votes
2 answers
60 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 ...
a_juggler's user avatar