Questions tagged [nft]

units of data that certify a digital asset to be unique (non-interchangeable). An abbreviation of Non-Fungible Token

Filter by
Sorted by
Tagged with
0 votes
0 answers
3 views

Problem with metadata on pool.pm

I am in a bit weird situation. I am having some trouble with metadata for NFT I am minting. So, this is the asset on pool.pm: https://pool.pm/asset1q6fku9qrfld526pfdm746qu3j7wtgvuh5xet9u And again on ...
user avatar
0 votes
1 answer
9 views

Is there a precedent or example for using a cardano NFT for permission verification?

I would like to use ownership of a Cardano NFT as a requirement for editing an online document. i.e. if you own the nft then you will be capable of writing to the document,but if you do not own the ...
user avatar
  • 11
1 vote
1 answer
21 views

Plutus Script Validation Metadata

I have a question but I cannot find a concrete answer for that. I have a smart contract developed in Plutus for managing locking and withdraw of Tokens/NFTs. I'm wondering if I can validate some ...
user avatar
  • 37
0 votes
1 answer
33 views

How to get NFT count of wallet address

I'm wanting to display the NFT count of a wallet on my website. I've gone through the blockfrost SDK and I don't see anything that relates to NFTs. Is there a method to return this value? Here is my ...
user avatar
  • 3
0 votes
1 answer
25 views

Cardano CLI - Cardano Transaction Build for NFT from Guide Docs

As per title, want to ask about cardano-cli transaction build for NFT, that I read on this guide or maybe this one On near the last step, where it says about Minimum required UTxO - I wonder, if we ...
user avatar
  • 45
1 vote
1 answer
36 views

Query assets with cardano-cli

So as the title says, I really need some help to query all the assets from a wallet address with the help of the cardano-cli. So far I've got the cardano-node running with docker.
user avatar
1 vote
2 answers
51 views

How can I allow users to update a public array of data based on whether they own a token or not?

I want to construct public lists that can be altered by people who own a specific token. Is there a way I can group data together into an array like structure and allow users to append to it? I ...
user avatar
0 votes
0 answers
27 views

MissingScriptWitnessesUTXOW while minting NFTs my own NFTS with Nami Wallet?

I am trying to mint NFTs from Nami wallet. I get the following errors. I look like i didn't sign the nativescripts? transaction submit error ShelleyTxValidationError ShelleyBasedEraAlonzo (...
user avatar
0 votes
1 answer
91 views

API to get NFT Floor Price

