As of May 31, 2023, we have updated our Code of Conduct.

New answers tagged

1 vote

Managing NFT Royalties Across Marketplaces?

Extension of ERC721 with the ERC2981 NFT Royalty Standard is a standardized way to retrieve royalty payment information. You can see the contract functions here: https://docs.openzeppelin.com/...
lordarora's user avatar
0 votes

How only allow NFT minting after course completion

you need to have mapping to get track of whether an address is completed the course or not eg: mapping(address => bool) public isCompleted you can updtae this mapping if specefic address completed ...
mahyar's user avatar
  • 53
0 votes

ERC-721 Contract

I guess the easy way would be when user A mints the NFT it gets minted to the contract itself and when someone buys it then the ownership gets transferred to that person. This wouldn't allow anyone to ...
Zartaj Afser's user avatar
0 votes
Accepted

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

It won't be straightforward to use the Transfer event. Instead, you may want to use the item_sold and the item_transferred events provided by OpenSea. You can listen to them by using their Stream API. ...
Falcon Stakepool's user avatar
1 vote

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

I think it's possible by taking advantage of the safeTransferFrom function. The user can just transfer the old NFT this way to the new contract, triggering its onERC721Received function. You need only ...
0xSanson's user avatar
  • 2,305
0 votes

Transfer ERC721 tokens in BULK to single address

I made a small (free) tool that helps when transferring multiple NFTs from an ERC721: https://theforever.io/erc721-batch-transfer-tool This assumes that you've already transferred the tokens to your ...
spobin's user avatar
  • 1
0 votes

An alternative to ERC721Enumerable and tokenOfOwnerByIndex()?

If you develop a contract by yourself, you are able to write your own functionality. Just create a structure which will store ids of tokens per user address: mapping(address => uint256[]) private ...
Gleichmut's user avatar
  • 412
0 votes

How to mint random NFT token using ERC721SeaDrop?

To generate a random token ID for ERC721 tokens, you can use the keccak256 hash function to generate a hash of a random number, which can then be used as the token ID. Here's an example of how to do ...
Kelvin Chelenje's user avatar
0 votes
Accepted

Transaction is successful but nft photo is empty

On mainnet Etherscan, NFT images take some time to be indexed, with different indexing priorities such as if your token is updated or not. Testnets explorers such as Sepolia or Goerli unfortunately do ...
0xV4L3NT1N3's user avatar
1 vote

Transaction is successful but nft photo is empty

There is something you need to understand when working with ERC721 contracts. There are 2 types of NFTs you generate through this standard: Multiple NFTs: Something similar to Bored Apes. In this ...
Shubham Sharma's user avatar

Top 50 recent answers are included