Questions tagged [erc-721]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
17 views

all erc 721 tokens being collectibles

Considering all NFTs are unique, are all erc 721 tokens collectibles? I'm asking this because on the Etherscan website some NFTs have the collectibles tag and some do not.
0
votes
2answers
35 views

ERC721 exchange logic

I'm trying to allow NFT holders to sell their tokens by listing prices (ETH) and allow others to buy those listed tokens. I used openzeppelin and succesfully implemented and tested my token creation. ...
1
vote
1answer
40 views

ERC721 Metadata and Items

i'm new to ERC721 tokens so this may be a stupid question. Following the Opensea docs and other docs (for example openzeppelin ones), I just create a simple ERC721 token that i called "avatar" which ...
0
votes
1answer
41 views

Create multiple tokens for a unique property

here is the idea: we assign a set of unique tokens to a company and then we allow people to buy some tokens and get partial ownership of that company. How can I achieve this? I was thinking of ...
0
votes
1answer
25 views

Using geth Light Node to detect ERC-721 transactions

Is it possible to use a geth light node to detect incoming transactions executed via ERC-721 contracts? I have experienced being not able to get receipts using getTransactionReceipt in native and ...
3
votes
1answer
45 views

Is it possible to check the Thrid party token ( USDT ) within my ERC223 contracts?

I want to check how many tokens are received in my contracts, so that I am able to allocate MY TOKENS to the TOKEN Sender. I tried several ways like approveAndCall, but its not working. I don't ...
0
votes
1answer
20 views

Unable to invoke smart contract function from Web3j contract wrapper

I've been learning about interacting with smart contracts through Android and the Web3j framework but have run into an issue. I'm trying to mint an ERC721 token and send it to an address but it doesn'...
1
vote
2answers
35 views

How do you add miner address so that it can mint tokens?

I have ERC721 that I'm making. function mint(address to, uint256 tokenId) public onlyMinter returns (bool) { _mint(to, tokenId); return true; } How can I add an address so that it is able ...
0
votes
0answers
24 views

Api to get total transfer count of an ERC-721 Token

I want to retrieve the total number of an erc 721 token's transfers/ transactions. I couldn't scrape the transfers value from etherscan as well e.g. given here https://etherscan.io/token/...
0
votes
2answers
143 views

Deploy ERC721 tokens to many addresses

How to I transfer many of my ERC721 tokens to many addresses? MyERC721: function mintUniqueTokenTo ( address _to, uint256 _tokenId, string _tokenURI // Store, receipient'...
1
vote
1answer
62 views

How to show inventory tab on etherscan

Sorry, i'm newbie about ERC-721. I have deployed my contract and verified it. https://ropsten.etherscan.io/address/0x677f76d276355c382da948d2476da06cf5dc6219 But I don't see inventory tabs like other ...
2
votes
1answer
19 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
5answers
971 views

ERC721 Error: invalid number value arg=“_tokenId”, coderType=“uint256”, value=

MyERC721: pragma solidity ^0.5.0; import "openzeppelin-solidity/contracts/ownership/Ownable.sol"; import "openzeppelin-solidity/contracts/token/ERC721/ERC721Full.sol"; import "openzeppelin-solidity/...
0
votes
3answers
27 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
2answers
94 views

Why should I use an ERC-721 token to store data instead of a Smart Contract

Taking CryptoKitties as example, I'm sure it's possible to achieve the same concept of Crypto Collectable creating new kitties as Smart Contracts instead of using Tokens. Which would be the ...
1
vote
2answers
80 views

erc-721 erc-20 solidity code check effects interaction pattern

Where can one locate a formally verified ERC20/ERC721 solidity code/template that adheres to security design patterns such as check effects interaction patterns?
0
votes
1answer
15 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 = "...
1
vote
1answer
60 views

ERC721 Transfer Event issue

Looking at the open-zeppelin ERC721 Contract's code, I see that the very last thing that its mint function is doing is call emit on the contract's pre-defined Transfer event. My question is: how do ...
2
votes
1answer
95 views

Distinguishing erc721 transactions from the response of txlist on etherscan

I am making some erc721 transactions. I can retrieve those transactions using the etherscan api like this https://api.etherscan.io/api?module=contract&action=txlist&address=...
1
vote
1answer
121 views

Error: Invalid number of arguments to Solidity function when calling safeTransferFrom function

I want to call the safeTransferFrom function to transfer ERC721 tokens. I am using the following code: var contract = this.web3.eth.contract(JSON.parse(contractabierc721)).at(contractAddress); // ...
2
votes
2answers
21 views

ERC standard: possible to set upper price limit for NFT?

Let's say I want to create a non-fungible token which represents a ticket to a venue. And I don't want ticket scalpers to buy tickets and resell these tickets for a higher price. It should only be ...
1
vote
3answers
285 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 ) ...
2
votes
1answer
240 views

Calling function from another contract reverts

I've been developing a dApp that needs ERC721 tokens. I have three contracts, a base contract, the one to mint tokens and another one for auctions. The inheritance looks like Base > Token > Auctions. ...
1
vote
1answer
197 views

Store ERC721 token metadata

I am new to ERC721 tokens so this may be a stupid question. I want to create my own ERC721 which can be integrated with opensea using the metadata, as far as I understand you have to store the ...
1
vote
2answers
470 views

How to check Balance & send ERC721 Tokens

