Questions tagged [erc721]

123 questions
0
votes
1 answer

Unable to set approval nor transfer ownership in ERC721 smart contract

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 need to transfer ownership of the token to the caller I keep getting these errors X Fail with error…
user9958772
  • 147
  • 2
  • 9
0
votes
2 answers

Inheriting multiple ERC721 extensions

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 tokens made by an address. I get this error when trying to use both : Derived contract must override…
0
votes
0 answers

How to set generic splitted royalties on my ERC721 collection contract directly?

I am stuck with a problem where I need to implement royalties in my ERC721 collection contract Usual way is to deploy the contract and set/split royalties on opensea/rarible or other secondary marketplaces. But if unknown marketplace lists my…
0
votes
0 answers

How to create many ERC721 tokens sharing the same metadata tokenURI but different TokenId?

I'm actually trying to create an NFT Marketplace, where a user can upload his NFT (create/mint new NFT) and other users can give some Ether and mint the same NFT. Trying to achieve this with the ERC721 standard. Maybe ERC1155 will be a better choice…
DevABDee
  • 180
  • 9
0
votes
0 answers

Error in compiling and migrating ERC721 contract?

I am triying to deploy mi ERC721 contract in my private Blockchian. This is the Smart Contract: // SPDX-License-Identifier: MIT pragma solidity >=0.4.22 <0.9.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import…
WakiApi
  • 25
  • 5
0
votes
2 answers

State Overrides: OverflowError: Python int too large to convert to C ssize_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 a series of view functions and aggregate the outputs "on chain" before returning the output all at…
user2497586
0
votes
1 answer

How to see the most recent bids on different marketplaces for ERC721 token?

I had a similar question regarding different listings. Since there can be multiple listings for the same ERC721 token, it was only possible to retrieve the data about those listings using APIs of different marketplaces. Is there an API to retrieve…
Cenk
  • 80
  • 1
  • 8
0
votes
1 answer

ERC721 Metadata not passed from NFT minting contract

I am trying to create a simple ERC721 contract that mints a NFT hard coded into the contract to anyone who sends 100 Wei. // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import…
spore234
  • 3,550
  • 6
  • 50
  • 76
0
votes
1 answer

Proving ownership of a NFT collection minted on Opensea

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 fairly straightforward for a NFT collection with a contract address. We can simply do: const…
OTH
  • 19
  • 1
0
votes
2 answers

Is there an API to retrieve ERC-721 listings/bids from different marketplaces?

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 those platforms have their own APIs but none are commercially available. Any of the following…
Cenk
  • 80
  • 1
  • 8
0
votes
1 answer

Solidity - Is there function to view list of holders addresses and each address attached tokens that it owns

Is there function to view list of holders addresses and each address attached tokens that it owns something like this - HOLDERADDRESS: Tokens Id: - ADRESS1 1 , 24 , - ADDRES2 9 , 6 , - ADDRES3 1 , 24 ,
0
votes
1 answer

Error while related to big number in react for input in smart contract erc721

I want to integrate my smart contract with reactjs. I have this method called set_price() where i enter the value of token ID (in uint256) and price (uint256) . TokenID is basically a hash of some other values so it was of type byte32 and i have…
Zoha Akram
  • 47
  • 9
0
votes
2 answers

How to airdrop NFTs to specific NFT owners?

I want to understand how can we give free ERC721 or ERC20 tokens to specific NFT owner addresses. For example Bored Ape yacht club created an ERC20 coin with a pre-defined amount which can be claimed only from the owners of the BAYC NFTs. I tried to…
Dakata
  • 1,227
  • 2
  • 14
  • 33
0
votes
1 answer

How to link my IPFS content to ERC721 contract?

I´m trying to make a simple ERC721 NFT minting contract. I created an image and its corresponding metadata and I´ve uploaded them to the ipfs. When does this image and metadata link with the token created in the smart contract?. I was trying to use…
ArtySaurio
  • 25
  • 3
0
votes
1 answer

Getting error Erc721 : operator Query for non existent token

I am making a nft rental contract When calling setUser or any function in the contract error is generated -- ERC721: operator query for nonexistent token. Even if the token is minted . Any guess why? The contract is as…
1 2 3
8 9