Questions tagged [nft]

Questions about NFTs, non-fungible tokens.

Filter by
Sorted by
Tagged with
0
votes
0answers
7 views

Metamask Chrome extension can't send deployed ERC721?

I deployed an ERC721 token on bsc testnet, added it to Metamask Chrome extension. It shows up correctly, but the button "send" is faded out. Am I missing something?
0
votes
1answer
12 views

Is it common to add comission to the contract for the secondary market?

I looked at Cryptopunks contract and I don't see any royalty going to Larva Labs. Is it normal to add a comission back to me for my generative art project? I noticed some projects take a set price ...
0
votes
0answers
9 views

Rewarding with ERC721 tokens

Imagine you own some foundation, and for every donation you want to give donor an NFT as gift. So taking gas price in mind, how would you solve this problem for 10k+ users?
0
votes
0answers
27 views

Function to deposit an ERC721 token in another contract with ERC20 token and activate a function

I have a contract that allows users to mine an ERC20 token by staking ether. Now I created a ERC721 token that I would like to be staked in order to mine the ERC20 token instead of staking ether. I ...
0
votes
0answers
12 views

NFT Token Name and Symbol Naming Convention

Should an organization use the same name and symbol for all NFT tokens it creates? (irrespective of which contract was used to mint the token). Are there advantages / disadvantages to this approach? ...
0
votes
2answers
24 views

WETH vs. ETH on OpenSea?

I listed an item on OpenSea for 0.01 ETH. It wasn't an auction, just a fixed price. I received an offer for 0.01 WETH. I don't understand the advantage to using WETH vs ETH. Why would somebody offer 0....
2
votes
0answers
14 views

ERC721 “NFT” with ImageURL[] instead of single ImageURL

I am looking to create algorithmic NFT's that are built from multiple images. Rather than layering the images for all combinations and then storing all permutations I'd like to send an array of image ...
0
votes
2answers
12 views

Prevent ERC721 metadata from being updated

I have a ERC721 token and the TokenURI gets set to a IPFS JSON link. The JSON contains metadata such as name, color, image ect about the NFT. The problem is I have a function which allows the TokenURI ...
0
votes
0answers
4 views

Tracking redemptions programmed into NFT

I'm trying to mint an NFT which the buyer can redeem for 6 cups of special coffee (in real life). The first of those cups can only be redeemed this month (and never after). The second of those cups ...
2
votes
1answer
22 views

