Questions tagged [erc721]

123 questions
0
votes
2 answers

Block OpenSea trading

Is there a way to avoid trading NFTs on standard marketplaces like OpenSea without breaking the erc721 standard? If so, how would you go about it? It is about an NFT that is something like a voucher that can be used 5 times. Over 5 years, once per…
SLTN98
  • 3
  • 1
0
votes
1 answer

I want to mint and transfer 1 erc20(custom) to the minter itself, just to track erc20 transaction

This is the code used, I am using polygon testnet for testing, the approve function is working fine but transferFrom is not working(error: -32000) // SPDX-License-Identifier: MIT pragma solidity 0.8.0; import…
0
votes
2 answers

Compiling an ERC721URIStorage contract

This question is essentially a follow-up to this question. I have been trying to follow Alchemy documentation to create an NFT contract but encountered the need (as described in the linked question) to import ERC721URIStorage. However, I now get a…
N. Mao
  • 499
  • 1
  • 10
  • 19
0
votes
1 answer

SetApprovalForAll: not owner nor approved

Hello to everyone i have a problem in my contracts and i don't understand how to solve it...Is a Nft Marketplace, and the problem happen on the second sale, i mean if i mint a token, then import the token in the markeplace and sell it from A to B is…
0
votes
1 answer

Can I connect solidity contract with backend Node.js

I am a beginner, Can anyone please guide me that how can I connect my smart contract (erc721) with node.js. Please guide through steps or links. Thanks a lot.
Zoha Akram
  • 47
  • 9
0
votes
1 answer

Privilege for a list of addresses

I want to give free mints to people who owns an NFT from another collection. I can do it through importing interface of another contract and calling the balanceOf function with the related address, but when I do that, people can transfer their NFTs…
0
votes
1 answer

Migrate my users ERC1155 tokens to ERC721

I have my ERC1155 token contract deployed on Ethereum network i want my token holders to make the token to 721 standard and burn the old tokens how can i achieve that using a proxy contract need some proper direction on this , thanks So looking to…
0
votes
2 answers

How are ERC 721 based DAO created?

I am trying to create a NFT DAO, ERC 721 based after ERC 721 vote feature came in recently. Tally is the only tool allowing for that. But I wanted to try and experience traditional DAO creation first. So I have been trying my hands on to create a…
0
votes
1 answer

Unable to do transaction -ERC 721

I'm unable to complete transaction for ERC 721 using Metamask with polygon.this error message is shown when i tryto transact.i'm using this contract.https://github.com/HashLips/solidity_smart_contracts/blob/main/contracts/NFT/NFT.sol Gas estimation…
user18023742
0
votes
1 answer

Smart Contract NFT how to add price by code to whole items in collection?

Greeting, Could you tell me how to add price for every item in collection hosted by OpenSea ? So, I have working code, It created: 1.Collection name (from construct before deploy) 2.NFT symbol (from construct before deploy) 3.URI to ipfs (from…
indover
  • 31
  • 3
0
votes
2 answers

ERC721 Minted NFT not showing on Opensea.io testnet

I run my code on rinkeby etherscan network and it works perfectly. But the image and descriptions are not showing on opensea testnet. I run the /validate/ url it shows Valid: "false". Here is what I found when I force update on opensea,…
0
votes
1 answer

can't import module from solidity file to python file in brownie; ImportError: cannot import name 'AdvancedCollectible' from 'brownie'

I'm trying to build out this tutorial, but I keep getting the same error when I try to import from a solidity file to a python script and run it, all in the same environment via brownie. I'm using this command in my local terminal: 'brownie run…
0
votes
0 answers

Is it possible to tell if a transaction involves an ERC721 token if the only information you have is the transaction address from Ethereum blockchain?

Right now I have a web socket that's subscribed to all pending transactions. I was wondering if I'm able to figure out if I'm able to decide if a particular transaction involves an ERC721 token with the object that gets returned. I was looking into…
0
votes
2 answers

Create two different instances of ERC-721 in the same smart contract

So I want to create two different kind of NFTs, each one with its own name, but I don't want to create two different smart contracts and duplicate my code. I don't know if its possible, but it is worth asking. Sorry if it's an stupid…
brt88
  • 37
  • 6
0
votes
1 answer

ERC721 with payable function

I writed a code enter link description here with payable function transfer. but, after Deploy in the "etherscan" showed me that is is not erc721, it is ERC20. can help me? where is wrong?
1 2 3
8 9