Questions tagged [nft]

Non-fungible token - snippet of data (on a blockchain), used to certify properties of digital assets, e.g. creator or owner of an image.

A non-fungible token is a unit of data stored on a digital ledger, called a blockchain, that certifies a digital asset to be unique and therefore not interchangeable. NFTs can be used to represent items such as photos, videos, audio and other types of digital files. (from Wikipedia)

701 questions
-2
votes
1 answer

Require user input when minting nft

Is it possible to require a user to input some information while minting their nft? for example If i wanted the person minting to input their first name then the mint happens and the nft contains their first name? is this possible?
KingJoeffrey
  • 303
  • 5
  • 16
-2
votes
1 answer

How to burn erc721 token?

I am trying to burn erc721 token. I have inherited ERC721Burnable contract,but the transaction gets failed.While debugging I found that in ERC721URIStorage contract,it reverts back at: if (bytes(_tokenURIs[tokenId]).length != 0) { delete…
Udit Yadav
  • 99
  • 1
  • 7
-2
votes
1 answer

Is there a function to list all SPL Tokens in a Wallet using Rust

Is there a function which can get a list of all tokens a wallet owns using Rust?
uniQ
  • 115
  • 2
  • 16
-2
votes
1 answer

local variable 'Body' referenced before assignment- error being thrown up in code however cannot see the reason as 'Body' is defined

This code is throwing up 'local variable 'Body' referenced before assignment' error which is being flagged on the 'for x in body'. I have looked at the code and I am really struggling to find the cause of the error as the issue isn't consistent with…
-2
votes
1 answer

Metadata not loading on Opensea

I am trying to upload my nft collection to Opensea with Hashlips. I'm not a developer. The image of every single nft in the collection never appears no matter how long I wait or refresh the metadata. Images and metadata are loaded on…
-2
votes
1 answer

How i can create more extended levels for NFT?

I create NFT https://i.stack.imgur.com/8JqmK.png How i can create NFT levels like this ? https://i.stack.imgur.com/lg8kt.png Im using python and brownie for compile and deploying smart-contract.
-2
votes
1 answer

ERC1155 NFT transfer using Ethers.js

I want to transfer ERC1155 NFT from one contract account to another. Does anyone know how to make it work with ethers.js
Vignesh
  • 11
  • 2
-2
votes
1 answer

Why does event in NFT (ERC721) token gets address(0) as first argument?

I am learning about how nft smart contracts work. I could not understand why emitting an event receives address(0). This is the _mint function from Openzeppeling ERC721 function _mint(address to, uint256 tokenId) internal virtual { …
Yilmaz
  • 35,338
  • 10
  • 157
  • 202
-2
votes
1 answer

Is it possible that sell NFT-Token by ERC20 token which is created by me?

I want to create a website for minting my NFT-TOKENS. It seems the websites sell NFT-tokens by minting ETH on Ethereum, Now I would use my token(ERC20) instead of ETH. Is it possible?
Amin
  • 387
  • 1
  • 6
  • 17
-3
votes
1 answer

NextJS: Access to XMLHttpRequest from origin blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource

I was working on a NFT marketplace app using NextJS as frontend and Solidity as backend. When I tried to sell an NFT using the frontend UI, I encountered this error: Access to XMLHttpRequest at…
-3
votes
1 answer

Hashlip generate less images than what I asked for

Hi guys I'm using Hashlips [version: "1.1.1".] https://github.com/HashLips/hashlips_art_engine I'm using it with Node JS ,to generate a collection of NFT's I have inserted in the Layers folder 2 folders (45 Backgrounds, x 135 Shoes) and its suppose…
d3fco
  • 77
  • 9
-3
votes
2 answers

Metaplex: Mint standard Edition

I was wondering how to mint an NFT with Metaplex without doing MasterEdition. I want to do a simple edit with a supply of 1. But in the Metaplex program, you have to call "CreateMasterEdition" and give the MaxSupply. And then call…
Mayzz
  • 116
  • 1
  • 9
-3
votes
1 answer

Simulating a transaction to get fees and cost estimation

Is there a way to simulate a transaction with the Metaplex JavaScript SDK to get the cost and fees of the mint transaction? const { nft } = await metaplex .nfts() .create({ uri: "https://arweave.net/123", name: "My NFT", …
Mayzz
  • 116
  • 1
  • 9
-3
votes
1 answer

Why NFT marketplace such as OpenSea can get all nft contracts?

I am currious of why Opensea can get all NFT contract information from blockchain? Not only does Opensea, but all the NFT marketplaces. I know that there are APIs from Etherscan or Polygonscan, but I don't find an API which returns all the contract…
Emily Li
  • 55
  • 7
-3
votes
1 answer

Instant sale feature in Metaplex NFTs?

I have an NFT listed in my Metaplex (instant sale). However I want to sell them in my e-commerce site and just take all the necessary information for me to display and proceed the sale there instead in metaplex. I notice in the solana explorer of my…
1 2 3
46
47