People who code: we want your input. Take the Survey

Questions tagged [erc-1155]

The tag has no usage guidance.

36 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
1answer
33 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
993 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
1answer
58 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
187 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
37 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
65 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
85 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
370 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
0answers
28 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
23 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
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
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
34 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
42 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
39 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
1answer
36 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 ...
0
votes
1answer
439 views

How to creating multiple NFT tokens using ERC1115

I am new to solidity and ethereum network. I have knowledge of developing erc20 and erc721 tokens using openzepplin. But I am curious about erc1155. Also I have check the erc1155 documentation at ...
0
votes
0answers
149 views

Call contract's mint function from Truffle console

I'm trying to call my contract's mint function from the Truffle console, but I keep getting an error. The code looks like this: function mint(uint256 _optionId, address _toAddress, uint256 _amount, ...
0
votes
0answers
88 views

How can an NFT pay royalties to more than one creator?

Many NFT marketplaces have an option to declare royalty percentage to be paid to the NFT creator for each secondary sale of the NFT. Unfortunately, only one person (wallet address) can be assigned ...
0
votes
0answers
597 views

How to convert ERC crypto art NFTs into a Cardano NFT?

This is being asked two days before native tokens and multi-asset support hits the Cardano blockchain, but, given that Cardano has created an ERC-20 token converter that converts ERC-20 tokens to ...
0
votes
0answers
299 views

Using Uniswap for trading ERC-721 or ERC-1155 Tokens

Is it feasible to use Uniswap for buying and selling NFT's (ERC-721) or Semi-NFT's (ERC-1155) tokens? It would seem to me that it could be an easy way to implement a DEX for unique digital assets with ...
0
votes
2answers
758 views

How can I get a list of all owners of an ERC1155 NFT by using a web3 call?

With ERC721, there's the 'ownerOf' function that takes a non-fungible token's id and returns the owner address, but ERC1155 doesn't officially require that a function like that be implemented. I made ...
0
votes
0answers
16 views

Limiting operator transactions in ERC-1155

ERC-1155 has an API for somebody other to be allowed to transfer somebody's funds. Is there any "standard" extension of ERC-1155 allowing to limit which tokens and in which amounts can be ...
0
votes
1answer
53 views

Can a contract hold ERC1155 token?

I am curious if ERC1155 token is able to stake or something else with smart contracts? I know ERC721 is able but not sure about ERC1155. Thank you.
0
votes
0answers
64 views

Mint ERC-1155 Token with user defined variables

I would like to allow users to change the property of their items. Let it be the color. In my understanding though there is no way of changing the property of an already minted erc-1155 token. ...
0
votes
1answer
37 views

An attack to my contract similar to ERC-20 approval() exploit

I have function setNonRecurringFlow(uint256 _child, int256 _remainingSwapCredit) external; function setRecurringFlow( uint256 _child, int256 _maxSwapCredit, int256 ...
0
votes
1answer
41 views

Should increase/decrease token supply on transfer to/from 0x0?

I am about both ERC-20 and ERC-1155. Should totalSupply be increased/decreased, when: transferring to 0x0? burning an amount already placed at 0x0 address? By the way, should 0x0 be allowed to have ...
0
votes
0answers
21 views

ERC Standard for Interesting Use Case?

So the best way I can describe what I am trying to implement is with an example... Let's say you have a bunch of journalists, and each journalist has beneath them all of the articles they have written ...
0
votes
0answers
20 views

IERC1155Views - whether and how to use it?

Do I need to have IERC1155Views interface in my ERC-1155 contract to determine the number of decimals after the dot for the exchanges? If I don't specify IERC1155Views, what number of decimals will ...
0
votes
0answers
171 views

An ERC-1151 with two kinds of tokens, how to number them?

I have a potentially infinite set of each of the two kinds of tokens: seller tokens corresponding to Ethereum addresses; merchandise tokens corresponding to small uint256 values (item IDs). What is ...
0
votes
0answers
30 views

I developed this Entity relationship Attribute Diagram for the Ethereum erc 20 erc 1155 and erc 721 . Can anyone help find errors or misplaced details

I developed this ERA in order to compare the 3 token families, but I am not sure I am misplacing or missing something. Any suggestion or correction will be greatly appreciated . Ricardo Borges dos ...