Questions tagged [erc-1155]

The tag has no usage guidance.

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

How to give approval to all addresses to transfer my tokens?

I am trying to develop an erc 1155 marketplace? I am using the function : ERC1155.setApprovalForAll(to, true); To provide approval to all tokens that the owner owns to a particular address. Now, I ...
user avatar
0 votes
0 answers
16 views

setApprovalForAll(..) with OpenSea

I'm still bothering with OpenSea... I'm creating some tokens in OpenSea in Rinkeby, and I'm transferring them via web3 (ethers) through some scripts that I built myself. Question, I have had to ...
user avatar
0 votes
0 answers
9 views

Error with safeTransferFrom() ERC1155

I'm doing a job to load opensea collections and their tokens into another project and sell them with user approval. The thing is that I have created a token in Rinkeby, and from my script, I ...
user avatar
0 votes
0 answers
3 views

ERC-1155 merge and unmerge

What are your recommendations for best ways to merge and unmerge tokens? Looking at erc-1155 to allow resources to be combined to create a new in game asset which can be traded then broke down into ...
user avatar
0 votes
0 answers
11 views

Display list of token ID's in a collection on opensea?

For the ERC 1155 is it possible to display a list of all token IDs from a particular collection separated by a coma
user avatar
0 votes
1 answer
19 views

How to upload NFT Metadata of multiple images after you get base-URI of folder using coding instead of manually doing it?

How to upload NFT Metadata of multiple images after you get base-URI of folder using coding instead of manually doing it ? So, After I upload my Image through Pinata/IPFS, I get a Base-URI. Now I want ...
user avatar
0 votes
1 answer
15 views

Multi Contract Interaction / Contract interacting with another contract / Contract using another contract without Inheritance

My question is what are the limitations of one contract using another contract ? When I'm using another contract as shown below, What is the another contract storing ? e.g: If contract B calls ...
user avatar
1 vote
1 answer
34 views

I want mint N-number of NFT's to N-number of people using ERC1155

E.G: 1-NFT minted sent to 1-person, But in a broader perspective. e.g: 100 NFT's to 100 people, In the same function using ERC1155. I want to mint and transfer those 100 nfts in the same function. To ...
user avatar
0 votes
0 answers
27 views

create two nft collections from one smart contract in OpenSea

I want to list two collections on Opensea but instead of creating two smart contracts for that, I want to create only one (to save gas fees of uploading a contract). the only two ways I found to ...
user avatar
  • 1
1 vote
1 answer
26 views

ERC1155 Deficiencies

I'm using a direct implementation of these in a different language and considering the deficiencies of 1155. There is no shortage of articles comparing 721 vs 1155, but all of them go on to say 1155 ...
user avatar
  • 11
0 votes
0 answers
15 views

How to write the Mint function in an ERC1155 Smart Contract and Ethers js library

Can anyone help me implement the mintPass(mintAmount) method in my next js application using ether.js library how can I write the mintPass so people can mint till 4 passes I am using ethers.js library ...
user avatar
  • 1
1 vote
1 answer
23 views

Transaction fail error

When I add the following line - require(msg.value > 0.1 ether); I get the following error - Gas estimation errored with the following message (see below). The transaction execution will likely ...
user avatar
0 votes
0 answers
16 views

Does OpenSea support ERC-1155 (Fungible Token)?

OpenSea says it is a marketplace for NFTs, and it also mentions ERC-1155, as we know, ERC-1155 supports NFT and FT(Fungible Token), so, does OpenSea support ERC-1155 FT(Fungible Token)?
user avatar
  • 1
0 votes
0 answers
9 views

How to store files in private IPFS Network in a content addressable archive manner?

I have created a private IPFS network and I want to store files in this network in a content addressable archive manner. So that I get same URL for all tokens which would be only differentiated by ...
user avatar
0 votes
0 answers
8 views

How ERC 1155 standard prevents from "out of gas" error in batch operations?

I was checking the implementation of Openzeppelin's implementation of ERC-1155 standard and I'm curious about the use of _safeBatchTransferFrom function to transfer multiple tokens at once. The ...
user avatar
  • 584
0 votes
1 answer
31 views

How can i generate two equal signature with web3 and solidity?

i want to compare two signatures one i created from web3 const privateKey = //'address user' const hash = web3.utils.soliditySha3(address); const signature1 = web3.eth.accounts.sign(hash, ...
user avatar
  • 15
0 votes
0 answers
12 views

Check Wallet For NFT From Collection Args

