Questions tagged [erc-721]

Relating to ERC-721, the standard for Non-Fungible Tokens (also known as Deeds)

Filter by
Sorted by
Tagged with
0 votes
1 answer
7 views

How NFT marketplaces detect NFTs metadata updated?

I have learned ERC-4906 to notify updating metadata. I found out the way to detect some NFTs metadata updated, but I don't know how marketplace detect tremendous NFTs metadata updated. Please let me ...
ttt's user avatar
  • 97
0 votes
2 answers
24 views

How to get which tokens have been transferred by a transaction using ethers or Web3?

Given for example this transaction, is there a way of getting exactly what ERC721 tokens have been transferred by it? To clarify, it would be this detail here: Is it possible to get this information ...
Falcon Stakepool's user avatar
2 votes
2 answers
50 views

ERC721 Inheritance Issues

I have a smart-contract that inherits from ERC721, as follows: contract myNFTsMinter is ERC721, Pausable, Ownable, ReentrancyGuard { ... } In my javascript file (I'm using Hardhat + ethers.js) I ...
Mark55's user avatar
  • 1,011
1 vote
1 answer
24 views

How do i read sales here?

I've been trying to read the sales in this transaction. Tried to read "Execution721MakerFeePacked" event But could not understand anything from it. Tried seeing what NFTs got transferred and ...
Ladybug's user avatar
  • 11
0 votes
0 answers
8 views

Seeking Smart Contract for Certifying Physical Artworks Similar to Kronos360

I'm looking for a smart contract that can certify physical artworks, similar to Kronos360's approach for watches. The contract should mint a unique token for each artwork, linked to its image and ...
YoannR's user avatar
  • 1
0 votes
0 answers
63 views

Why is hardhat contract deployment script consuming high gas?

const hre = require("hardhat"); async function main(file_name, private_key, smart_contract_name, smart_contract_symbol) { const networkURL = hre.network.config.url; const provider = new ...
Gaurav Pant's user avatar
0 votes
0 answers
28 views

Efficient Storage Strategies for ERC721 with Editable Content

I'm just starting to learn about smart contracts, Ethereum and NFTs. It's all new and I need your help with managing editable NFTs. I want to create a NFT with content that is easy to modify while ...
user9541033's user avatar
0 votes
0 answers
30 views

Deployment Issues with BasicNFT on Sepolia Network Using Foundry: Mismatched Bytecode and Successful Deployment

While deploying a smart contract using Foundry on the Sepolia test network, I'm encountering an issue. The deployment seems successful, but I'm facing a challenge verifying the contract's bytecode. ...
Aryan's user avatar
  • 1
0 votes
1 answer
70 views

Can't see the metadata for my sepolia nft on opensea's testnet or ehterscan testnet

I'm following a tutorial on how to create an ERC721 contract and I've ran into a problem. I can't see the image for an NFT I've minted on Opensea's testnet. none of the metadata will load after almost ...
Jupiter Express's user avatar
1 vote
2 answers
221 views

Trying to create a soulbound token. Keep getting two errors

I'm trying to create a soulbound (non-transferable NFT) token on Solidity. Here is my code so far. // SPDX-License-Identifier: MIT pragma solidity >=0.4.17 <0.9.0; import "@openzeppelin/...
NFTSamurai's user avatar
0 votes
0 answers
7 views

Can we provide NFT royalties to 2 addresses through Opensea?

I have an NFT collection and want to split the royalty between 2 addresses. After some research, I stumbled upon the contractURI() method where we can add the information like: function contractURI() ...
Shubham Sharma's user avatar
0 votes
1 answer
23 views

Best approach to simplify phantom array logic (ERC721 Enumerable) [HARD]

I wanted to create an ERC721 token vault with arbitrary numbers of NFTs pre-"minted", yet compliant with IERC721Enumerable as a proof-of-concept. For simplicity, the NFT ids are contiguous. ...
Ashraile's user avatar
0 votes
1 answer
146 views

Why am I not able to deploy ERC721 contract to Avalanche Fuji?

// SPDX-License-Identifier: MIT pragma solidity ^0.8.20; import "@openzeppelin/[email protected]/token/ERC721/ERC721.sol"; contract NFTERC721 is ERC721 { uint256 private _nextTokenId; ...
Gaurav Pant's user avatar
1 vote
1 answer
22 views

How can I access the 3rd argument of _safeMint?

I am minting an ERC721 using _safeMint and I am setting the 3rd argument to a string. I want to be able to access this data argument using the transaction hash or whatever I have to access the ...
Falcon Stakepool's user avatar
1 vote
0 answers
15 views

Attack vector in direct transfer function in EC721

How the attack vector would look like in case of direct transfer function in EC721 standard. It is described in the comment A marketplace is transferring an NFT from Bob to Mary (among many other &...
ramiz_karaeski's user avatar
0 votes
1 answer
83 views

How can I fix execution reverted: ERC721: approval to current owner?

My contract is returning me this error: execution reverted: ERC721: approval to current owner How can I fix this? //SPDX-License-Identifier: Unlicense pragma solidity ^0.8.0; import "hardhat/...
Mohamed Dhaanish's user avatar
1 vote
2 answers
88 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
121 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
94 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
25 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
34 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
1 vote
1 answer
32 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
1 vote
1 answer
73 views

When a ERC1155 works as ERC721 and when as ERC20?

Im trying to track in real time the holders of any ERC1155 contract, and I have this doubt about this interface. The ERC1155 can work as an NFT or as a Token, but also as both at the same time, right? ...
lucasmenendez's user avatar
1 vote
1 answer
64 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
1 vote
1 answer
31 views

How do i directly write in my ERC721 parent's private mapping?

MyContract is ERC721 I want to adapt the _update function to a specific usecase. In order to keep its core functionality, the adapted function needs to write into _owners, _balances and ...
PupSt4r's user avatar
  • 49
0 votes
0 answers
30 views

Can I add an NFT image to MetaMask on the Ganache test network?

Here is my code: const addImageToMetaMask = async (_tokenAddress, _tokenName, _tokenSymbol, _urlImage, _tokenId) => { try { if (typeof window.ethereum !== 'undefined') { const provider =...
azam's user avatar
  • 1
1 vote
0 answers
102 views

Slither, High risk vulnerability , arbitrary from in transferFrom (ERC20)

So I'm implementing a NFT marketplace. It allows a non custodial bidding system; Meaning an address can make a bid (provided it has enough fund at the moment of bidding) without sending the funds. To ...
Torof's user avatar
  • 561
1 vote
0 answers
28 views

0x ExchangeProxy addresses point to different implementations on Ethereum and Polygon

Why is it that on ethereum the 0xDef1C0ded9bec7F1a1670819833240f027b25EfF contract is a ERC1155OrdersFeature and on Polygon it is a ERC721OrdersFeature? Does is mean that there is no ERC1155 support ...
AFMeirelles's user avatar
0 votes
0 answers
21 views

Solidity Contract Size and ERC721

I have a contract that mints Tokens and I’m currently managing the properties of these Tokens using a series of Arrays, as follows: uint256[] public tokenIDsArray; uint256[] public ...
Mark55's user avatar
  • 1,011
1 vote
0 answers
18 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
0 answers
27 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
23 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
37 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
48 views

Burn ERC1155 from ERC721 Contract

Would like to understand on how burn mechanism works on ERC1155, the ERC1155 is an airdrop token that will be use on GeneratedNFT.sol mint function so that it will to mint an ERC721 token and burn the ...
0xhaz's user avatar
  • 3
1 vote
2 answers
321 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
  • 47
0 votes
0 answers
37 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
1 vote
2 answers
60 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
29 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
2 votes
1 answer
44 views

Getting trading data efficiently

How can I get historical trading data of an NFT collection programmatically? If it's a third party that can provide a service, please let me know and which one's are best too! thanks
Tien's user avatar
  • 193
3 votes
2 answers
130 views

Trying to get txn hash

How can I get an Ethereum transaction hash whenever a particular NFT/ERC20 token is transferred? Not sure exactly what process/code is needed to do that.
Tien's user avatar
  • 193
1 vote
1 answer
66 views

Easiest way to transfer NFT (ERC-721) IN to safe?

What is the best way to transfer an NFT TO a Safe Vault? Does a safe vault support ERC-721 transfers IN via SafeTransferFrom like a standard transfer through OpenSea? Thanks for any guidance you can ...
Mr Worldwide's user avatar
3 votes
2 answers
191 views

How to get ERC 721/1155 and ERC-20 data?

How do I get all the NFTs (ERC-721 & 1155) and Tokens (ERC-20) for a wallet address? Is there an API for this? Irwing Tello
Irwing Tello's user avatar
2 votes
1 answer
62 views

Help with event filters

I have been using a combination of eth_newFilter and eth_getFilterChanges for getting new NFTs minted on Ethereum and Polygon. But I miss some NFTs whenever my server gets overloaded. Is there any ...
Devsuite's user avatar
0 votes
1 answer
15 views

No field for creator in ERC721?

As I can see, ERC721 doesn't store the original creator of the NFT. Who is then considered the creator? The first owner?
Incerteza's user avatar
  • 101
0 votes
1 answer
44 views

When an NFT from one collection gets transfered, transfer certain NFTs from other collection automatically

There're 2 future NFT collections. Is it possible to create the contracts for them in such a way that whenever an NFT of collection_1 c1 gets, some NFTs from collection_2 c2 of the same account get ...
Nondi's user avatar
  • 49
0 votes
1 answer
28 views

Can an individual NFT that's not been minted yet have a whitelist?

As it's not been minted yet, it doesn't exist, right? However, what if I had an idea to create a future collection of 333 NFT. And I wanted to allow certain users to mint certain NFTs. Meaning, future ...
DankenN's user avatar
  • 47
0 votes
0 answers
89 views

How to re-mint NFTs to the existing holders?

Suppose, I've created an NFT collection of V1, of ERC751 or ERC1155. After some time, I've discovered that I want to fix a bug or improve it in some way, and this will become V2. I'll then go ahead ...
DankenN's user avatar
  • 47
0 votes
0 answers
41 views

Cannot get my Files to compile in hardhat. getting loop of a few error messages indicating I am either passing too many arguments or not enough

I have tried several solutions offered by a few others and have used open AI to try to get some help, but cannot get files to compile. Please know that I have also tried passing the parameters in the ...
Shawngilbert107's user avatar
0 votes
1 answer
25 views

How to embed information into an NFT of its type/class?

Let's say, I wanted to create an NFT collection such that there'll be 3 classes/types of NFTs: animals, humans and aliens. For this, will I then have to simply introduce a field for type in a contract ...
Nondi's user avatar
  • 49
0 votes
0 answers
66 views

ERC721 Smart Contract: Best Strategy for Handling Token Metadata when Minting Partially with IPFS Storage

I would like to create a ERC721 contract for a situation in which I don't have all the tokens ready upfront. Let say I would like to mint 100 tokens but I have only 10 at the moment of deploying the ...
Iván's user avatar
  • 181

1
2 3 4 5
19