Questions tagged [erc-1155]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
7
votes
1answer
223 views

What is the best way to handle multiple NFTs of the same collection in ERC1155?

I'm learning ERC1155, and I'm a bit confused. This is OpenZeppelin's example of an ERC1155 Contract: They state that Thor's Hammer is an NFT (because only 1 was minted), while Gold is Fungible. ...
3
votes
1answer
215 views

If crypto art is stored off-chain, how does the collector have any control over their NFT's contents if the server where it is saved shuts down?

CryptoKitties essentially sells crypto art NFTs to collectors on the Ethereum blockchain. However, the pictures of the cryptokitties are stored on the company's server, since the NFT merely represents ...
3
votes
1answer
552 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 ...
3
votes
1answer
37 views

Can I send fraction of Fungible Token generated using ERC1155?

I am familiar with ERC20 and ERC721. Now exploring more about ERC1155. Just like we can send a fraction of ERC20 based token. can we send a fraction of ERC1155 based fungible token?
3
votes
2answers
1k views

How to generate a new token for ERC1155?

Developing an ERC1155 contract, how to generate an address for a new token? I need to create an API function like function createToken() returns (address). How? Should I just use an incrementing-by-...
2
votes
2answers
153 views

What are the reasons to use ERC-1155 instead of multiple ERC-20 contracts?

The ERC-1155 standard allows for multiple semi-fungible tokens. If I understand correctly, this would be no different than creating multiple ERC-20 contracts, with the same token quantities, to ...
2
votes
2answers
228 views

What tokenized assets can be stored on-chain?

Examples of digital assets that can be tokenized as NFTs are: crypto art (.jpg or .png file stored off-chain) game weapons or characters Examples of physical assets that can be tokenized as NFTs are:...
2
votes
1answer
167 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 ...
2
votes
1answer
305 views

Is there any way of creating ERC-1155 or ERC-721 tokens always earn transaction fees?

I have a rather interesting but challenging question. I want to create ERC-1155 and ERC-721 tokens that will be primarily traded using a Decentralized Exchange (DEX) implemented for a newly created ...
2
votes
1answer
149 views

What is operator approval in context of ERC-1155?

https://github.com/enjin/erc-1155/blob/master/contracts/ERC1155.sol says something about "operator approval". What is an operator and what is operator approval?
2
votes
1answer
156 views

How to Fractionalize NFT's (high level)

I have a question to the solidity experts out there. I am Looking into fractionalize NFT's. I was thinking of many different ways of doing it. My first thought was to make a erc-20 market representing ...
2
votes
1answer
59 views

How do I allow the current owner an NFT to append 8 bytes to the token?

How would I allow the current owner of an NFT to append a fixed number of metadata bytes to their token on chain. Is this something that can be done with ERC-1155 or ERC-721. Or is this a whole new ...
2
votes
0answers
191 views

Possession vs Title vs Ownership in NFTs

Is there a way to separate possession from title in an NFT smart contract? I'm not sure these are the best terms, but here are some examples: Renting out NFTs, say for use in a game. The rental is ...
2
votes
0answers
39 views

ERC1155 without metadata uri

Is it possible to create ERC1155 without metadata uri? At the moment I don't need metadata Thanks
2
votes
0answers
68 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/...
2
votes
1answer
87 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 ...
2
votes
1answer
376 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
2answers
384 views

Get a list of all token types for ERC1155

How do I identify what token types have been created for a specific ERC1155? I noticed the balanceOf function takes an address (owner) and the token type, but what if I dont know what all token types ...
1
vote
2answers
2k 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
2answers
350 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 ...
1
vote
1answer
57 views

How is the ERC721TokenReceiver.onERC721Received data parameter used in practice?

The ERC-721 and ERC-1155 NFT standards’ safeTransferFrom functions both accept a bytes data parameter which is then passed on unaltered to the transfer recipient address if this is a smart contract. ...
1
vote
1answer
68 views

How to have the contract check if the msg.sender currently owns a specific token. (erc721)