I'm trying to implement a whitelist based on NFT ownership from a collection. The whitelist also implements timeout between calls, so the current model is mapping(address=>date) whitelist; where ...
user avatar
  • 11
0 votes
1 answer
51 views

Are there a function for erc1155 like this function isValidSignatureNow?

i used to use for erc720 this function isValidSignatureNow, but now i am working with erc1155 i need a function like that. i am trying to mint but before i need to know if that wallet can mint for ...
user avatar
  • 15
0 votes
0 answers
16 views

ERC1155 fungible token transfer does't work

I am working on my image exchanging marketplace implemented with ERC1155 and Sveltekit. I am stuck with a problem that can't transfer ERC1155 fungible tokens between accounts. I tried to implement ...
user avatar
0 votes
1 answer
14 views

Merging two NFTs together

Is it possible to merge two NFTs so that one burns and the other one gets altered with added characteristics?
user avatar
0 votes
0 answers
13 views

what is the difference between an ERC 1155 collection and edition

I am confused regarding the difference between a collection and an edition in erc 1155. I do understand that a collection is like an album where we can specify that this erc 1155 token belongs to this ...
user avatar
  • 740
0 votes
0 answers
79 views

Splitting royalties from NFT sales to NFT holders using opensea

I have a smart contract for NFT airdrop and whitelisting written in erc 1155 I've been researching for about a week and couldn't find an answer since OpenSea does not enforce EIP 2981 yet I have ...
user avatar
  • 1
1 vote
0 answers
28 views

Openzeppelin ERC1155 missing virtual function?

This is my ERC1155 contract: // SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.13; pragma abicoder v2; import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol"; contract ...
user avatar
1 vote
0 answers
50 views

Is there a way to identify if an address is erc721 or erc1155?

I would like to know if there is any method of identifying if an address is erc721 or 1155 without calling the differentiating functions on both.
user avatar
0 votes
1 answer
62 views

Contract URI not fetched - shows "Untitled Collection" in metamask

I have created an ERC1155 smart contract which works perfectly fine on opensea - it finds the uri and the contractURI well. However, when I add the NFT on testnet to metamask, while the NFT data is ...
user avatar
0 votes
0 answers
16 views

How to write a upgradable function for ERC1155

I have a contract 1155 which is upgradable and even there are also some functions in the contract which are being called to update one of its variables like e.g txnVar = 0and when i call some ...
user avatar
0 votes
1 answer
45 views

Approve a single token ID in ERC1155 token standard

I am facing an issue when i am trying to give approval to the operator to burn my token in ERC1155. The issue is i want only to give access to the particular token id with a particular amount. But ...
user avatar
0 votes
0 answers
25 views

Can we sign and approve a transaction or call a function from our NodeJS Backend without involving metamask?

I am creating an NFT marketplace where I need to accept fiat payments. I am using stripe and after confirmation of fiat payment, I want to call the transfer function of my smart contract from NodeJs ...
user avatar
0 votes
0 answers
10 views

Multiple Inheritance Issue: TypeError: Linearization of inheritance graph impossible [duplicate]

what could be the quick solution for this? I am trying to rearranging contracts and trying re ordering of smart contracts
user avatar
0 votes
1 answer
18 views

Is it possible to analyze how frequent the ERC721/1155 `tokenURI` method is called?

