Questions tagged [erc-1155]

The tag has no usage guidance.

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

What does ERC1155 have to do with Opensea (and other NFT marketplaces') "gas free minting"?

I have been trying to figure out how ERC1155 "helps" with NFT marketplaces like Opensea and Rarible implement "gas free minting". Here's an excerpt from Opensea's blog: NFTs made ...
0
votes
1answer
30 views

How can Opensea and Etherscan understand that CryptoPunks are NFTs if the contract does not implement ERC20, ERC721 nor ERC1155?

I just noticed that the CryptoPunks contract does not implement any ERC standard, however it is properly parsed by third-party platforms such as Opensea and Etherscan, were they can understand these ...
0
votes
0answers
11 views

How can I add a safeTransferFrom royalty/fee to the Contract Owner?

I have created a contract implementing ERC2981 and ERC1155, however I am not being able to understand how can I take a, eg. 5%, fee each time tokens change owners. I am using openzeppelin ...
0
votes
0answers
7 views

NFT implementations and interpretation in wallets

I am trying to implement discount vouchers as NFTs and a little confused so far to be honest. I am thinking it should work like this using the contract below: I call function awardDiscountVoucher() ...
0
votes
1answer
22 views

Multiple NFT contract vs Single NFT Contract

I was creating a place where people can launch their NFT projects. But there will be many NFT projects that will be coming in. Is it okay to do just one NFT contract for different artist? Or we need 1:...
0
votes
1answer
17 views

Why is BITWISE & used in ERC 1155 implementation

I am trying to understand why BITWISE AND (&) operator used instead of LOGICAL AND (&&) operator in ERC 1155 implementation. Link - https://github.com/enjin/erc-1155/blob/master/contracts/...
1
vote
0answers
43 views

How to transfer an ERC1155 Matic token using Node.js?

I'm trying to write a Node script that will transfer an ERC1155 token on the Matic network from my address to someone else's address. Here's an example token: https://opensea.io/assets/matic/...
0
votes
0answers
22 views

Is it possible to mint NFT (ERC-1155) using go-ethereum?

While web3.js provides fairly straightforward method to mint NFT, is it possible to mint NFT using go-ethereum? The system we have is using golang as primary programming language and we like to stick ...
0
votes
0answers
23 views

Add new token to ERC1155 contract

I'm working on building out an ERC1155 contract where a user can add a new token with the required metadata to my existing list of tokens. Is this possible with ERC1155? How would I go about doing so? ...
0
votes
0answers
43 views

Is ERC1155 gas fees relatively low when sending batch transaction of tokens from the same collection?

I've heard it can cut down gas fees when working with different tokens, like tokens from different collections or different standards (20, 1155) by making batch transactions. But the question is, can ...
0
votes
0answers
17 views

Access data part in ERC 1155 Token

I'm new to the DEFI and blockchain concepts. So spare me if this is a lame question. I am working on a project that needs data to be encoded and fed into the ERC 1155 token. I made a dummy contract ...
0
votes
0answers
49 views

managing multiple smart contracts

Looking for general feedback or advice about multiple smart contracts, each with unique options, offered by a platform for users. Is this common? For example, contract 1 is a barebones contract, costs ...
0
votes
0answers
27 views

How to track who owns the 1155 right now?

I have the following function that issues 1155 tokens to a bunch of receivers.: struct Order { address investor; uint amount; uint timestamp; } Order[] public ...
1
vote
1answer
57 views

How to send and receive value using ERC-1155

I am relatively new to solidity and blockchain. I want to develop a smart contract that sends values and another contract that accepts one using ERC-1155 tokens.Can any of you please help me out with ...
0
votes
1answer
42 views

Reference Examples for Amount of Gas (transaction/execution) Cost for Contract Deployment

Please excuse this newbie in advance! I am wondering if anyone would share their experiences on the cost of deploying a contract, be it in on the main net or on a test net or even remix. I understand ...
1
vote
0answers
63 views

How to see all the minted nfts and the owner addresses during development?

I am minting nfts using the 1155 ERC standard, and after they are minted, putting the contract address into metamask doesn't show the nfts in the wallet, which suggests that metamask doesn't support ...
0
votes
1answer
37 views

How to check token address when receiving onERC1155Received

I have two contracts, contract A that implements IERC1155 and contract B that implements ERC1155Receiver. When I receive the following onERC1155Received how to check that the token being transferred ...
0
votes
0answers
13 views

ERC721 with two sets of tokens and two sets of metadata

Is it possible to have an ERC721 contract with two balance mappings(so two sets of IDs) that correspond to two different sets of tokens that have different metadatas? I'm aware of the 1155 standard ...
0
votes
0answers
32 views

How to define Serial Numbers (Editions) in ERC1155?

If I want to mint 2000 tokens of a particular type/id (say 212121) by invoking the _mint function of ERC1155, how to assign these 2000 tokens a serial number from #1 to #2000 so that I can transfer #...
0
votes
1answer
95 views

Lock multiple batches of ERC20 tokens for a certain amount of time

I need to build a smart contract where users can lock their ERC20 tokens for a fixed amount of time (same amount of time for all users, e.g. 1 year). Lets say a user locks 100 tokens and half a year ...
0
votes
0answers
104 views

Need help regarding setting up an airdrop

I’ve been looking for information that could help me with the following but haven’t had much luck. I’m trying to find a a way that I can airdrop erc721 and erc1155 tokens to token holders of a ...
0
votes
0answers
172 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
204 views

Fetch all tokens (ERC20, ERC721, ERC1155) owned by a specified address

I am building an app and I need to fetch all tokens (ERC20, ERC721, ERC1155) owned by a specified address. I've seen some services for fetching ERC20 (ETHplorer) or ERC721 (Etherscan, OpenSea) tokens ...
0
votes
0answers
35 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
57 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
0answers
234 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
1answer
77 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 ...
3
votes
1answer
112 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?
0
votes
1answer
110 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
202 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
1answer
102 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
2
votes
1answer
142 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
621 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 ...
0
votes
1answer
28 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
0answers
9 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
40 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
28 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,...
7
votes
1answer
1k 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. ...
0
votes
0answers
19 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. ...
1
vote
0answers
44 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 ...
0
votes
1answer
99 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?
1
vote
1answer
659 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 ...
0
votes
0answers
100 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
48 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.
1
vote
2answers
346 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. ...
2
votes
1answer
627 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; ...
0
votes
1answer
168 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 ...
2
votes
2answers
337 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 ...
0
votes
0answers
30 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 ...
2
votes
1answer
408 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 ...