Questions tagged [nft]
Questions about NFTs, non-fungible tokens.
1,208
questions
0
votes
1
answer
15
views
Can't see the metadata for my sepolia nft on opensea's testnet or ehterscan testnet
I'm following a tutorial on how to create an ERC721 contract and I've ran into a problem. I can't see the image for an NFT I've minted on Opensea's testnet. none of the metadata will load after almost ...
1
vote
0
answers
18
views
Is NFT swap possible on cross chains?
I have done a bit of research on this, and I have found only the same chain NFT swap but I want to know the different chain swapping b/w two users, Please provide some links or guidance to achieve NFT ...
0
votes
0
answers
12
views
Smart Contract Logic for Dynamic Yield Distribution in ERC-4626-Based Promo Code NFTs
I am implementing a feature an NFT feature NFT promo codes, using ERC-4626 (Tokenized Vault Standard) to create promo code NFTs that accrue yield over time. My question is focused on one specific ...
0
votes
0
answers
6
views
Can we provide NFT royalties to 2 addresses through Opensea?
I have an NFT collection and want to split the royalty between 2 addresses. After some research, I stumbled upon the contractURI() method where we can add the information like:
function contractURI() ...
0
votes
1
answer
25
views
How to exchange one nft for another from a different contract?
I have 2 ERC1155 contracts, and am looking to transfer nft2 into nft1's wallet upon checking wallet holds nft1, but not sure what I'm doing wrong.
This is my nft1 contract:
import "./NFT2.sol&...
0
votes
1
answer
20
views
Best approach to simplify phantom array logic (ERC721 Enumerable) [HARD]
I wanted to create an ERC721 token vault with arbitrary numbers of NFTs pre-"minted", yet compliant with IERC721Enumerable as a proof-of-concept.
For simplicity, the NFT ids are contiguous. ...
0
votes
0
answers
10
views
How to make a website mint multiple copies of the same NFT?
On OpenSea, I know how to make multiple copies of the same NFT (you just make the set number larger). However I don’t want to use OpenSea, because I want a minting website, where users can mint their ...
0
votes
0
answers
7
views
How to fix `str is undefined` nft dapp upload picture problem?
I'm trying to do an example in a tutorial, I tried to run this, but I get an error that "Upload errorTypeError: str is undefined". How can I solve this?
I tried: -> deleting artifacts and ...
0
votes
0
answers
28
views
NFT-Marketplace-Tutorial
I try to do example this tutorial. I run succesfully this. But I take error that "Upload errorTypeError: str is undefined". How can ı solve his?
I did before:
-> I deleted artifacts the ı ...
0
votes
1
answer
42
views
Is Making an NFT on Binance Smart Chain on Remix currently possible? (compiler versions problem)
I'm trying to make a basic imageless NFT for Binance Smart Chain using remix.ethereum.org (for NFT identity verification purposes) but I've encountered a problem. Basically solidity version 0.8.2 or ...
0
votes
1
answer
27
views
ETH stuck in Polygon (Matic): Bridge smart contract
I was trying to make an NFT purchase on OpenSea and somehow I managed to send ETH to a "Polygon (Matic): Bridge" smart contract but didn't get the NFT I was expecting in exchange. Now I don'...
0
votes
0
answers
19
views
Unable to view image from ipfs link
I am trying to make dapp in which someone will upload an image and then the dapp will mint an nft for that image and then show the image.
But I am running into a problem. The dapp is generating a ipfs ...
0
votes
1
answer
9
views
Is there any other use-case of having a decentralised network other than majorly DeFi and GameFi?
I have been familiar with the Web3 ecosystem for almost 2-years now. But I still fail to understand if there is any other real world use-case for a decentralised network other than DeFi, ICOs and NFTs ...
0
votes
1
answer
17
views
How to register a work created through coding on Opensea
The work I created is made with code, and Opensea can only upload things like images and videos. Can't I upload generative art made with code?
0
votes
1
answer
35
views
Transaction Builder: Error Message: GS013
I sent an nft to the wrong chain (eth) so I created a new wallet through the loom video on the correct chain (optimism). Now I am trying to send my nft from my newly created wallet on optimism with ...
0
votes
1
answer
53
views
NFT transfer to a contract in ERC1155 standard
NFTS transfer from minter to contract isn't working, below is the detailed problem.
NFT.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.19;
import {ERC1155} from "@openzeppelin/...
0
votes
1
answer
35
views
Can I have different metadata of the ERC-1155 NFTs with the same token ID?
Let's say I mint 1000 NFT copies of token ID 1 to 1000 people. Now I want those ID 1 NFTs to have different in one of metadata, ex: Level.
So when user see the NFTs on the marketplace, they will see ...
0
votes
1
answer
30
views
Perplexing issue: Ownable: caller is not the owner'
i am a new developer and i am struggling with an issue since two weeks now and can't get to the bottom of it.
Here is some context: I have two smart contracts, one minting an NFT and the other issuing ...
0
votes
0
answers
16
views
Transaction failure when deploying an NFT smart contract
I encountered this error while deploying an NFT smart contract, I am a beginner, please help me.
1
vote
1
answer
34
views
NFT smart contract review
I wrote an NFT smart contract based on OpenZeppelin documentation, I request you to review this smart contract and tell me if it is safe, complete and in terms of writing is clean and professional.
...
0
votes
1
answer
41
views
How can I fix execution reverted: ERC721: approval to current owner?
My contract is returning me this error:
execution reverted: ERC721: approval to current owner
How can I fix this?
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;
import "hardhat/...
1
vote
2
answers
59
views
How can I fix a problem with transferring ERC721 by approved contract?
Hey everyone
I'm new to NFT development and developing an ERC721 token for property ownership and marketplace. I implemented two functions to enable a user to put their token on sale for another user ...
0
votes
1
answer
40
views
ERC721 token image not showing in wallet
Hey everyone
I'm new to NFT development. I developed an ERC-721 token used for property ownership and I deployed and minted a token both on Anvil and sepolia. I can import the token on metamask but ...
0
votes
1
answer
76
views
NFT metadata for property ownership ERC721 token
Hey everyone
I'm new to NFT development and I'm trying to develop a simple property ownership and marketplace using the ERC721 token standard. since I'm so unfamiliar with json I have some problems ...
0
votes
1
answer
123
views
ERC721: invalid token ID"
I'm minting an NFT and listed it on my NFTMarketplace, after minting I keep getting ERC721: invalid token ID, whenever I try to create the sale on the market place.
this is my nft code
// SPDX-...
0
votes
1
answer
24
views
Batch NFT mining
I am trying to create a project where users can specify a total supply on a minted NFT, will the NFT all have the same address but with different tokenId's or they will have different addresses
0
votes
1
answer
10
views
How the uint changes to address type in solidity when using delegatecall?
pragma solidity ^0.8.18;
contract One{
address public first;
address public second;
address public third;
function setaddress(address _address)public {
third = _address;
}...
1
vote
2
answers
196
views
For a given block, how to extract only transactions that involve newly minted NFTs, with either Foundry or ethers.js?
Firstly, I’ll say that I prefer to do this with Foundry, but if it turns out to be too much of a pain, I’m open to doing this with ethers.js as well.
Take this block, for instance:
https://etherscan....
0
votes
1
answer
11
views
how to differentiate fungible and non fungible token transaction in erc1155
How to identify the transaction of fungible and nonfungible in erc1155. because the mint function is same. if we mint token by amount of one we call this NFT after that if we mint the same token then ...
0
votes
1
answer
41
views
How can I transfer an NFT that is stored on openSea programmatically?
I want to understand, how can I automate sending NFTs from any thirdparty hosts for example, opensea or thirdweb directly to the user who clicks on the claim NFT button on my website? I do not want to ...
2
votes
1
answer
26
views
Generating a NFT token
Let's say we are generating an NFT token for a picture. How is the token generated? Is it just the hash value (say SHA256) of the picture? Is it possible to find a collision? If so, how is the ...
0
votes
1
answer
22
views
With erc-1155 can you mint tokens on the fly with parameterized name and supply?
The erc-1155 contract would have various token types. Users would be able to request minting (contract owner would mind the tokens on their behalf) of any type available on the contract but they would ...
2
votes
1
answer
79
views
How can I send an NFT automatically when someone clicks on the claim NFT button?
I am working on a quiz site but I want the winners and participants to receive NFT at the end of the quiz. But I do not want to manually sign the transactions. I understand I can use ethers.js and use ...
1
vote
1
answer
60
views
How can I avoid out of gas on multiple eth transfers when looping addresses?
Hello everyone good day,
I'm working on an automated eth distribution function that sends eth to all the nft holders of a determined collection (using ERC721A as standard for the nfts), it works well ...
1
vote
1
answer
64
views
What causes this error? NFT Minting via Piniata - fails transaction
Every time i submit my form from my frontend, MM opens up so i can pay my fee, i click confirm, the transaction fails with the error:
{"blockHash":"...
1
vote
1
answer
24
views
NFT Not Show In Opensea Collection Profile
I am trying to buld ERC721 to my NFT. But the NFT not show in NFT opensea profile Collection. I am using openzeppelin library and the basic project is using Hashlib labs.
The skenario is when i mint ...
0
votes
0
answers
37
views
why can't use Apostrophe( ' ) in token Name,
Polygon explorer/ etherscan explorer
why can't use Apostrophe( ' ) in token Name, And if I did the explorer shows "'"; instead Apostrophe. eg.(cat's = cat+ "'"+ s)
...
0
votes
2
answers
211
views
Error: gas required exceeds allowance or always failing transaction in Remix
Im trying to deploy my NFT contract and works fine but only if i mint less then 1000 nfts. When i tried to raise up to 2000, 5000, 8000 and even 10000 i got the gas exceeds allowance error. Can some ...
1
vote
1
answer
23
views
Can an Artist, like Beeple, Mint additional NFT's of the same Artwork?
I know this is old news, but I've been trying to wrap my head around this for two years...
On March 11, 2021, Beeple sold an Etherium-based NFT of "Everydays - The First 5,000 Days" for ...
0
votes
1
answer
21
views
Lookin for simplest way to identify any NFT owned by a known, owned, public address
my users wants to share full NFT inventory in my app, including Tokens that aren't wide known and/or without supportted dapps (end of dapp's life). In brief, a complete NFT gallery for any user.
I ...
1
vote
1
answer
15
views
Gnosis not signing on the contract
We have sent all our contracts to the Gnosis safe which we believe would be safe for the protocol but we are having a problem.
We are currently trying to enable the contract to mint our NFTs but it ...
1
vote
1
answer
30
views
Deploying a smart contract without private key
I want to create a web app that will allow users to deploy a smart contract for ERC721 SBT (Soul-Bound Tokens) and then transfer those SBTs to specific accounts. However, I intend to keep it as a no-...
0
votes
2
answers
31
views
Unable to withdraw funds from NFT contract
I am unable to withdraw funds from my NFT contract, appreciate your help, I am not a dev myself and the dev team could not help so far, here is the link to the error:
https://dashboard.tenderly.co/...
0
votes
2
answers
46
views
Transfer Ownership of a contract from one adress to another problem
I am Digital Desginer and i wanted to sell my Designs as of NFT, so that I found a guy to write me an smart contract on polygon network for me to able to publish my arts on blockchain . so After he ...
0
votes
1
answer
22
views
Issue with DynamicSvgNft Contract: getHighSVG() and getLowSVG() Functions Returning Incorrect Values
Hello Stack Exchange community!
I am currently working on a project that involves an NFT contract called DynamicSvgNft. The contract is designed to change the SVG image URI of the NFT based on a ...
0
votes
1
answer
8
views
NFT auction, gas error popping up
I m trying to build a project where you can auction an NFT. I am using Sepolia Test Network and have enough ETHs in there.
I have 2 main functions that I m using, "start" and "end" ...
0
votes
0
answers
9
views
Add NFT Royalties Feature to a marketplace?
###Checking if the NFT being sold on your marketplace implemented royalties###
Here is reply
bytes4 private constant _INTERFACE_ID_ERC2981 = 0x2a55205a;
function checkRoyalties(address _contract) ...
0
votes
1
answer
26
views
How to claim NFT to my address if my address is approved on the NFT?
I have my address approved on an nft using setApprovedForAll method, and I want to claim this nft and transfer it to my account. how should I do so?
-4
votes
1
answer
46
views
How to get a full address (0xdd7319d5cbeb72c20776809f23ea2b3ab1296144) of an ens(cahldee.eth) where this has NFTS
i'm retrieve the nfts from an ENS but i want to retrieve the address behind that ENS.
Irwing Tello
1
vote
0
answers
17
views
Is it a good practice to token gate smart contracts for a user base?
I want to create a contract like below which restricts access to some functions based on holding of ERC721 token.
contract GreetingContract {
IERC721 public token;
string greeting;
...