Updating ERC-721 TokenURI (after it's already minted)

This is a conceptual question. Is it possible to somehow update an existing ERC-721 Token's uri, after the NFT was already minted? For instance, I minted an NFT where the asset location was AWS S3. ...
1
vote
1answer
33 views

to which extent smart contracts are upgradeable

I have a smart contract deployed on ethereum network, I might have to change it according to future requirement changes, as they are immutable, then to which extent I would be able make changes in my ...
-1
votes
0answers
21 views

Automate buying NFTs on OpenSea

I would like to know if it's possible to buy NFTs on OpenSea automatically, and how to do that. For example, a script that can be executed on my computer that waits until an NFT is listed and places a ...
0
votes
1answer
16 views

How does Aavegotchi attach wearable NFTs to gotchi NFTs?

Aavegotchi (and presumably many other NFT games) have different types of NFTs, some of which can be attached to others. For example: An Aavegotchi ghost, or gotchi, is an NFT with attributes that ...
0
votes
1answer
22 views

How does a NFT look like on the Ethereum blockchain?

Are all NFT's created equal in terms of a contract template? How does a NFT look like on the ethereum blockchain? Is it basically a ERC-20 token but with only 1 supply? What are some examples of this?
0
votes
0answers
7 views

Try to setup an 1155 token to be render with all its metadata (name, description, image) to opensea.io

I have the smart contract below pragma solidity ^0.8.2; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; import "@openzeppelin/contracts/token/ERC1155/extensions/...
1
vote
0answers
8 views

Best way to handle collaborative projects w/ respect to ETH wallets

I'm a generative NFT coder being approached by various teams to collab on NFT projects. Here's what I'm wondering, specifically: On OpenSea, I can set a single payment wallet address for NFT sales. ...
0
votes
0answers
11 views

Does “on demand” lazy minting of NFT's hinder the original creator from proving their origin?

From my brief time trying to understand the various tools and tech available for NFT's, I stumbled on the area of lazy minting; but with the seemingly few sources of information on the topic (the main ...
0
votes
1answer
50 views

How to create a dapp that verifies NFT ownership?

I'm trying to create a simple react app that will allow the user to enter a token ID and Ethereum address, then it will confirm if that address has it. Do I need Solidity to do this? I'm aware of ...
0
votes
0answers
26 views

How to call functions from a deployed NFT Contract in Solidity?

I already did a lot of researches to solve this problem. I want to call deployed NFT Contracts functions, for example this contract: https://etherscan.io/token/...
0
votes
0answers
17 views

Solidity error while buiding an NFT dAPP

I have this erc721 contract that i want to sell in an dAPP: // SPDX-License-Identifier: MIT pragma solidity >=0.4.21 <0.9.0; import '@openzeppelin-contracts/contracts/token/ERC721/ERC721.sol'; ...
0
votes
0answers
17 views

What's the most efficient way to batch mint NFTs?

It seems inefficient to batch mint from the client side (eg. web3). Apparently Cargo does batch minting but I couldn't find their code. My default approach would be a Solidity function that loops ...
0
votes
1answer
31 views

How to fix race condition between db and web client that listen for contract events

Ethereum noob over here. I'm working with ethereum locally using HardHat. I've created a contract for NFTs and I have a database that stays up to date with the NFTs that have been created by ...
1
vote
1answer
18 views

How an asset is tokenized?

Suppose I have a car and I want to tokenized it. Now I have following questions. What will be the process to make a digital token of my car. If someone buy this token, Will I have to transfer token ...
0
votes
1answer
9 views

Unable to set NFT tokenURI with web3py

I have the following contract method: function setTokenURI(uint256 tokenid, string memory uri) public { require(bytes(uri).length != 0, "Cannot set an empty URI"); ...
0
votes
1answer
13 views

How to require specific eth amount in purchase function on erc721 smart contract

I want each NFT to cost .02 ETH to mint. There is a constructor uint256 variable called price, but I'm not sure what to do with it since it doesn't correspond to eth. I just need to know what to add ...
2
votes
2answers
84 views

How can I make an ERC721 NFT such that the token owner can edit an attribute in the metadata? Where can they edit the metadata?

I've read that ERC721 tokens can be created such that the token owner can edit the on-chain metadata. I've been following tutorials for the brownie-nft mix and making NFTs on OpenSea, but I have yet ...
1
vote
0answers
15 views

Transferring NFT Tokens without the ownership of the tokens but approving the contract address as operator

https://github.com/ProjectOpenSea/opensea-creatures/blob/master/contracts/ERC721Tradable.sol Someone please explain me the function at line 91
0
votes
0answers
42 views

Using IPFS storage with ERC-1155 and id substitution

Is there a way to use the {id} substitution in ERC-1155 with IPFS storage? I'd like to host the metadata on ipfs and have the uri function return a link to it. A working example would be really ...
0
votes
1answer
52 views

How to make an NFT out of an image using Solidity?

Over the last few days (while following a tutorial) I made a web app where I could make a NFT out of a color(e.g. #FFFFFF), so my question is if a client could upload a picture to my web app how would ...
0
votes
0answers
26 views

Interaction between my webapp and smart contract

I am experimenting for the first time with smart contracts and NFT stuff. So I am at the point where I have a react webapp with metamask integration. The user can connect his wallet. I want to ...
1
vote
2answers
30 views

Are the limits on “limited edition” NFTs enforced by ERC 721?

I was looking at the ERC-721Enumerable interface, and I couldn't anything in the interface where say, an edition of 5 tokens for some NFT is actually enforced by the contract. Is that true, do we just ...
1
vote
2answers
74 views

Transferring NFT Tokens without the ownership

I'm wondering how opensea transferring tokens to the buyer without having the ownership of that token.And also they are not using escrow account at all.In remix, If i tried to transfer the token ...
0
votes
1answer
31 views

Solidity: Unable to expand environment variable in host setting

When I try to run: brownie run scripts/collectible/deploy_advanced.py --network rinkeby this error occurs... INFO: Could not find files for the given pattern(s). Brownie v1.14.6 - Python ...
0
votes
1answer
18 views

very expensive remix NFT deployment

I'm testing a hello world NFT deploying with remix but the transaction without anything, says is $100?? why is this so expensive? what am I doing wrong? here the import is the only code on the .sol ...
0
votes
1answer
54 views

Create and deploy NFT collectibles ERC721 collection with smart contract

I want to start developing with Solidity in my Visual Studio Code my first ERC721 Collectible NFT collection so i installed Visuall Studio Code first, then nodejs and npm and in the end Truffles and ...
0
votes
1answer
29 views

ERC721 - mass ownerOf request(or another way get all TokenIDs on address)

I use nethereum for get ownerOf NFT ids [Function("ownerOf", "address")] public class OwnerOfFunction : FunctionMessage { [Parameter("uint256", "_tokenId", ...
0
votes
1answer
45 views

Get balanceOf tokens ERC721 (nethereum)

Just trying get count of uniswap NFT-s on 0x5794d36de0c21211a7906688981371132bd7c6f0 wallet Step one: Get contract from adress 0xc36442b4a4522e871399cd717abdd847ab11fe88 (Contract address for uniswap ...
1
vote
1answer
34 views

Can I Update ERC-721 Token's Metadata after it was Minted

I am launching a collection of NFTs with an ERC-721 standard with hopes to turn it into a game at a later stage. If i were to limit the attributes/ Properties of the individual token initially to a ...
0
votes
0answers
14 views

How to create Crowdsale contract for ERC-1155 fungible tokens

I am new to develop ERC-1155 contracts. I have created a contract that holds two types of tokens (fungible and Non-fungible tokens). Now I want to add a crowdsale functionality in my contract, where ...
0
votes
1answer
38 views

IPFS Desktop same base URL

I am trying to same URL Base for all my uploads on IPFS but if I upload a directory or one file at a time, each of them has a different base, which is then hard to use for a smart contract where I ...
0
votes
1answer
31 views

Getting all the Contracts created at Opensea and Rarible

I want to pull the number of NFT contracts created on opensea and rarible. I checked opensea API documentation and it seems like you can pass a range token ID's in this case I was wondering what would ...
0
votes
1answer
23 views

can an NFT have supply more than one

In ERC-1155 example implementation there is parameter to pass supply, so what if we pass supply more than 1, like 100 copies of an NFT, with same id, same metadata. Does this violate definition of NFT?...
0
votes
1answer
10 views

How to get contract address with Contract Name

I am trying to pull NFT address by providing their name. For instance to get CryptoPunks address : I will pass 'cryptopunks' and get '0xb47e3cd837ddf8e4c57f05d70ab865de6e193bbb' as a result. Does ...
0
votes
1answer
56 views

How to manage delated metadata/images with an ERC721 launch

I have a smart contract working on rinkeby which is minting ERC721 tokens. The goal is to allow minting for a week and then to release the metadata and images after a week has passed. When I deploy it,...
0
votes
0answers
31 views

Get the error “ERC1155: caller not owner or approved” even after calling setApprovalForAll function

I have a question about the openzeppelin erc1155.sol contract. It is regarding operator approval and the safeTransferFrom() function. I am trying to do an ERC1155 token transfer and keep getting the ...
0
votes
0answers
14 views

Any known hacks by storing string with non-alphanumeric values?

I was checking out hashmasks smart contracts, and they have the following rules for names: No name can be identical There is a limit of 25 symbols (including spaces) Uniqueness is case insensitive (i....
0
votes
0answers
13 views

How to know if msg.sender implements ERC721 interface?

I'm building a ERC721 contract with some bid functionality. So basically it has 2 functions: "bid" - so anyone can bid with higher ETH value function bid() public payable { require(...
0
votes
1answer
63 views

How exactly was the small pics inside the Beeple NFT cryptographically hashed along with the consolidated big one?

I understand that the Beeple pic consists of very small circles each lead to a pic drawn by the same artist, ie it's uniqueness or high price came from the fact that it is like a consolidation of all ...
0
votes
0answers
13 views

Truffle contract not receiving events after some time

In my nodejs app I'm using truffle to communicate with a ERC721 contract, mainly to receive events. All I'm doing is listening for when a Transfer event happens. But it only works for the first few ...
1
vote
1answer
33 views

What is the pupose of TokenID increment in OpenZepplin implementation?

I am exploring OpenZepplin implementation of ERC721. One thing I found in example of Counters.sol to increment/decrement tokenId. I do get that we do not tokenId for the uniqueness in case the owner ...

1
2 3 4 5 6