Questions tagged [nft]
Questions about NFTs, non-fungible tokens.
1,060
questions
0
votes
0
answers
8
views
Is it possible to mint NFT in web3j?
I've gone through the web3j documentation but found nothing about minting NFT in web3j. So, is it possible to mint NFT on Ethereum using web3j? or any other way I could mint NFT on Ethereum in java?
1
vote
2
answers
123
views
How to store an encoded variable for each owner of an NFT that only they can decode?
Let's say for example we want to store a URL on chain for that specific NFT but we do not want anyone else to be able to see the URL.
We can have a function in the contract that asks for an ID and ...
0
votes
0
answers
13
views
How to call a function's Contract B from a contract address and not a personal EOA account?
I"m working on a proxy implementation and I already have a proxy contract with 2 setters to modify the implementation the proxy delegates the calls to.
setPendingImplementation
...
1
vote
1
answer
19
views
Minting 100+ ERC721 NFTs in Constructor
I'm looking to mint around 100 NFTs (or more if possible) in the constructor of my smart-contract.
• During deployment I'm passing in an array of 100 ETH addresses to the constructor, which then uses ...
0
votes
0
answers
10
views
Mint NFT through React frontend
I need advice on how to structure my contract. I will have 3 types of NFTs with a limited supply for each, that will be available for purchase through the website. I'm using the ERC21 contract and ...
0
votes
2
answers
17
views
IPFS for media files
I'm trying to build an nftmarketplace that takes in an audio file, can I use IPFS for storing my URi, was wondering if the file would be too large as all the tutorials I've worked with mainly used ...
0
votes
0
answers
9
views
How does NFT lazy minting actually works?
So I am trying to understand lazy minting in NFTs and till now I have understood the whole NFT Voucher concept that we have to create vouchers offline and the user buying the NFTs will then redeem ...
0
votes
0
answers
5
views
Utilizing and Monetizing existing NFTs using Magazine
I’m working on a side project, A Meta Magazine, featuring NFTs only. This is a collaborative project
which utilizes existing NFTs. Entire Mag will be made out using NFTs, including cover pages, ...
0
votes
2
answers
33
views
How do you set max amount of NFTs a wallet can mint?
contract xyz is ERC721, ERC721Enumerable, ERC721URIStorage, Ownable {
using Counters for Counters.Counter;
Counters.Counter private _tokenIdCounter;
uint256 public constant maxSupply ...
0
votes
0
answers
9
views
NFT whitelist merkletree
I hope you are all well.
I am trying to make a frontend for an NFT minting DAPP.
I use this code for the mint function:
async function mint() {
if(typeof window.ethereum !== 'undefined') {
...
0
votes
0
answers
27
views
NFT Ticketing system architecture best pratices
I would like to develop a Dapp where users can mint a NFT ticket in order to redeem item in the future.
My question is: How can I implement a secure way to ensure different rarity to these tickets?
In ...
0
votes
1
answer
12
views
setApproval - nft marketplace operator rights
Does giving approval to a marketplace allow the marketplace contract deployer to move assets if they so wished?
1
vote
1
answer
107
views
+50
Update HashMap within onERC721Received with Vyper
When a contract receives an NFT by calling safeTransferFrom, onERC721Received is automatically called on the receiving contract. I want to be able to update a Hashmap to record the address of the ...
0
votes
1
answer
26
views
What's the recommended way to allow users to mint random ERC-721 tokens, reveal metadata, and offer full transparency in 2022?
I'm writing an ERC-721 contract to launch a collection of paintings and I'm considering a few semi-generative variations to make the total supply about 1,000 tokens with multiple rarities.
I'd like to ...
1
vote
1
answer
19
views
After deploying a smart contract, if I have 2,000 items, is it possible to mint all of them at the same time?
If I have 2,000 items, is it possible to mint all of them at the same time, or is there a limit for the number of items that I want to mint at the same time?
0
votes
0
answers
12
views
TypeError: Cannot read properties of undefined (reading 'toNumber'), When trying to fetch totalSupply
I'm trying to fetch totalSupply from my smart contract using react-moralis useWeb3ExecuteFunction and got this problem
the code
import Head from 'next/head'
import styles from '../styles/Home.module....
1
vote
3
answers
51
views
NFT on polygon community mint or directly list to secondary market
Guys I am about to release an NFT art collection project with one influencer and his community.
I am planning to mint all the 10000 items and list them on opensea (polygon). It will be easier for me ...
0
votes
3
answers
29
views
Is automating the withdraw of a NFT smart contract a good idea? [closed]
Just wondering out ! Something like automatic withdraw after every 24 hours or something like withdraw after every mint on the contract.
If its a good idea, sharing any ways or resources for me to do ...
0
votes
1
answer
29
views
Who pays for gas fee of POAP?
I know we can mint POAP NFT for free. One question I have is who is paying for the gas?
Looking at the POAP transaction it looks like NOT FREE GAS FEE, and someone else mint my POAP NFT. Who ...
0
votes
2
answers
23
views
Token gated coontent
I'm creating an NFT website and using Wix as the development platform. I have implemented minting possibilities using ThirdWeb.
Now I want to implement token-gated content that allows people to ...
0
votes
1
answer
20
views
A few simple question about using interfaces vs. standard contracts (IERC721 vs. ERC721)
1.)Is it correct to say..... if i import ERC721.sol into my contract then all the ERC721.sol functions are accessible even if i don't list all the functions in the contract? Meaning... i don't ...
0
votes
0
answers
16
views
Are 'suspended' transactions even possible?
newbie here, toying with the idea of some gambling game, nft-based.
Suppose I want users to gamble on their own NFTs. Obviously I want the actual transaction to occur only if the player loses. I guess ...
0
votes
0
answers
29
views
How does Axie infinity maintain variable information, such as breed count, to an axie that was already sold as an NFT?
From my understanding of the ethereum blockchain and NFTs in general, once an NFT is minted into the blockchain, its metadata freezes, making it immutable. An interesting question that entered my mind ...
1
vote
1
answer
13
views
¿What does the buyer of an NFT get?
There are two relationships in NFTs, one is the underlying relationship /token ID, smart contracts and wallets/ and the other is the image you see in the market. If the image that motivates the ...
0
votes
1
answer
15
views
get nft activity
Does anyone know how I could get the transaction logs of an nft? having the address of the collection and the token ID.
thanks guys!
0
votes
0
answers
6
views
Get all the NFT’s that are listed to sell in a marketplace?
This gonna be a good question, may be …
when you build a NFT marketplace smart contract you can sell and buy it, but how exactly you can get all the NFT’s that are listed to sell from anoters users ?, ...
0
votes
0
answers
7
views
Linking different ERC-721 contract's NFTs on OpenSea (Solidity)
I have a ERC-721 contract (call it B) that has a function which mints an NFT (call it X) and deploys another ERC-721 contract (call it C). X and C’s NFTs should be thought of as linked and I am trying ...
1
vote
0
answers
34
views
NFTs minted by a safe are not indexed on OpenSea correctly (Polygon)
There is an NFT contract (ERC1155): 0x45a30d068e3dc97f50948eda650d9c75de293b60.
If I mint a token using EOA, the minting event is showing up on OpenSea as expected.
If a token is minted by a safe, the ...
0
votes
0
answers
21
views
How to upload large amounts of data to IPFS
I'm trying to upload a 30.4 GB folder via Pinata service. The problem is that Pinata has a limit of 25 GB per download (I have bought Picnic plan for 50 GB). Tried the free service NFT Storage(The ...
0
votes
0
answers
9
views
Is there a way to create a "self-authenticating" interactive nft?
I am interested in making html games which I can mint as NFT's, and I have already minted some html-based NFT games as tests, that can be run in a wallet.
Generally NFT's in games are used to prove ...
1
vote
1
answer
30
views
relationship between token ID, smart contract and JPG image
I want to know if it is possible in an NFT to separate the image (e.g. jpg of an artwork) from the underlying relationship between the token ID and the smart contracts. Since only the underlying ...
0
votes
0
answers
10
views
When to use Signed Transaction on Ethereum
I'm trying to implement ERC721's transferSign function, what i wanna achieve is to let user sign transaction and later that signature can be used by the platform owner to broadcast that transaction ...
0
votes
0
answers
17
views
Why does Opensea split my NFT collection into two collections?
Opensea splits my smartcontract (deploy on rinkeby) into two collections:
https://testnets.opensea.io/collection/acoustic-treasure-gold-set-v3-1
https://testnets.opensea.io/collection/acoustic-...
0
votes
0
answers
20
views
Is it necessary to create a hidden metadata and then put it in `_INITNOTREVEALEDURI`, or can I leave `_INITNOTREVEALEDURI` blank?
It was said in a tutorial that we use the address of main JSON or metadata in _INITBASEURI and then we use a hidden metadata or JSON and we use its IPFS address in _INITNOTREVEALEDURI
Is it necessary ...
0
votes
1
answer
21
views
Can I put html code as an onChain NFT?
Can I put html code as an on-chain NFT?
I don't want the NFT to be an image, I would like it to hold html code.
e.g the NFT will be Hello world
0
votes
1
answer
21
views
Why are clouds like Pinata are used to host NFTs rather just using IPFS desktop?
I have been working on some NFT projects and came across Pinata to upload files to IPFS. But there is also IPFS desktop that provides the same functionality and is free. So why do people use Pinata ...
0
votes
1
answer
21
views
How to get baseURI for NFTs in IPFS using Fleek?
I have been trying to use Fleek to host my NFTs. But the folder link they are providing, which I wants to use as baseURI in my contract, is using their own storage API, rather an IPFS link. Is there ...
0
votes
2
answers
27
views
Where is the $69M transaction for Beeple's artwork NFT in the Ethereum blockchain?
Sorry this is old news, but Beeple's artwork was apparently bought by Metakovan for 42,329.453 ETH, which was around $69M at the time, in March 2021. This was obviously a very big transaction, but if ...
0
votes
0
answers
31
views
Is it a good pratice to reference a NFT by its IPNS link?
So I was wondering if it is actually a good practice for one to use an IPNS link from the IPNS protocol as a mean to point for a NFT?
The need for the IPNS link instead of the normal IPFS link is ...
0
votes
0
answers
12
views
How do I display a users NFTs in reactjs?
Currently on my website I have a minting page that works perfectly but I want to be able to display a users NFTs from the project and be able to stake them. I have a staking contract that works but I ...
0
votes
0
answers
9
views
Tiered Membership NFT using onchain or off chain metadata
I'm building a tiered membership nft contract for a DAO. What would be the best practice regarding the metadata: onchain or off chain? The biggest disadvantage of putting it on chain would be the ...
0
votes
0
answers
21
views
How to get tokens of owner information for ERC1155 off-chain using events with the right logic / filters?
ERC-721 (Enumerable) has tokensofowner function which we can use to track ownership of NFTs. but it comes with high gas costs. and ERC1155 doesn't have this function. So I had heard about getting ...
0
votes
1
answer
23
views
How do I find if a specific NFT in a wallet is a Decentraland LAND NFT?
Suppose I have a wallet, and a list of NFTs that wallet has. And I use something like the “balanceOf” function to check if that wallet contains a DCL Land NFT, and I find that the wallet does contain ...
0
votes
0
answers
8
views
Moving NFT from Opera embedded wallet to metamask
I’ve bought a Yat NFT on OpenSea. Purchased via my opera crypto browser. It’s appearing in the wallet ok.
To set up my Yat link page and start to use it, I need to transfer the NFT from my opera ...
0
votes
0
answers
26
views
How to get Uint256 from bytes
I'm learning about NFT with Solidity, and implanted some basic contract as follows.
NFTToken Contract:
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "@openzeppelin/contracts/...
2
votes
1
answer
246
views
Fetch last 10 blocks using Alchemy Transfers API
could someone please elaborate on:
fromBlock: the starting time range we want to fetch NFT mints over (defaults to latest)
I tried to pass a block but its not working... I have also seen fromBlock&...
0
votes
1
answer
20
views
Does the mapping in smart contracts define the ownership of a token?
Lately became interested in Ethereum. I have some questions which I could not find an exact answer to. Maybe someone can help.
Do you "own" an NFT via the mapping in the smart contract? ...
0
votes
1
answer
23
views
How can I customize my nft collection with the smart contract?
I want to add a logo and banner image on my nft collection. What I want to do is to add the logo and banner image when i deploy my contract so that no matter what the marketplace platform is I always ...
0
votes
1
answer
27
views
Can we take the fees from seller and not buyer in 0x v4?
In v4 it was introduced that fees are paid by the buyer, denominated in the asset paid by the buyer, and are paid in addition to the erc20TokenAmount specified in the order.
https://docs.0x.org/nft-...
0
votes
0
answers
6
views
Generate series of ERC1155 tokens or rather batches of ERC721?
My idea is to allow users to create several series of tokens, like 100 tokens of 10$ and 10 tokens of 1000$ to participate in financing a project. And those who support can buy as many of these tokens....