Questions tagged [nft]

Questions about NFTs, non-fungible tokens.

Filter by
Sorted by
Tagged with
1
vote
0answers
18 views

How to make a snapshot of ERC-721 (NFT) token holders

What is the best way to create a snapshot of ERC-721 token holders? Maybe there is a tool for this purpose? I need to take a snapshot of holders of tokens for this NFT contract - https://etherscan.io/...
1
vote
1answer
34 views

Random distribution of large amount of NFT

I'm an beginner in solidity, and with a teamate we have a project for an NFT contract. I have a contract with 5000 NFT limite (cards, and 20 specific card form a familily, each family and cards are ...
0
votes
0answers
8 views

Ethereum NFT options

I am looking at producing a set of NFT's that are a set of 100, the item does not have an image, but is a token to run through an algorithm, I want them to be limited whole NFT's, not ERC-20s. I am ...
1
vote
1answer
22 views

How to enforce that 1 copy of an NFT has a unique meta data that no other copies of that NFT can also have?

If I wanted to create an NFT that contains the Username of a person to prove their address ownership, what is the best practices or suggested ways to enforce that no 2 copies of that NFT can have the ...
0
votes
0answers
24 views

Safe implementation on Solidity 0.8.0 of a withdrawal and a refund

I'm here for asking of a SECURE way to implement on solidity 0.8.0 two functions: 1-Withdrawal() which sends all the ether of the smart contract to the owner address. My current implementation is: //...
0
votes
1answer
23 views

Unique Constraint NFT, only 1 allowed per Address?

Is it possible to program an NFT to only allow 1 copy of it per address? For example if Address #1 and #2 both already have 1 copy of this NFT, if Address #1 tries to send theirs to Address #2, it ...
1
vote
0answers
59 views

See an NFT Token picture in metamask

I have followed step by step this tutorial: https://medium.com/pinata/how-to-build-erc-721-nfts-with-ipfs-e76a21d8f914 Everything works like a charm. I am working on ropsten Network. I have create ...
1
vote
1answer
31 views

Pattern for generating dynamic ERC-1155 or ERC-721 metadata

I am quite new to smart contract development so apologies in advance if this seems like a silly question. I'm looking for some guidance on a usable pattern for the following use case. I need to ...
0
votes
1answer
47 views

Can't see my NFT in Coinbase Wallet on Ropsten

I have created the following ERC721 contract: pragma solidity ^0.6.0; import "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721PausableUpgradeable.sol"; import "@openzeppelin/...
0
votes
1answer
20 views

Status: Fail, Out of Gas

Can someone please explain this to me? I tried to mint a NFT. I changed the gas price to low and gas price limit to 32000. It showed me 8 dollars something I minted the NFT. But it shows nothing in my ...
0
votes
1answer
22 views

Restrict ERC20 transfer and reception to owners of a particular NFT

I need to create an ERC20 token which transfer and reception is restricted by a membership, indicated by an NFT (ERC721) in the sender's and receiver's address/wallet. How can I check in the ERC20 ...
1
vote
0answers
16 views

Are ERC-1155 tokens always atomic?

I am creating an ERC-1155 smart contract whereby I create a number of different tokens and also want to be able to create new tokens on the fly. The code is something like: import "@openzeppelin/...
0
votes
0answers
19 views

Are there non-fungible tokens that can generate a pay-per-view revenue for the owner?

A non-fungible token (NFT) by definition represents (ownership of) a unique asset, which we will assume is a digital multimedia file in .avi format. The video's length in minutes, file size, content ...
0
votes
2answers
33 views

Implementing ERC-1155 contract on the fly

I want to implement an ERC-1155 token to represent ownership of videos. Creating such a contract is relatively easy: import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; contract ...
0
votes
1answer
19 views

Is it possible to create and assign any number of NFTs without emitting Transfer event? (ERC721)

I am asking this question regarding to the dev note above Transfer event in the ERC721 spesification / code. /// @dev This emits when ownership of any NFT changes by any mechanism. /// This event ...
1
vote
1answer
22 views

Temporarily ownership and Revokable ownership of NFT

Is NFTs(ERC721 or ERC1155) allow to "temporarily own by an address" and the issuer can "cancel ownership of NFT of the address" or "directly assign it to a new address without ...
0
votes
0answers
79 views

How can I get a list of all owners of an ERC1155 NFT by using a web3 call?

