Questions tagged [minting]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
22 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 ...
0
votes
1answer
19 views

How to Remove Burned NFTs from SQL Output

I am querying the Cardano Postgres DB and can't figure out how to remove NFTs (multi-assets) that have been burned. In the SQL query below, I am selecting the mint transactions for an asset ...
1
vote
1answer
60 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 -> ...
0
votes
1answer
25 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 ...
1
vote
3answers
78 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 ...
0
votes
2answers
131 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 ...
0
votes
0answers
26 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 ...
0
votes
0answers
3 views

Can a native asset have different rules for minting and burning when using SimpleScripts?

Could I for example have one key to only be used for minting tokens and another only for burning? Or does this require Plutus script?
2
votes
2answers
141 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 ...
1
vote
2answers
127 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 ...
5
votes
1answer
196 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 ...
2
votes
0answers
22 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 ...
0
votes
1answer
182 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 "...
0
votes
0answers
20 views

Tried minting from transition in StateMachine an got error MintingPolicyNotFound

I changed transition function in Lecture 7 and added constraint for minting Constraints.mustMintValue: transition ts s r = case (stateValue s, stateData s, r) of (v, _, SetPrice p) | p >= 0 ...
0
votes
2answers
52 views

Does Cardano have a decentralised monetary policy?

I’ve heard people claim that bitcoin is the only crypto currency which has actually decentralised monetary policy (being the basis for the claim that it cannot therefore be changed). Since minting ...
0
votes
0answers
35 views

How to check the minting policy script for an asset [duplicate]

Given the policy ID of an asset, how can one find out its' minting policy script (validation rules)? I've used CardanoScan so far. It is able to show the current token supply, holders and transactions ...
4
votes
1answer
296 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 ...
2
votes
2answers
113 views

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

My token policy script is: all: [ { invalidAfter: 40951072 }, { pubKey: "36ed345d252a242ad67072db79e5736866fa58ebe3fd782739208ef6" }...
0
votes
1answer
77 views

How do I mint an NFT without any image and and just some text?

I have made a script here to mint NFT as per the official docs. : https://github.com/nateshmbhat/cardano-nft-minter But there is no mention in the doc to mint an nft with just some text description ...
3
votes
1answer
117 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 ...
2
votes
1answer
139 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-...
3
votes
2answers
160 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 }, } ], ...
2
votes
1answer
66 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 ...
2
votes
1answer
67 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 ...
8
votes
1answer
280 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 ...
0
votes
2answers
300 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 ...
7
votes
3answers
1k 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 ...
0
votes
1answer
172 views

How can I mint a token without a name for NFT royalties?

The proposal for Cardano NFT royalties CIP-0027 suggests that a nameless token should be used to store the royalties information. Usually a mint transaction looks something like this: cardano-cli ...
4
votes
3answers
143 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 ...
4
votes
2answers
71 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?
6
votes
1answer
231 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?
1
vote
1answer
180 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 ...
5
votes
1answer
123 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:...
5
votes
1answer
310 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?...
6
votes
1answer
185 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 ...
4
votes
1answer
30 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 ...