Questions tagged [erc-721]

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

Filter by
Sorted by
Tagged with
1 vote
2 answers
49 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
55 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
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
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
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
1 vote
1 answer
31 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
22 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
22 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
  • 47
0 votes
0 answers
19 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
24 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
  • 533
1 vote
0 answers
25 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
20 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
  • 959
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
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
16 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
32 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
101 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
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
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
2 votes
1 answer
42 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
89 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
34 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
132 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
58 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
13 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
29 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
23 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
  • 37
0 votes
0 answers
83 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
  • 37
0 votes
0 answers
22 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
18 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
26 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
0 votes
0 answers
16 views

Minting ERC721 in Remix solidity unit testing

I am trying to unit test by minting from my NFT smart contract, which is utilizing safeTransfer, and the Remix VM is (rightly) denying my testing contract from minting an NFT because it hasn't ...
Kenzo Nakamura's user avatar
1 vote
0 answers
10 views

publicSaleKey in NFT smart contract - what's the use?

In the Azuki NFT smart contract, the public mint function requires a publicSaleKey to be sent with it: function publicSaleMint( uint256 quantity, uint256 callerPublicSaleKey ) ...
Kenzo Nakamura's user avatar
0 votes
1 answer
15 views

How only allow NFT minting after course completion

I am new to ethereum I building a course page where you would get an NFT if you complete the course. Any idea on how to implement it.
Ashutosh Jha's user avatar
0 votes
0 answers
73 views

"contract creation code storage out of gas" always getting this error while deploying on eth mainnet

I'm trying to deploy this simple NFT contract https://github.com/NishantPacharne/new-contract/blob/main/contract.sol .. I was able to deploy correctly on goerli testnet https://goerli.etherscan.io/tx/...
Nishant Pacharne's user avatar
0 votes
1 answer
23 views

ERC-721 Contract

I am making an ERC-721 smart contract and want a feature where an NFT with special perks can only be claimed when it has been transferred to a different wallet. Scenario: Person A mints an NFT with ...
user120063's user avatar
0 votes
0 answers
24 views

openzeppelin safeMint erc721 to a gnosis safe

I have deployed a pretty standard ERC721 contract from openzeppelin. I can safemint without problems to a normal wallet/address but when i try to safemint using a gnosis safe as a destination it ...
Onitlikesonic's user avatar
0 votes
0 answers
16 views

I have an existing ERC721A smart contract deployed but I feel there's some error in the contract. Please help!

My team and I deployed an ERC721A smart contract months ago and we need to use that contract again when we try to mint 1 NFT it shows normal gas fees but when we try to mint more than one it shows 1.2 ...
Chirag's user avatar
  • 23
0 votes
1 answer
48 views

Burn an existing NFT and Mint a new NFT in one go

I am developing a Dapp for NFT minting. In order to mint a new 2nd NFT, the user has to burn the 1st one that he owns. I know that our Dapp can prompt the user to burn the 1st NFT. And only after it's ...
Edward Tam's user avatar
0 votes
0 answers
65 views

Opensea seaport protocol works with Eip712 offline signatures only through permit method of tokens?

I try understand how offline signatures work with seaport protocol for example. Seaport use offline sign to make operations in token contract behalf signer of offline signature (eip712). But token ...
Peter Ivanoff's user avatar
0 votes
1 answer
90 views

How to mint random NFT token using ERC721SeaDrop?

I need your help with a problem. I am using ERC721SeaDrop smart contract provided by opensea. But it mints the token with a token id like 1,2,3 etc. I want it to generate random token ID for NFTs. So ...
Vinay Kharayat's user avatar
1 vote
1 answer
41 views

Is it possible to know if a NFT was sold in OpenSea?

Is it possible to detect, by looking at the transfer events, whether a NFT was sold from a Marketplace or not? Basically I want to know if, in these cases, the safeTransferFrom method notifies the ...
Falcon Stakepool's user avatar
2 votes
0 answers
225 views

Programmatically importing NFT to Metamask

Is it possible to call browser JS to import an NFT to the user's wallet once it's been minted? I'm wondering if the following configuration can be set programmatically:
Emanegux's user avatar
  • 123
0 votes
0 answers
24 views

Nft dont apper on metamask

I minted contract and i see trasaction with nft on etherscan but on metamask profile I don't see any nft (same on opensea testnets) also on etherscan nft picture is blank how to fix this. Transaction: ...
Marcin Łętowski's user avatar
0 votes
2 answers
88 views

Transaction is successful but nft photo is empty

I have issue i succesfully minted and send nft but when I checking this nft on etherscan i see nft transaction but don't see img same on metamask i don't see any kind of nft or any nft photos ...
Marcin Łętowski's user avatar
0 votes
0 answers
109 views

How to edit Thirdweb ERC721 drop contract to set predetermined price within the contract?

I am trying to set a predetermined dynamic price based on tokenid for the minting or claiming of nfts within the contract, but utilizing the thirdweb sdk. For example, id#1 = $1, id#2 = $2, etc. etc. ...
Nunber1's user avatar
0 votes
1 answer
30 views

How can I see the history of an ERC1155 token on-chain?

Let's say I have 10 tokens of a specific token id within an ERC1155 smart contract. If I send 1 of those tokens to another address and then this address send it elsewhere, is there a way I can see the ...
Falcon Stakepool's user avatar

1
2 3 4 5
20