With ERC721, there's the 'ownerOf' function that takes a non-fungible token's id and returns the owner address, but ERC1155 doesn't officially require that a function like that be implemented. I made ...
0
votes
1answer
21 views

Possibility to authorize access to a web resource based on possession of NFT?

Would it be feasible to contract access to a web resource based on whether the Metamask wallet connected to the web client owns an NFT of a certain kind? For example, I have a video hosted somewhere, ...
0
votes
0answers
37 views

ERC1155 per token variables

I want to create an NFT that can mint different character types and multiple clones of each type. The clones within each type will start with same metadata, but each individual token should have its ...
0
votes
1answer
28 views

Can we say ERC-1155 is the same thing than SFT

I have understood the differences between Fongible tokens and Non Fongibles tokens (NFT). I have read a new kind of token called SFT: Semi interchangeable token. It is supposed to be a mix between FT ...
0
votes
0answers
33 views

ERC721 `safeTransfer()` chain of events

When examining OpenZeppelin's library of contracts for ERC721 Tokens, you'll find that all tolled, there are literally five flavors of the transfer method, as follows: transferFrom(from, to, tokenId) ...
0
votes
1answer
378 views

Is it possible to burn an NFT (ERC20 or ERC721) from other provider/creator?

I want to create a wallet/gallery for NFTs and I was wondering if it could be possible for the user to send NFTs made in other providers/minters to burn in my platform. The thing is that I want to ...
1
vote
1answer
244 views

ERC721 Token Transfers and Approvals

ORIGINAL POST (EDITED POST BELOW): I keep getting the following error in my ERC721 Contract: “ERC721: transfer caller is not owner nor approved” This happens when I’m trying to buy a Token that has ...
0
votes
1answer
28 views

Is there any alternative for for loop?