I have SPH ERC721 Tokens. How can I check balance like ERC20 and send ERC721 tokens token to Exchange or in other wallet ?
-1
votes
1answer
61 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
vote
1answer
95 views

ERC721 “Digibles”: different than Bitcoin colored coin concept?

As I understand ERC721 contracts, in particular Cryptokitties, a cryptokitty is not associated with a piece of ETH but rather is just some storage associated with the Cryptokitty smart contract. Is ...
0
votes
2answers
154 views
0
votes
0answers
46 views

Solidity bytecode not generated despite no errors

When does a compiler fail to generate bytecode for solidity? The code compiles entirely but both remix and solc js give proper abi but empty bytecode. The contract imports ERC721. Solidity contract: ...
0
votes
1answer
31 views

Are there any good ways to express conditional ownership on ERC20 or ERC721 tokens?

I'm currently looking for any good ways to express conditional ownership on tokens. I look into approve function of both ERC20/ERC721 but, it seems that function may be disapproved by the owner and ...
0
votes
0answers
25 views

Cann't send token with looping function

Sorry, I'm a newbie on ERC721 token. Please help. I have deployed ERC721 contract in the localhost testnet. I use looping function for mint token and it works. But when I use looping function for ...
-1
votes
1answer
29 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?
6
votes
1answer
365 views

creation ERC721 error: Transaction failed, invalid address,

I would like to learn how ERC721 token works. I found some sample contracts online and tried to use remix and Ethereum Wallet to deploy the contract. The compile was fine but failed in the creation. ...
0
votes
3answers
53 views

Self-destructing NFT (ERC-721) token [closed]

What I want to achieve is self-destructing token. For example I'd like to have some updatable TTL value assigned to my token. If TTL is reached the token should be auto-burned. What are the best ...
1
vote
1answer
498 views

DeclarationError: Identifier already declared. Two imports import the same ERC721 contract

Im building a contract that uses two contracts that both use the ERC721 zeppelin contract, when I import the two as such: import nonFungableWidthAddedFunctionality1.sol; import ...
1
vote
1answer
562 views

Get ERC721 token total supply using web3.js

I created a simple contract which basically does nothing but mints new ERC721 tokens. The solidity code for it is as follows: struct Monster { string name; uint level; uint ...
-2
votes
2answers
43 views

ERC721 - How to create many ERC721 tokens at a time

Is it possible to create many ERC721 tokens at a time? I saw this link. ERC721 - Create 1000 tokens in one function call But I don't get it. Please help me.
1
vote
1answer
81 views

Implementing ERC721 Marketplace

I'm working on a project where I need to implement an ERC721 marketplace. It doesn't work for some reason and wanted to know if I'm doing everything correctly. The way I approached this was: The ...
0
votes
2answers
84 views

gas required exceeds allowance when deploying ERC721token

I am trying to deploy Smart-contract(ERC721) on my private ethereum network. But I have this issue. Here is my genesis. { "config": { "chainId": 3333, "homesteadBlock": 1, ...
0
votes
0answers
20 views

ERC1410 Security Token

I am searching for an ERC1410 security token contract source code (must be tested) to implement in another contract, there is a github repo available but it is written in the beginning that the code ...
2
votes
2answers
126 views

ERC721 Token - Burn and mint again

I didn't try yet, but let's suppose the following: I have an ERC721 contract token with a total Supply of 101 My contract can mint and burn The first token has id 0 and the last one has id 100 I ...
3
votes
1answer
96 views

Issue in ERC721 token transfer to contract address

I am using ERC721 implementation for NFT tokens. I am testing the transfer functionalities in ERC721. `transferFrom(address _from, address _to, uint256 _tokenId)` `safeTransferFrom(address ...
2
votes
2answers
28 views

Is there a way to be notified when ERC721 is deposited?

We are coding a contract that will work with ERC721 tokens, basically a Plasma Root Chain contract. We need this contract to do some work whenever it receives a new ERC721 token from a ...
2
votes
2answers
101 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 ...
2
votes
2answers
129 views

ERC20 Interfaces overwriting ERC721 functions - Possible to adhere to standard?

Is it possible to have a contract that both generates and manages its own NFT according to the ERC721 Standard, and is able to make calls to outside ERC20 contracts? My contract currently inherits the ...
1
vote
1answer
44 views

ERC721TokenReceiver, assuming that transfer function exists?

When trying to find out if a contract implemented onERC721Received from safeTransferFrom function, are we just safely assuming the contract has all the erc721 related functionalities? such as transfer,...
1
vote
1answer
29 views

bytes data param in safeTransferFrom

In ERC721, safeTransferFrom has bytes data parameter. function safeTransferFrom(address _from, address _to, uint256 _tokenId, bytes data) public; how do I send data (is it in hex format?) and what ...
2
votes
1answer
27 views

Is there a reason why minting is excluded in erc721 interface?

So the EIP-721 standard says, Creating of NFTs ("minting") and destruction NFTs ("burning") is not included in the specification. Your contract may implement these by other means. interface ...
1
vote
1answer
25 views

What does mutability guarantees mean in erc721

Some functions from ERC-721 interface contain payable modifiers. function transferFrom(address _from, address _to, uint256 _tokenId) external payable; I was wondering why it is payable and found ...
0
votes
1answer
65 views

ERC721Enumeration: DeclarationError for tokenOfOwnerByIndex(address owner, uint256 index)

I am new to the smart contract and please let me know why I have the error shown below. I compiled with the command, "truffle compile". I did not make any particular edits to the original contract ...