Does anyone know of a public API that I can use to get the floor price for ALL Cardano NFT projects. I have created a Database listing all the Cardano NFT projects (currently there are just over 5000 ...
user avatar
  • 121
0 votes
0 answers
45 views

How to get assets with a specifc policy id from a wallet address using BlockFrost OpenAPI

For context, I'm trying to get all NFTs with a policy id, but only from a wallet address. I'm using BlockFrost OpenAPI, and it seems that I can only get assets with a policy id from the entire ...
user avatar
0 votes
1 answer
28 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, ...
user avatar
1 vote
2 answers
72 views

How to integrate ADA Handle into website?

My project allows for users to authenticate with one or more wallets. I would like them to be able to set an ADA Handle they own as their username. What would be the best way to do this? More ...
user avatar
1 vote
2 answers
51 views

Can a contract update the metadata of the NFTs in an entire policy or does this have to be done by a node manually?

Given a policy with a list of non-fungible tokens, Could a smart contract update the metadata of all NFTs in the collection, under certain conditions? If not, could this be done "manually" ...
user avatar
1 vote
2 answers
30 views

checkDeadline function always returning False

I am trying to make a minting policy that fails after a certain deadline. I have tried something like this {-# INLINABLE mkTokenPolicy #-} mkTokenPolicy :: TxOutRef -> TokenName -> Integer -> ...
user avatar
0 votes
1 answer
42 views

How do you make a faucet for native assets such as NFTS on cardano?

im trying to make an NFT faucet for a NFT drop. How do I make the basic faucet is there an example that I could build upon?
user avatar
0 votes
1 answer
93 views

Cardano-cli error: "Invalid argument `"type":'"

I'm new and I'm following cardano developers tutorial to create NFT. I arrived at some modified code for what I wanted to do. But get this "Invalid argument `"type":'" error. When ...
user avatar
  • 1
0 votes
1 answer
69 views

minted NFT is shown as solid color of picture in Nami wallet

I have some questions about NFT mint. I minted NFT using Nami Wallet API, but sometimes error occurred. I need to mint several NFTs at once. So I submit minting transactions in for loop. But ...
user avatar
1 vote
1 answer
120 views

Easy way to list IPFS directory contents

I have an image directory that I've posted to IPFS with a large number of images in it. When I try to query the directory using an IPFS HTTP gateway, I get a gateway timeout error as I assume the ...
user avatar
0 votes
0 answers
19 views

How do I get bids or listed NFTs using the cardano serialization libray?

We're building a marketplace for cardano and we're aware that the owned tokens/nfts can be fetched via the getBalance() function. How do we get the bids or lists (for sale) for a particular owner ...
user avatar
3 votes
2 answers
135 views

Can you burn/lock/self-destruct NFTs in a a smart contract?

I am involved in an NFT project where there is a policy locking date coming up, but I would like to give the option burn/lock/self-destruct the NFT through a smart contract (SC) at any time after that ...
user avatar
1 vote
1 answer
53 views

How to make module Week07.EvenOdd fairer with player2 in case player2 wins the game

In week07 lecture Lars refers that Week07.EvenOdd contract is a bit unfair with player2 in the case of player2 wins . Why 😢 ? Well, player2 has to pay minAdaTxOut (2 ADA) to player1 in order to send ...
user avatar
  • 1,124
0 votes
0 answers
26 views

Automating NFT policyID registration

Is there a way to register your NFT policyID with many markets at once? If not, what about this CIP draft to help facilitate that? https://github.com/cardano-foundation/CIPs/pull/226 https://forum....
user avatar
0 votes
1 answer
52 views

How to format a JSON value in the cardano-cli

I started creating this python library with most of the Plutus types represented as classes. I get their values by calling the json method, which returns the JSON equivalent of this type so it can be ...
user avatar
  • 733
0 votes
1 answer
60 views

Royalities CIP 27

I followed the CIP 27 for implementing royalities: https://cardanoupdates.com/commits/facb8aa0ad9aa41f1a047b2000674fdea2162e71 Mint no name token with the policy then burn it wit the metadata ...
user avatar
0 votes
1 answer
66 views

cardano-cli submit error: ScriptWitnessNotValidatingUTXOW

I have a problem when submitting a transaction using cardano-cli 1.33. This is my transaction: cardano-cli transaction build-raw --tx-in ...
user avatar
0 votes
1 answer
44 views

Ensure a unique policy ID for a "time before" type minting policy

Let's suppose I am starting an NFT project, and I choose to use a time-lock based policy script. For example, the policy is enabled until some slot in the future. E.g, here's the Hosky Cash Grab NFT ...
user avatar
1 vote
0 answers
53 views

How to add 'ToSchema' to Address (in Playground)?

I'm doing homework2 of week05 (cohort3). My contract runs fine in the repl, but when I try it in the playground, I'm running into an issue. It fails on this line: mkSchemaDefinitions ''NFTSchema I ...
user avatar
  • 172
3 votes
1 answer
61 views

Properly (safely) verify that transaction contains an Cardano Native Token or NFT

All the available on-chain validator programs that limit certain redeemer actions to transactions containing an NFT use hasToken :: TxOut -> Bool hasToken txOut = assetClassValueOf (txOutValue ...
user avatar
0 votes
0 answers
103 views

How to Deploy / Write NFT Minting Plutus Script?

I am following through the third cohort PPP. With a week of course break, I wish to consolidate my understanding through practice. One exercise is to go through the deployment process of an NFT: ...
user avatar
3 votes
3 answers
89 views

NFT minting using unique base64 encoded asset as input

Regarding the Week05 course material. It is recommended in the lecture on NFT minting policy that rather than rely on a deadline and constraint of 1 token per mint, that a unique input such as a UTxO ...
user avatar
  • 183
1 vote
2 answers
49 views

How can I grant an NFT holder a one time action in a web app?

I would like users to be able to perform a one time action on a web app, i.e. claiming one physical item per NFT owned, what would be the best way to keep track of tokens that have already claimed ...
user avatar
2 votes
1 answer
87 views

Write a policy script with a custom redeemer type, but do NOT use `Plutus.liftCode`

I'd like to write a policy script that receives a custom data type for the Redeemer argument, but does not use Plutus.liftCode to "bake the argument value" into the compiled Plutus script. ...
user avatar
2 votes
1 answer
99 views

Updating NFT metadata when policy unlocked

We're wondering whether there is a convention for updating the metadata related to an nft in the case where a policy has not yet expired. For example, an nft is originally created with 721 metadata ...
user avatar
1 vote
1 answer
61 views

Understand purpose of tx-out-datum-hash in Lars' lobster NFT minting example

When the Alonzo era started on mainnet, Lars deployed a smart contract example, in which he minted a lobster NFT as part of a lobster naming challenge. In the policy script used to mint the lobster ...
user avatar
1 vote
1 answer
72 views

Is Camel Case notation required for the Asset Name of an NFT?

Hello i just have noticed that i can mint NFTs with the Cardano serialization Lib with out using Camel Case notation: I can have string spaces as well a special characters. I have read in the CIP-25 ...
user avatar
1 vote
1 answer
47 views

How can I get the wallet distribution of a token?

I'd like to determine the number of wallet holders for (example) Lobster holders ClayNation owners How can I query this with a full node?
user avatar
1 vote
1 answer
48 views

How to create the policy.vkey and policy.skey with Cardanocli-js?

I am looking for a method to create the policy.vkey and policy.skey. unfortunately my search has been unsuccessful so far. I have searched the library https://github.com/Berry-Pool/cardanocli-js/blob/...
user avatar
3 votes
2 answers
230 views

What is the value of ADA locked in a Native token?

I was wondering, if ADA locked in an native asset is equally valuable? For me it is like if somebody put a draw on a ticket but there are other implications: it can give trouble when making ...
user avatar
3 votes
2 answers
512 views

If metadata can be changed, how can the uniqueness of an NFT can be guaranteed?

Let's say, there's manufacturer that produces luxury watches, and he uses Cardano NFTs to track their authenticity. He embeds unique serial number of a watch into metadata of NFT. One watch - one NFT,...
user avatar
1 vote
1 answer
56 views

How can I find the IPFS URL for a CNFT.io asset?

I've tried several ways but couldn't find a relyable way to find the IPFS url for a CNFT.io asset. I tried to find the policy id in https://pool.pm/tokens and in https://cardanoscan.io/. In the latter ...
user avatar
  • 165
1 vote
1 answer
58 views

Do Cardano NFTs contain stable content?

In our company we discuss the Twitter post of the Signal founder: https://moxie.org/2022/01/07/web3-first-impressions.html. One critique is, that the NFTs don't contain the hash of data (jpg, ...) but ...
user avatar
  • 165
0 votes
1 answer
28 views

Web Resources and Tutorials?

Does anyone have any reccomendations on tutorials to create token minting websites? I have learned how to mint nfts to the chain and need to expand my knowledge. any help appreciated. thank you!
user avatar
0 votes
2 answers
48 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 ...
user avatar
  • 1
0 votes
1 answer
48 views

How do you populate NFT (images) in-game?

Sushibyte (and other game projects) has users input their wallet and then populates specific NFT's as playable images. Could someone walk me through the logic that verifies the desired policy ID and ...
user avatar
0 votes
0 answers
51 views

Advice on how to save a secure document as an NFT on the blockchain on a secure website

I'm very interested in saving some very important digital documents as an NFT on the Cardano blockchain. I'm very new to NFT's and have some (probably) basic questions for this forum to help in if ...
user avatar
1 vote
2 answers
468 views

send multiple assets in one transaction

I have 2 wallets. I have about 10 assets (tokens, cnfts) besides ADA in each wallet. I would like to send the assets from one wallet to the other to consolidate them. Can I do this in one transaction? ...
user avatar
1 vote
2 answers
182 views

Obtain data about a CNFT project

I want to obtain some information about a given CNFT project. For instance, the number of asset minted, and all the assets metadata (e.g., attributes). How can I proceed with this? I mainly use R as a ...
user avatar
  • 111
0 votes
2 answers
64 views

help, i register script policy with pool.pm was not approved? [closed]

I'm learning to create nft. by using cardano serialization lib and nami wallet but the nft I created, register script policy with pool.pm was not approved. I don't know if it's caused by a signed key ...
user avatar
1 vote
1 answer
187 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 -> ...
user avatar
1 vote
3 answers
412 views

Is there any way to mint/airdrop tokens and NFTs to members/users without sending them ADA

I have a game I would like to integrate with the Cardano blockchain and I want a good way to airdrop tokens and NFTs to the users for that game. The ways I have been able to find are: Mint directly ...
user avatar