Assuming I have a contract to mint my own NFTs: (I'm thinking ERC-721, but not necessarily). I want to create another smart contract that before doing anything, verifies that the address interacting ...
1
vote
1answer
178 views

Precision (digits) of ERC-1155 tokens [closed]

How the precision (number of digits after the dot) for a ERC-1155 token is determined?
1
vote
1answer
86 views

How do I let a user transfer ERC1155 token from my contract address to his address?

What I want to achieve: A user should be able to transfer ERC1155 tokens from my contract address to his account. I've tried two approaches: Deploy ERC1155 contract, then pass its address to the ...
1
vote
1answer
165 views

Get NFT owner by contract & token Id

I am trying to get the owner of a NFT in solidity & web3 by calling the Contract and the token id In Web3.js-v1.3.5 I've tried this so far, but the result isn't ever calledBack! How can I handle ...
1
vote
1answer
132 views

Custom metadata urls for ERC1155 tokens

I have create a very basic ERC1155 token from this tutorial: https://docs.openzeppelin.com/contracts/3.x/erc1155 // contracts/GameItems.sol // SPDX-License-Identifier: MIT pragma solidity ^0.6.0; ...
1
vote
1answer
705 views

How to extract the URL of a crypto art as it appears within the NFT? and technical details like ERC-token type?

The following piece of crypto art has a title, description, and additional details regarding file and image size, provided by the NFT platform (Makersplace) where the artist (Lumi) minted the NFT for ...
1
vote
1answer
91 views

Is ownership of tokenized real assets through NFT upheld by law?

Let's say you've tokenized your house as a non-fungible token (NFT) on the Ethereum blockchain. if an NFT simply represents ownership of a tokenized asset, what actors or agencies currently will ...
1
vote
1answer
41 views

Storing nested array (2D array)

So I am making an ERC1155 token (for the batch mint pretty much). It is only ever going to mint NFT's (as you will see now now). I am trying to batch mint tokens and store an array for each one. So ...
1
vote
1answer
309 views

Is there are a ERC-1155 wrapper of ERC-20?

I want a ERC-1155 contract that allows anyone to "wrap" any ERC-20 token. Well, that's impossible, because when a ERC-20 token would be added, need to emit events for all its balances, but ...
1
vote
1answer
95 views

How can I determine which smart contract belongs to which vendor/app/etc. I am interacting with?

Rarible lists (on https://rarible.com/contracts.txt): RC721Sale Contract - 0x131aebbfe55bca0c9eaad4ea24d386c5c082dd58 ERC1155Sale Contract - 0x93f2a75d771628856f37f256da95e99ea28aafbe ERC721 Nonce ...
1
vote
0answers
31 views

Is ERC1155 an overkill if all NFTs are going to be unique?

Within the use-case I'm trying to define an ERC1155 for, I do not foresee to use duplicates for the same token. However, I would like to be able to have this option if such a necessity arises. Is ...
1
vote
0answers
39 views

How to pull metadata of NFT tokens that uses (erc721 and erc1155)

Is there any apis that we can use to pull such metadata , i found that openseac provided an api for the erc721 tokens but not for the erc1155 ones.
1
vote
0answers
76 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
50 views

ERC-1155 events for approval

ERC-1155: function approve(address _spender, uint256 _id, uint256 _currentValue, uint256 _value) external; /** @dev Allow other accounts/contracts to spend tokens on behalf of msg....
0
votes
1answer
35 views

Demonstrating the erc1155 data

how can I get the data of my erc1155 on the front/backend? I don't know which libraries and which functions to use? Thank you
0
votes
1answer
20 views

Does anyone knows about EthItem?

We already know that ERC-1155 is a combination of ERC-20 and ERC-721. Now, a new standard has arrived called EthItem saying that it is the combination of ERC-20, ERC-721, ERC-1155. So what is the ...
0
votes
1answer
25 views

Can my users mint their own NFT's ontop of my ERC1155 Token Contract?

I am planning on incorporating ethereum tokens in my online music community. I wanted to know, if I wanted to allow artists to create their own nfts would they mint it on my erc155 token or would I ...
0
votes
1answer
46 views

Identify and list all ERC-721 and ERC-1155 token using a node [duplicate]

I want to get a list of all ERC-721 and ERC-1155 based contracts. How can I do this using an Ethereum node? Do I need a full node to achieve this? Google BigQuery only supports ERC-721 tokens right ...
0
votes
0answers
8 views

How to search for event in when an input should be the 5th topic in event

I want to query an ERC1155 token event where I know the token Id, there only can be 4 topics and tokenId would be the fifth,which means it's not an indexed input and goes to the data part. How can I ...
0
votes
1answer
27 views

Get token standard type knowing the contract address and tokenId

How can I implement code that returns whether a token is in the ERC721 or ERC1155 standard, knowing both the contract address and the tokenId? What I tried is that I call a function that exists only ...
0
votes
1answer
21 views

Get quick access to assets, events

How do sites like Opensea get all their data so fast? Because getting the data from the blockchain and fetching the tokenURi's takes a lot of time. So I thought they might store all the assets, events,...
0
votes
0answers
11 views

ERC 1155 for creating token holding multiple child token?

I would like to create a contract with a "master token" and be able to create (post-deployement) "child token" without deploying again a contract each time I create a child token. ...
0
votes
1answer
36 views

Fetching token metadata from token URI

Is there an efficient way to get the metadatas of a list of token uri's? Like, what if I have a list of 50 token Uris, would the only way be to send a different get request to each url?
0
votes
0answers
43 views

NFT Id using erc-1155

I am bit confused regarding NFT implementation usng ERC-1155 because of newbie in NFT, by defination, there can be one instance of one NFT, there is one uuid per artwork. But in ERC-1155, I can set X ...
0
votes
0answers
40 views

contract to mint tokens on Rarible

Is it possible that we have a contract that allows the user to mint contracts directly on rarible. If so, please guide how will this be accomplished. I want to mint erc-721 and erc-1155 tokens.
0
votes
2answers
86 views

ERC1155 name and symbol

I do not understand something: ERC721 standard interface contains a name and a symbol. ERC1155 is very similar to ERC721 and I do not understand why there are no symbol and name variables in ERC1155. ...
0
votes
1answer
37 views

What is the best way to download all NFTs data

Mb someone knows what is the best way to download all NFTs data(uri) from contract?? I try to use filter on minting event but I need to do N iterations, because infura or web3 has limitation of 10k ...
0
votes
0answers
13 views

Signer Address Recovery

I have these 2 functions in my contract with help of which I want to recover the address of the signer: function formSigningData(address NFTAddress, uint NFTId, uint amount, address tokenAddress, uint ...
0
votes
0answers
21 views

ERC-1155 safeTransferFrom() issue: contract doesn't have permission to send tokens from itself

I have a function in an ERC1155 contract that looks like this: function foo(uint _id, uint _amm) external{ safeTransferFrom(address(this), msg.sender, _id, _amm, ""); } Assume the ...