I have an ERC721 contract that has a whitelistEnabled property which, if enabled, requires the user to pass a merkleproof to the minting function. Cur ...
I have an ERC721 contract that has a whitelistEnabled property which, if enabled, requires the user to pass a merkleproof to the minting function. Cur ...
I am trying to successfully write a unit test for my safeMint function below. Here is my current test: I am getting a failure message after i ru ...
I'm new in Solidity and trying to allow purchasing using ETH and other token such as USDT but I keep getting this error no matter what I tried. Thi ...
I am working on an NFT Marketplace creation task with Truffle. For that, I am using an ERC4907 smart contract and trying to compile it. Following is m ...
I have two smart contracts (A, B), which are extended from ERC721. Is it possible to create a function in B to call setApprovalForAll on A from a user ...
Source code: Hi everyone. While reading the Openzeppelin ERC-721 source code, I found that it defined two safeTransferFrom method with different i ...
I am new to blockchain application development and trying to create a smart contract in ERC 721. Currently, I implement a system with the help of a da ...
Can someone explain to me how I can set approval for ERC721 contract ? 1- At first, the token once minted belongs to the marketplace 2- with buy, I n ...
I would like to use both ERC721URIStorage for setting token URI easily but I would also like the methods in ERC721Enumberable to fetch the number of t ...
I've written some simple state override functions in a contract that I'd like to use to query specific data about a contract. The idea is that we call ...
I had a similar question regarding different listings. Since there can be multiple listings for the same ERC721 token, it was only possible to retriev ...
I am trying to create a simple ERC721 contract that mints a NFT hard coded into the contract to anyone who sends 100 Wei. The metadata JSON looks l ...
I have an error. I am trying to import my 'IERC165.sol' file to my 'ERC165.sol' and to my 'ERC721'. And I am receiving this error a long with two more ...
I am trying to develop a token-gated website, users will need to connect their wallet and proof their ownership of a NFT collection. Usually, this is ...
I am trying to get listings and/or the latest bids for the same ERC721 token from different marketplaces (such as Opensea or Looksrare). I know that t ...
I'm writing a staking smart-contract for ERC1155 contract (https://etherscan.io/address/0x2013ff029f9d3d31169f4fdc673c8b9fa0ce1fbd#code). When user wa ...
I am using web3.php script and need to get minted NFT IDs from a contract. Solution I think about is to read past contract "transfer" events and get ...
Is there a way to do the following: Is there a way, within solidity, to access the owner field of another contract. So I do not mean owns an NFT of ...
Background of Problem: I am developing an NFT Marketplace. In its workflow, the admin (deployer of the smart contract) adds NFTs to the marketplace, ...
I am building an erc721 contract (for practice) from scratch without using any external libraries such as openzepplin. till yet the basic functions w ...