Questions tagged [erc-1155]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
11 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
18 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. ...
1
vote
1answer
23 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
10 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
48 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
7 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
56 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 ...
0
votes
0answers
13 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 ...
1
vote
1answer
40 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
2answers
75 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 ...
2
votes
1answer
38 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
103 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 ...
0
votes
1answer
103 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
61 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, ...
1
vote
1answer
278 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 ...
3
votes
1answer
134 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 ...
1
vote
1answer
76 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 ...
2
votes
2answers
93 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:...
0
votes
0answers
39 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 ...
1
vote
2answers
1k 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 ...
0
votes
0answers
564 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 ...
2
votes
1answer
136 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 ...
1
vote
1answer
31 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 ...
2
votes
1answer
234 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 ...
1
vote
0answers
27 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.
2
votes
0answers
28 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
39 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/...
0
votes
0answers
170 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 ...
1
vote
2answers
193 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 ...
2
votes
1answer
61 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 ...
0
votes
2answers
415 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 ...
1
vote
0answers
55 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
59 views

Can we say ERC-1155 is the same thing than SFT

I have understood the differences between Fongible tokens and Non Fongibles tokens (NFT). I have read a new kind of token called SFT: Semi interchangeable token. It is supposed to be a mix between FT ...
0
votes
0answers
14 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 ...
1
vote
1answer
220 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 ...
0
votes
1answer
39 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.
1
vote
1answer
77 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 ...
0
votes
0answers
49 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
33 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
31 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
1answer
31 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
0answers
20 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
16 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
135 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
26 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 ...
2
votes
1answer
153 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 ...
1
vote
1answer
143 views

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

How the precision (number of digits after the dot) for a ERC-1155 token is determined?
3
votes
2answers
793 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
88 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?
0
votes
1answer
310 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 ...