Questions tagged [nft]

Questions about NFTs, non-fungible tokens.

Filter by
Sorted by
Tagged with
1 vote
2 answers
15 views

How can I fix a problem with transferring ERC721 by approved contract?

Hey everyone I'm new to NFT development and developing an ERC721 token for property ownership and marketplace. I implemented two functions to enable a user to put their token on sale for another user ...
emtothed's user avatar
0 votes
1 answer
13 views

ERC721 token image not showing in wallet

Hey everyone I'm new to NFT development. I developed an ERC-721 token used for property ownership and I deployed and minted a token both on Anvil and sepolia. I can import the token on metamask but ...
emtothed's user avatar
0 votes
1 answer
53 views

NFT metadata for property ownership ERC721 token

Hey everyone I'm new to NFT development and I'm trying to develop a simple property ownership and marketplace using the ERC721 token standard. since I'm so unfamiliar with json I have some problems ...
emtothed's user avatar
0 votes
1 answer
33 views

ERC721: invalid token ID"

I'm minting an NFT and listed it on my NFTMarketplace, after minting I keep getting ERC721: invalid token ID, whenever I try to create the sale on the market place. this is my nft code // SPDX-...
Santos's user avatar
  • 17
-2 votes
0 answers
20 views

don't work this code [closed]

I am trying to do this code work, but it just loads and loads and nothing to send a request to blockchain: const ethers = require('ethers'); // Get Alchemy App URL const API_KEY = process.env....
tianopo's user avatar
  • 17
0 votes
1 answer
20 views

Batch NFT mining

I am trying to create a project where users can specify a total supply on a minted NFT, will the NFT all have the same address but with different tokenId's or they will have different addresses
Santos's user avatar
  • 17
0 votes
1 answer
9 views

How the uint changes to address type in solidity when using delegatecall?

pragma solidity ^0.8.18; contract One{ address public first; address public second; address public third; function setaddress(address _address)public { third = _address; }...
kumar's user avatar
  • 3
1 vote
2 answers
90 views

For a given block, how to extract only transactions that involve newly minted NFTs, with either Foundry or ethers.js?

Firstly, I’ll say that I prefer to do this with Foundry, but if it turns out to be too much of a pain, I’m open to doing this with ethers.js as well. Take this block, for instance: https://etherscan....
user72364's user avatar
  • 131
0 votes
1 answer
8 views

how to differentiate fungible and non fungible token transaction in erc1155

How to identify the transaction of fungible and nonfungible in erc1155. because the mint function is same. if we mint token by amount of one we call this NFT after that if we mint the same token then ...
Muhammad Nadeem's user avatar
0 votes
1 answer
18 views

How can I transfer an NFT that is stored on openSea programmatically?

I want to understand, how can automate sending NFTs from any thirdparty hosts for example, opensea or thirdweb directly to the user who clicks on the claim NFT button on my website. I do not want to ...
Coding_templar's user avatar
2 votes
1 answer
22 views

Generating a NFT token

Let's say we are generating an NFT token for a picture. How is the token generated? Is it just the hash value (say SHA256) of the picture? Is it possible to find a collision? If so, how is the ...
Zirui Wang's user avatar
0 votes
1 answer
14 views

With erc-1155 can you mint tokens on the fly with parameterized name and supply?

The erc-1155 contract would have various token types. Users would be able to request minting (contract owner would mind the tokens on their behalf) of any type available on the contract but they would ...
Sami Awwad's user avatar
2 votes
1 answer
22 views

How can I send an NFT automatically when someone clicks on the claim NFT button?

I am working on a quiz site but I want the winners and participants to receive NFT at the end of the quiz. But I do not want to manually sign the transactions. I understand I can use ethers.js and use ...
Coding_templar's user avatar
1 vote
1 answer
55 views

How can I avoid out of gas on multiple eth transfers when looping addresses?

Hello everyone good day, I'm working on an automated eth distribution function that sends eth to all the nft holders of a determined collection (using ERC721A as standard for the nfts), it works well ...
baeza.eth's user avatar
1 vote
1 answer
60 views

What causes this error? NFT Minting via Piniata - fails transaction

Every time i submit my form from my frontend, MM opens up so i can pay my fee, i click confirm, the transaction fails with the error: {"blockHash":"...
Aleksander Morawski's user avatar
1 vote
1 answer
18 views

NFT Not Show In Opensea Collection Profile

I am trying to buld ERC721 to my NFT. But the NFT not show in NFT opensea profile Collection. I am using openzeppelin library and the basic project is using Hashlib labs. The skenario is when i mint ...
angga danar's user avatar
0 votes
0 answers
22 views

why can't use Apostrophe( ' ) in token Name,

Polygon explorer/ etherscan explorer why can't use Apostrophe( ' ) in token Name, And if I did the explorer shows "&#39"; instead Apostrophe. eg.(cat's = cat+ "&#39"+ s) ...
Jayasurya J's user avatar
0 votes
2 answers
41 views

Error: gas required exceeds allowance or always failing transaction in Remix

Im trying to deploy my NFT contract and works fine but only if i mint less then 1000 nfts. When i tried to raise up to 2000, 5000, 8000 and even 10000 i got the gas exceeds allowance error. Can some ...
kauan's user avatar
  • 1
1 vote
1 answer
17 views

Can an Artist, like Beeple, Mint additional NFT's of the same Artwork?

I know this is old news, but I've been trying to wrap my head around this for two years... On March 11, 2021, Beeple sold an Etherium-based NFT of "Everydays - The First 5,000 Days" for ...
retriever123's user avatar
0 votes
1 answer
18 views

Lookin for simplest way to identify any NFT owned by a known, owned, public address

my users wants to share full NFT inventory in my app, including Tokens that aren't wide known and/or without supportted dapps (end of dapp's life). In brief, a complete NFT gallery for any user. I ...
ManOguaR's user avatar
1 vote
1 answer
14 views