I have used in burn() function of NFT Contract. function burn(address to, uint256 tokenId) external { require(_exists(tokenId), "Contract: operator query for nonexistent token"); ...
0
votes
0answers
33 views

Can we deploy old deployed NFT contract to Ethereum 2.0?

I have already deployed contract on Ethereum. Now I want to deploy it on Ethereum 2.0, is it possible? According to some resources Ethereum 2.0 does not support for smart contract deployment. Thank ...
0
votes
0answers
78 views

ERC721 Token Transfer Outside Smart Contract

I am using OpenZeppelin ERC721 implementation for my non fungible tokens. Basically I have a smart contract which inherits from the OZ ERC721.sol. I am just wondering is the tokens only transferable ...
0
votes
0answers
14 views

What determines how much gas is required when transferring an ECR-721 non-fungible token? [duplicate]

When transferring an ECR-721 token, what determines how much gas is required? Is it written into the contract of the ECR-721 token? Does it depend upon how it was transferred (e.g. cryptokitties.com ...
1
vote
1answer
305 views

How to show erc721 NFT card images in compatible wallets?

I have created an NFT and now I want to add some metadata e.g card images, that shows in a compatible wallet like trust wallet. What step is needed next?
0
votes
1answer
638 views

Can't see my NFT image in Wallet

I just crated a NFT and deployed it on Rinkeby to test it. I'm able to add my NFTs to wallets but I don't see the image I provided when minted it. What could be the reason? The image was a small .png ...
1
vote
1answer
309 views

Updating ERC-721 Token's Metadata after it was Minted

Is it possible to somehow update an existing ERC-721 Token's MetaData after it was already minted? Let's say we've created a Knight character for a game - by minting an NFT for it, and 3 months later ...
0
votes
0answers
12 views

Can one ERC721 have two type NFT?

I am new to smart contract, I have to make NFTs so I am following ERC721 standard, but I have to make two types of NFT NFT1 = {prop1, prop2} NFT2 = {prop3, prop4} so can I have two type of createNFT ...
0
votes
0answers
33 views

Storing access to encrypted data in non-fungible tokens

I am fairly new to ethereum, I want to develop a non-fungible token that can grant access to its owner access to encrypted data on IPFS. The way I am thinking this can be done is, first the owner of ...
0
votes
2answers
26 views

Token Access Issue

Hi Sir we Create Token but we cloud'n have full access on Tokens. Like we create 2000M Token but when I add it in my Metamask I got only 200M Tokens. Cloud you please me out for this?
2
votes
1answer
172 views

Signing a message to sell NFT/token - what happens if you transfer the NFT later?

If you sign a message with intent to list an NFT/token for sale - how does that work if you transfer the item later? For example on an NFT marketplace - you list your NFT for sale by signing a message....
0
votes
2answers
39 views

Why do people even play CryptoKitties? [closed]

I've been lately trying to understand tokens in Ethereum, which basically makes me ponder ERC20 token standard... I still am very much confused in all of its concepts, but the main thing that I haven'...
2
votes
1answer
92 views

Which token standard should be use to create different tokens for different users?

I have read several differences between fungible and non fungible tokens. It cleared my few doubts though, I have few more remaining. I have requirement to create a platform on which users can ...
1
vote
0answers
31 views

Given just an Etheruem address, is there any way to tell if it's an ERC20 and/or an ERC721

If I have only an Ethereum address and only a locally running node (using a third party such as EtherScan or Alethio is cheating), is there any way to tell if that address is an ERC20 or an ERC721 ...
2
votes
1answer
104 views

When to use nonfungible tokens and possibility to interchange tokens with different standards

I'm little bit familiar with Blockchain and ERC-20 standard. Now I started learning about ERC-721 and having a lot of confusion. Let's take an example of music artist token platform. Any music ...
0
votes
2answers
224 views

ERC20 and/or ERC721

Consider the following scenario. A person owns a asset called "A". Now the asset is very high valued and unique but you can allow other persons to own a certain part of that asset. EDIT: Ownership ...
0
votes
3answers
198 views

Can an NFT (e.g. ERC721) simultaneously belong to two different entities, say an user Owner, as well as a user Custodian?

For example, on the blockchain say you own a ERC721 Car token at your wallet address, but you want to park it in the ERC998ERC721 top down composable Garage owned by your friend, while still retaining ...
0
votes
1answer
199 views

Using NFT paired to credentials for identity verification

I have a question on the feasibility of pairing a non fungible token (NFT) with credentials for identity verification on the Ethereum blockchain. Can we imagine a scenario where a user would have a ...
0
votes
1answer
61 views

ERC-721 - How to avoid that an updatable tokenURI becomes a vulnerability for token trust?

I understand that one can use the tokenURI field to add the address for an endpoint that returns meta data for the given token. Let's imagine we create a unique asset with tokenId = "1" tokenURI = "...
0
votes
3answers
293 views

Using a Non-Fungible token to gain access to a file

Please excuse me, I'm a layperson, not a programmer. At this time is there a way to issue NFT's to be used as a 'key' to gain access to a file on the internet? For example you create and sell an NFT ...
0
votes
1answer
213 views

How many projects are there which implement ERC1155 standard?

New ERC1155 standard which is thought to be an improved version of ERC721 and ERC20. But I see many projects still prefer ERC20 or ERC721 standards. If so, do you know any projects implementing ...
-1
votes
1answer
81 views

Can we send tokens with data input? [duplicate]

Can we send tokens with data input? I did a bit of research on erc20 but maybe this is quite complicated. Will erc 721 do this?
5
votes
2answers
436 views

How to guarantee IPFS file access based on Non Fungible Token ownership (or security)?

The file is too big to be stored on the blockchain, so it is stored on IPFS. Only the person who owns a unique Non Fungible Token (or a Security Token) can access it. Of course I can encrypt the file ...
3
votes
1answer
272 views

ERC721: Interface ID Registration

Why we need to register Interface ID in ERC721 token. I was just going through the openzeppelin-solidity erc721 code and curious to know that why we need to use this. That interface id register code ...
2
votes
2answers
174 views

Splitting and Merging tokens

i'm here to ask if my project is doable or not. I'm actually reading "Mastering Ethereum" by Andreas M. Antonopoulos, so i have some basic solidity knowledge. I have a project: I have a building, ...
1
vote
1answer
68 views

add fields to ERC721 tokens, still belongs to the standard?

if starting from the code of an erc721 token, I add fields beside the name, symbol and URI, is it still a token that respects the standard? Add in the contract, not in the JSON file. The most ...
0
votes
1answer
211 views

ERC721-OpenZeppelin: This contract does not implement all functions and thus cannot be created

I know there are already a lot of topics that deal with the problem but their solutions didn't work for me. this is the code: pragma solidity ^0.5.2; import "https://github.com/OpenZeppelin/...