New answers tagged erc-721
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/...
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 ...
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 ...
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.
...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
Top 50 recent answers are included
Related Tags
erc-721 × 943solidity × 373
nft × 366
erc-20 × 108
tokens × 98
erc-1155 × 82
opensea × 68
contract-development × 60
openzeppelin × 58
blockchain × 55
web3js × 48
openzeppelin-contracts × 48
mint × 43
go-ethereum × 39
etherscan × 37
remix × 35
ethers.js × 27
dapps × 25
meta-data × 24
contract-design × 22
ipfs × 21
polygon × 21
truffle × 20
contract-deployment × 20
hardhat × 20