Gnosis not signing on the contract

We have sent all our contracts to the Gnosis safe which we believe would be safe for the protocol but we are having a problem. We are currently trying to enable the contract to mint our NFTs but it ...
OnlyMe's user avatar
  • 13
1 vote
1 answer
20 views

Deploying a smart contract without private key

I want to create a web app that will allow users to deploy a smart contract for ERC721 SBT (Soul-Bound Tokens) and then transfer those SBTs to specific accounts. However, I intend to keep it as a no-...
Soham Ratnaparkhi's user avatar
0 votes
2 answers
22 views

Unable to withdraw funds from NFT contract

I am unable to withdraw funds from my NFT contract, appreciate your help, I am not a dev myself and the dev team could not help so far, here is the link to the error: https://dashboard.tenderly.co/...
A.L.'s user avatar
  • 1
0 votes
2 answers
39 views

Transfer Ownership of a contract from one adress to another problem

I am Digital Desginer and i wanted to sell my Designs as of NFT, so that I found a guy to write me an smart contract on polygon network for me to able to publish my arts on blockchain . so After he ...
BitcoinBrothers's user avatar
0 votes
1 answer
13 views

Issue with DynamicSvgNft Contract: getHighSVG() and getLowSVG() Functions Returning Incorrect Values

Hello Stack Exchange community! I am currently working on a project that involves an NFT contract called DynamicSvgNft. The contract is designed to change the SVG image URI of the NFT based on a ...
Web3Phoenix's user avatar
0 votes
1 answer
8 views

NFT auction, gas error popping up

I m trying to build a project where you can auction an NFT. I am using Sepolia Test Network and have enough ETHs in there. I have 2 main functions that I m using, "start" and "end" ...
Elle Derick's user avatar
0 votes
0 answers
9 views

Add NFT Royalties Feature to a marketplace?

###Checking if the NFT being sold on your marketplace implemented royalties### Here is reply bytes4 private constant _INTERFACE_ID_ERC2981 = 0x2a55205a; function checkRoyalties(address _contract) ...
LokiAlice's user avatar
0 votes
1 answer
19 views

How to claim NFT to my address if my address is approved on the NFT?

I have my address approved on an nft using setApprovedForAll method, and I want to claim this nft and transfer it to my account. how should I do so?
Mohamed Ashraf's user avatar
-4 votes
1 answer
44 views

How to get a full address (0xdd7319d5cbeb72c20776809f23ea2b3ab1296144) of an ens(cahldee.eth) where this has NFTS

i'm retrieve the nfts from an ENS but i want to retrieve the address behind that ENS. Irwing Tello
Irwing Tello's user avatar
1 vote
0 answers
15 views

Is it a good practice to token gate smart contracts for a user base?

