python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Guarantee a contract can only receive one type of ERC721 nft
Creating a contract for a privateSale fo ERC721 NFTs, first I mint some inventory to the privateSale contract address implementing onErc721Received(...)
what I want to guarantee is that this privateSa...

Carlos Sanchez
Votes: 0
Answers: 1
Internal JSON-RPC error with MetaMask on Polygon Blockchain. `ERC721: transfer caller is not owner nor approved.`
I am making an NFT marketplace. When I deployed my contract on the Mumbai-testnet. The createToken function might work cause it brings up the Metamask for the Gas Fee but after that, the Error occurs ...

Megabyte
Votes: 0
Answers: 3
Use external packages in eth-brownie?
I am trying open a ERC721 smart contract in Brownie on VSCode and loop through the token ids and set the URI of each in each iteration. I execute the script with brownie run scripts/parcel_asset/testp...

werkhardor
Votes: 0
Answers: 2
Burning Deployed ERC Tokens In an NFT Mint Function - Compiles, but Transaction Fails
I am very new to Solidity, and have recently been working on trying to learn the ropes. For reference, I have been using code from this video (https://www.youtube.com/watch?v=tBMk1iZa85Y) as a primer ...
brandonman
Votes: 0
Answers: 1