The ERC721/1155 method tokenURI is a public variable and has a getter for retrieving the data itself (e.g., often returns the ipfs://Qm... CID). Let's assume the tokenURI method itself isn't emitting ...
user avatar
  • 1
0 votes
1 answer
57 views

is there an ownerof function equivalent for ERC1155?

I would like to be able to call all the addresses for a specific tokenId in an ERC1155 contract in order to airdrop those with a specific token. I know ERC721 has the function ownerof to allow for ...
user avatar
  • 3
0 votes
0 answers
35 views

Totalsupply erc1155 and 721 +owner

How can i get the totalSupply of an erc721 and erc1155 without the totalSupply() function since its not always available, And how can i get the current owner of an erc721/ Erc1155
user avatar
0 votes
0 answers
53 views

ERC1155 token transfer to an ERC721 contract

is it possible to initiate an erc1155 token transfer to an erc721 contract. if yes, how can this be achieved? by using erc165 supports interface? and implementing an "onERC..." received ...
user avatar
0 votes
2 answers
64 views

Is it mandatory to include royalties inside smart contract code of an NFT smart contract?

I have created a smart contract for the NFT collection marketplace and did not include any royalties inside the smart contract. I would like to confirm whether do I need to add some functions inside ...
user avatar
0 votes
0 answers
12 views

Temporarily ownership and Dependency/Customization of NFTs (REMAKE)

Had to remake now that I have an official account (wasn't able to comment to answers, if you commented on earlier post please repost answer here if possible) Original post link: Temporarily ownership ...
user avatar
  • 1
0 votes
3 answers
32 views

Temporarily ownership and Dependency/Customization of NFTs

In NFTs is there way to create a system where 2 NFTs (A and B) can be confirmed to be owned by the same owner and a new NFT (Z) is created that is dependent on the 2 primary NFTs (A and B). By ...
user avatar
  • 1
0 votes
1 answer
107 views

ERC1155 total Supply not showing?

I want to be able see the total supply of each token. I have imported the extension and followed the erc1155 documentation with regards to totalSupply, however when deploying on Remix and calling ...
user avatar
  • 3
2 votes
1 answer
185 views

Correct way to create a ERC1155 collection

I am working on creating a contract that implements ERC1155 tokens. I want to be able to init a collection with different tiers. So let's say 3 tiers, tier1 will have 15 supply, tier2 50 supply and ...
user avatar
0 votes
1 answer
52 views

ERC1155 : Adding a batchMint function with multiple destination address

We needed to distribute a fongible ERC1155 token to a thousand addresses. We created for this task a new batchMint function simplified here : function batchMint(address[] addresses, id, amount) { ...
user avatar
  • 101
1 vote
0 answers
174 views

ERC-1155-NFT token shows balance of 0 on Metamask

I have a NFT 1155-Smartcontract, so for each tokenId, the supply is 1. I am testing on the rinkeby testnet and am having some issues. The minting itself is working fine, meaning that the successful ...
user avatar
0 votes
1 answer
212 views

How to mint one or more randomly selected token ids on ERC1155 using Chainlink VRF?

I'm looking to have an ERC1155 smart contract with a set number of tokens, each with their own max supply, and when a user mints it selects randomly from the available tokens. Creating the 5 tokens (...
user avatar
  • 1
0 votes
1 answer
156 views

How to add Royalties to ERC1155 using ERC2981 [duplicate]

i am trying to make an auction contract for a market place. i want to add the functionality of Royalties in my smart contract.i searc google , youtube but there is no specific or proper implementation ...
user avatar
0 votes
1 answer
77 views

Permissioned Contract Interactions

I want users to mint NFTs on my ERC1155 contract but I don't want to pay the gas fees but I only want them to mint if I allow them so I was thinking maybe I would sign a transactinon on the backend, ...
user avatar
  • 101
0 votes
0 answers
90 views

Sell ERC1155 token on Polygon for ETH

Image I have an NFT (ERC1155), the contract (A) is deployed on Polygon. I have another contract (B) running on Polygon that is in charge of marketplace related stuff for the NFT, like listing, ...
user avatar
0 votes
1 answer
67 views

"COMPLETE_FILL_FAILED"error while using 0x Protocol V2 to exchange ERC1155 tokens

I am using 0x protocol V2 forwarder contract. And it's fine to exchange ERC721 token through function marketBuyOrdersWithEth, yet when I tried to exchange ERC1155 tokens, it keeps showing the [error][...
user avatar
  • 1
1 vote
1 answer
35 views

Distinguish Fungible token from Non-fungible in ERC1155

How can I differentiate between a fungible and non-fungible token in ERC1155. contract GameItems is ERC1155 { uint256 public constant GOLD = 0; uint256 public constant SILVER = 1; uint256 ...
user avatar
  • 51
0 votes
0 answers
120 views

How does OpenSea list all the NFTs created on Ethereum or any other blockchain? Do they use indexing?

I know that OpenSea has two ways anyone can list their NFTs on the platform: Manually create an NFT You can create a collection for your project You can use the OpenSea minting contract I am ...
user avatar
0 votes
1 answer
252 views

What NFT marketplaces have currently implemented EIP-2981?

Is there a generic way to set royalties from smart contract. Looking for a method that applies to all top marketplaces.
user avatar
0 votes
1 answer
49 views

What does this decompiled NFT contract source code mean?

Decompiled the bytecode of a ERC-1155 contract using EtherScan, which gave the following result. It's fairly short, which is unexpected for an NFT, so line-by-line what does this code even mean, given ...
user avatar
1 vote
1 answer
298 views

What's the reason why an ERC1155 token can't be burned by a different address?

I'm new to Solidity and smart contracts, and was playing around with the ERC1155 contract from OpenZeppelin. I was wondering how (from a technical perspective) you are able to _mint a token to address ...
user avatar