Questions tagged [erc-721]

Relating to ERC-721, the standard for Non-Fungible Tokens (also known as Deeds)

Filter by
Sorted by
Tagged with
3
votes
1answer
914 views

Inheritance of constructor [duplicate]

Why does warning appear with inheritance of constructor? contract MyToken is ERC721Token{ function MyToken(string _name, string _symbol) ERC721Token(_name, _symbol) public { } The content of the ...
1
vote
3answers
352 views

How to issue new ERC 721 tokens for each individuals with different name and symbol

I'm working with an app where different users can create their own ERC721 tokens by passing token, symbol total supply etc. Currently, the code is creating the token, but it has common name only. ...
4
votes
2answers
2k views

Proper way to implement “buyable” ERC721 tokens

I have a contract that implements the ERC721 interface, and I want to allow token owners to set their tokens as "buyable", so that any other address can buy their token without any action on the part ...
4
votes
2answers
351 views

Ethereum implementation of a non-fungible but divisible token? (ERC721 seems not to work for that)

I am struggling currently with finding the right implementation possibility for a token with the following properties: Asset-backed token based on a non-fungible asset (like a piece of art) More than ...
3
votes
1answer
1k views

What's the point of ERC721Receiver.sol and ERC721Holder.sol in OpenZeppelin's implementation?

I'm studying OpenZeppelin's ERC721 token implementation and I'm having a hard time making sense of ERC721Receiver.sol and ERC721Holder.sol and how they relate to eachother. In the file ...
3
votes
0answers
142 views

What Are Good Specific Reasons The onERC721Received Function Returns A Magic Value?

The ERC721 standard says the following: The onERC721Received function specifically works around old deployed contracts which may inadvertently return 1 (true) in certain circumstances even if they ...
3
votes
1answer
281 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
1answer
120 views

Difference between ERC 20 and ERC 721 transaction receipt

I want to fetch certain transaction logs from a local ethereum node. For that, I need to identify how to differentiate between ERC 20 and ERC 721 transaction receipts. From what I saw on Etherscan, i ...
2
votes
1answer
101 views

Confusion regarding total number of ERC-721 Tokens

I have two questions: 1) I want to retrieve the list of all ERC-721 tokens. The main block explorer for Ethereum which is Etherscan shows 2,883 ERC-721 tokens on its website https://etherscan.io/...
1
vote
1answer
386 views

ERC721 how does tokenOfOwnerByIndex() list tokens owned by a user?

Per eip-721, there's an optional "enumeration extension". So what I did was I called balanceOf to get the number of tokens owned by the account and called tokenOfOwnerByIndex in a loop to get each ...
1
vote
1answer
110 views

ERC721Token super._mint calls addTokenTo from the top level implementation

Based on Shawn's answer, super._mint calls addTokenTo from the top level implementation (ERC721Token). How does this work? super._mint calls _mint from ERC721BasicToken reads line addTokenTo ...
1
vote
3answers
950 views

ERC721 - Create 1000 tokens in one function call

I have implemented a contract where a set of ERC721 tokens should be generated with a function call in private net. Code as follows : function mint( address _owner, uint256[] _id ) ...
1
vote
2answers
37 views

Can we mint 5 gigabyte video NFTs?

What is the maximum size of NFTs on the Ethereum blockchain (ERC-721 or ERC-1155 tokens)? crypto art NFTs on the Ethereum blockchain already contain JPG/PNG files that are about 5 MB large, and ...
1
vote
1answer
39 views

Can't wrap my head around a mapping of mappings

I'm trying to fully comprehend what is going on in a standard ERC721 token. But this statement is really tripping me up: // Mapping from owner to operator approvals mapping (address => mapping (...
0
votes
0answers
18 views

Solidity Integration of Multiple Contracts and a Library

I'm trying to understand the correct way to Deploy and then Import multiple Smart-Contracts and a Library when creating one big project. As an example, the project will have the following Library and ...
0
votes
1answer
56 views

Is there a performance penalty towards creating the maximum number of tokens with ERC-20 etc?

I saw this link: Max possible ERC20 Tokens allowed with 18 decimals? Is there a performance penalty for creating so many tokens? Obviously the number of storage capacity needed for mining will be ...