I want to create a contract like below which restricts access to some functions based on holding of ERC721 token. contract GreetingContract { IERC721 public token; string greeting; ...
Rishi Deorukhkar's user avatar
0 votes
1 answer
10 views

When a wrong network in MetaMask is active, how to prevent from or warn the user?

There's a button for minting an NFT on my website. Somebody, during a test, when trying to mint a token was using a wrong network -- Ethereum mainnent instead of Arbitrum Goerli. And a TX got through ...
Camila326's user avatar
0 votes
1 answer
33 views

Given token id of ERC1155, how to find out how many copies of it are there?

This may not be possible to implement in an easy fashion via the standard calls only to blockchain, therefore I'd consider third-party API providers such as Alchemy.com I'm aware of, let's say, ...
Nondi's user avatar
  • 49
0 votes
1 answer
16 views

value for transaction for stable price with chainlink price feed

I have an NFT marketplace contract that sells NFTs with stable price and uses chainlink aggregator for price feed. the contract code is like this: import "@chainlink/contracts/src/v0.8/...
Sepehr Mirnasrollahi's user avatar
0 votes
0 answers
16 views

ERC721A internal _transfer

I am currently developing a contract that includes a function allowing token transfers without the need for explicit approval. However, I have encountered a challenge as the existing functions within ...
NFT_king's user avatar
0 votes
0 answers
18 views

Transaction Reverted by EVM during NFT Minting Process

Body: I am trying to create an NFT minting application using React for the frontend, Express.js for the backend, and Solidity for the smart contract. The smart contract is deployed on the Ethereum ...
New programmer's user avatar
0 votes
0 answers
15 views

How to get all the tokens ids right after minting?

I'm currently grabbing the token ID after minting like below. tokenId = BigInt(receipt.logs[0].topics[3]).toString(); But if I do bulk minting (say minting 5 NFTs) in one transaction, how do I grab ...
ratib90486's user avatar
0 votes
0 answers
8 views

Is it possible to add more files in an already uploaded IPFS folder?

I have an already uploaded folder of JSON files on IPFS , HERE My question is can I add more files to this folder? It doesn't seem possible to use Pinata for this but is there any other method to do ...
Zartaj Afser's user avatar
  • 1,247
1 vote
2 answers
21 views

How to populate large integer arrays in Solidity?

I'm currently building an NFT fantasy league game on ethereum where I want to add the functionality of on demand minting of random tokens. For that I need to keep track of the tokens that are ...
Inshal Aamir's user avatar
0 votes
0 answers
15 views

How to create an asset tracking/verification system

New to this (currently a Kotlin dev) so looking for some starting points to research how to create a system to do the following: Handle a user creating an asset with some data (e.g. a timesheet with ...
Dre's user avatar
  • 101
0 votes
1 answer
72 views

How to check if an address owns an NFT

I have a customer that wants to know if a specific public address, accessing his API, owns a specific NFT. I just implemented a athentication system based on wallet nonce signing, using metamask by ...
ManOguaR's user avatar
1 vote
2 answers
96 views

How to retrieve all ERC721 tokens of a certain collection what a wallet ownes?

Suppose, I have ERC721 NFT collection. And I sell it via my website. When a user comes, logs in via MetaMask, how will I be able to retrieve all of the NFTs of my collection that he owns? Will I at ...
DankenN's user avatar
  • 37
0 votes
0 answers
15 views

Do ERC721 BatchMetadataUpdate token ranges have to be consecutive token ID numbers?

I am implementing a ERC721 contract with NFT metadata on-chain and will have a function that can update the metadata if needed. Therefore I would like to emit the BatchMetadataUpdate event after this ...
Vince Reid's user avatar
0 votes
0 answers
10 views

.Scam issue ApprovalForAll(send nft from owner to another wallet) [duplicate]

this guy use the following code to scam and send nft via smart contract between my wallet to his wallet .ApprovalForAll( owner=[Sender] 0x8642b756a009d29da93dec774aa8bc5a329abae1, operator=...
Odee theking's user avatar
1 vote
1 answer
15 views

Nft data from marketplaces

How can I get the addresses who’ve interacted with an NFT contract? Need this to generate contract analytics / Renat Ghoste
renatghoste's user avatar
1 vote
1 answer
38 views

Best ERC-721 wallet for polygon chain technophobes

As the title suggests, I'm looking for advice in helping non-technical people install an app on both android, iOS that is super simple to use and that will then allow me to send them ERC-721 NFTs. ...
Richard Green's user avatar
0 votes
1 answer
21 views

Is it wise to put all of the data to blockchain network?

I am building the NFT Marketplace based on ethereum blockchain, and i discovered the smart contract could replace the database for storing all of the transactions and all of the user's property, but i ...
user965347's user avatar
0 votes
1 answer
12 views

How can I get the addresses who’ve interacted with an NFT contract? Need this to generate contract analytics

I'm looking for a method to obtain the addresses of individuals who have interacted with a specific NFT contract. My goal is to generate contract analytics by identifying the users who have engaged ...
Jesus Silva's user avatar
2 votes
1 answer
68 views

Is there a way/tool to check if an NFT or token address is malicious?

I want to know ways to find out suspicious activities/bad intentions programmed in NFT or token addresses. - elchuo160
Jesus Silva's user avatar
6 votes
4 answers
217 views

How to get Token balances

How to get balances of all ERC 20 tokens a wallet holds?
Devsuite's user avatar
0 votes
1 answer
25 views

Balance doesn't change after I mint NFT

I am trying to connect EC2 with my testnet CA which I deployed on Mumbai. The Contract is a functions as an NFT, inheriting ERC721.sol from @openzeppelin. I created my Instance in aws EC2, and I wrote ...
Ljyeon's user avatar
  • 3

1
2 3 4 5
25