Questions tagged [erc-1155]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
10 views

what are my erc-1155 transactions meaning? somebody airdrops or mints to my wallet

I currently made wallet in polygon. and some erc1155 contract was being made which i do not know. look below transactions in polygon scan. There are many erc-1155 tnxs to my wallet. but i do not have ...
jjunest Vpn's user avatar
0 votes
1 answer
14 views

With erc-1155 can you mint tokens on the fly with parameterized name and supply?

The erc-1155 contract would have various token types. Users would be able to request minting (contract owner would mind the tokens on their behalf) of any type available on the contract but they would ...
Sami Awwad's user avatar
1 vote
1 answer
31 views

When a ERC1155 works as ERC721 and when as ERC20?

Im trying to track in real time the holders of any ERC1155 contract, and I have this doubt about this interface. The ERC1155 can work as an NFT or as a Token, but also as both at the same time, right? ...
lucasmenendez's user avatar
1 vote
1 answer
26 views

Need help testing my smart contract

I am currently in the process of testing my solidity smart contract using hardhat and am a bit confused on how I should do it. This is the very first time I am testing a smart contract so I am bit ...
EGstacking's user avatar
1 vote
0 answers
18 views

Free functions cannot have function visibility

I am developing my Dapp and as I am trying to compile and test my contract I keep getting an error saying that free functions cannot have visibility and I am very frustrated and confused as to what is ...
EGstacking's user avatar
1 vote
1 answer
29 views

Re declaration question - Inheritance & overriding

I need help clearing somethings up when it comes down to redeclaration and implementation of inherited functions. I have an example below. I am building an nft erc1155 marketplace and inherited the ...
EGstacking's user avatar
1 vote
1 answer
37 views

question about interfaces and inheritance

I am building my own application for an erc1155 dapp but have some questions about interfaces and inheritance. How do you re-declare functionality that you inherit from another contract? Also, how do ...
EGstacking's user avatar
1 vote
1 answer
40 views

Need help and tips with creating a nft erc 1155 smart contract

I am currently creating a nft erc1155 project and am a bit confused in the coding. I currently have mine written as such. uint public constant MILES_MORALES = 0 uint public constant GWEN_STACY = 1; ...
EGstacking's user avatar
0 votes
1 answer
29 views

How to identify a specific ERC1155 token instance?

I'm trying to write a game item contract where the player can upgrade the items. For this, I need to be able to clearly distinct the different instances of the same tokenID. Let me explain, if : ID=0 -...
Building Dwarf's user avatar
1 vote
0 answers
25 views

0x ExchangeProxy addresses point to different implementations on Ethereum and Polygon

Why is it that on ethereum the 0xDef1C0ded9bec7F1a1670819833240f027b25EfF contract is a ERC1155OrdersFeature and on Polygon it is a ERC721OrdersFeature? Does is mean that there is no ERC1155 support ...
AFMeirelles's user avatar
0 votes
1 answer
16 views

1155URIStorage not available in npm package but is available on OpenZeppelin Github

I can import import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155URIStorage.sol"; on Remix. But it throws an error in Hardhat. I have attached a picture of node_modules and it ...
Pankaj Jagtap's user avatar
1 vote
1 answer
36 views

Returning new {id}.json URI after setting a new URI in ERC1155

I understand that for OpenSea to read our metadata JSON file, we need the function below. function uri(uint256 _tokenid) override public pure returns (string memory) { return string( abi....
ratib90486's user avatar
0 votes
0 answers
32 views

Burn ERC1155 from ERC721 Contract

Would like to understand on how burn mechanism works on ERC1155, the ERC1155 is an airdrop token that will be use on GeneratedNFT.sol mint function so that it will to mint an ERC721 token and burn the ...
0xhaz's user avatar
  • 3
0 votes
0 answers
66 views

Are ASCII Symbols and Unicode allowed as a Symbol Name for a token?

Given that not everyone speaks english, how supported are UTF-8 Symbolic Names for tokens on Ethereum? Can for example, a Japanese project launch with Kanji? From what I am reading the symbol is of ...
rook's user avatar
  • 121
2 votes
1 answer
42 views

Getting trading data efficiently

How can I get historical trading data of an NFT collection programmatically? If it's a third party that can provide a service, please let me know and which one's are best too! thanks
Tien's user avatar
  • 193
3 votes
2 answers
89 views

Trying to get txn hash

How can I get an Ethereum transaction hash whenever a particular NFT/ERC20 token is transferred? Not sure exactly what process/code is needed to do that.
Tien's user avatar
  • 193
3 votes
2 answers
129 views

How to get ERC 721/1155 and ERC-20 data?

How do I get all the NFTs (ERC-721 & 1155) and Tokens (ERC-20) for a wallet address? Is there an API for this? Irwing Tello
Irwing Tello's user avatar
1 vote
1 answer
44 views

Does an NFT with a certain id exists? ERC1155

In Solidity, from inside a ERC1155 contract, how does one find out whether or not a token with a certain id exists in this collection? Will I have to create a variable to keep track of all the tokens?
Camila326's user avatar
2 votes
1 answer
58 views

Help with event filters

I have been using a combination of eth_newFilter and eth_getFilterChanges for getting new NFTs minted on Ethereum and Polygon. But I miss some NFTs whenever my server gets overloaded. Is there any ...
Devsuite's user avatar
0 votes
0 answers
37 views

ERC1155 : how to find all NFTs information from the event "TransferSingle"

ERC-1155 is an Ethereum token standard that combines the functionality of previous standards like ERC-20 (for fungible tokens) and ERC-721 (for non-fungible tokens). ERC-1155 enables the efficient ...
Salim Toubal's user avatar
0 votes
1 answer
29 views

When an NFT from one collection gets transfered, transfer certain NFTs from other collection automatically

There're 2 future NFT collections. Is it possible to create the contracts for them in such a way that whenever an NFT of collection_1 c1 gets, some NFTs from collection_2 c2 of the same account get ...
Nondi's user avatar
  • 49
0 votes
0 answers
82 views

How to re-mint NFTs to the existing holders?

Suppose, I've created an NFT collection of V1, of ERC751 or ERC1155. After some time, I've discovered that I want to fix a bug or improve it in some way, and this will become V2. I'll then go ahead ...
DankenN's user avatar
  • 37
0 votes
0 answers
21 views

Cannot get my Files to compile in hardhat. getting loop of a few error messages indicating I am either passing too many arguments or not enough

I have tried several solutions offered by a few others and have used open AI to try to get some help, but cannot get files to compile. Please know that I have also tried passing the parameters in the ...
Shawngilbert107's user avatar
0 votes
1 answer
18 views

How to embed information into an NFT of its type/class?

Let's say, I wanted to create an NFT collection such that there'll be 3 classes/types of NFTs: animals, humans and aliens. For this, will I then have to simply introduce a field for type in a contract ...
Nondi's user avatar
  • 49
0 votes
0 answers
22 views

ERC1155 - add custom operators to operatorRegistry

I'm developing an ERC1155 upgradeable contract that has to be OpenSea compatible as well. One of the requests is to have an operator address that's not the owner, and another one is to have a trader ...
mdlapla's user avatar
  • 79
0 votes
1 answer
15 views

How only allow NFT minting after course completion

I am new to ethereum I building a course page where you would get an NFT if you complete the course. Any idea on how to implement it.
Ashutosh Jha's user avatar
0 votes
1 answer
30 views

How can I see the history of an ERC1155 token on-chain?

Let's say I have 10 tokens of a specific token id within an ERC1155 smart contract. If I send 1 of those tokens to another address and then this address send it elsewhere, is there a way I can see the ...
Falcon Stakepool's user avatar
0 votes
1 answer
64 views

Can Opensea pull and read standard metadata URI from ERC1155 NFT?

For example https://token-cdn-domain/{id}.json. Can Opensea and other similar clients read this kind of metadata link? Or I should override the uri() function like this function uri(uint256 _tokenId) ...
dtnwen's user avatar
  • 33
1 vote
1 answer
33 views

How to identify baseURI?

Suppose i uploaded a folder of images in pinata and got a CID and a URI for that. Then I uploaded the metadata folder which contains metadata for each images. I got a CID and URI for that metadata ...
Hacek 's user avatar
  • 645
1 vote
1 answer
61 views

What is the best option for mutable NFTs (ERC721 or ERC1155)?

I am researching on the best option to have mutable metadata for NFTs (ERC721 and ERC1155). What is the best option? Is anybody already using any approach to this? Tableland has just come to my ...
Falcon Stakepool's user avatar
1 vote
0 answers
34 views

Why is ERC-5185 in "Stagnant" status?

I work for a gaming company and we are looking for options to managing mutable metadata for in-game assets. I would like to use ERC-5185 to implement this. Does anybody know why it is in that status? ...
Falcon Stakepool's user avatar
0 votes
1 answer
38 views

Whitelist and identity tracking of NFT holders

I am working on ERC1155 NFT collection and because of the regulation related to the project I am part of, we are required to allow only certain users to hold the NFT. For that reason, I want to ...
Ron Megini's user avatar
2 votes
1 answer
159 views

How to find total value in ETH of all NFTs owned by a user

I am aware that we could find all the NFTs owned by a user using alchemy’s NFTs API. However, I was wondering if there was a way to them compute the value of that particular users portfolio.
datasleuths8648's user avatar
1 vote
0 answers
79 views

How to view balance of ERC1155 in Metamask?

I've deployed an ERC1155 Token via openzeppelin wizard and on importing that contract in Metamask I am facing this following issue How can I fix this? Here's my code // SPDX-License-Identifier: MIT ...
Talha Sajid Chaudhary's user avatar
0 votes
1 answer
39 views

ERC1155 and ERC1155UriStorage Question

For anyone who has worked with Open Zepp's ERC1155 and ERC155UriStorage. Both of them have a _setURI function and a uri function (returns the token uri). 2 questions when using both of these ...
Blockpain's user avatar
  • 143
2 votes
1 answer
55 views

How can I show Nfts minted in other contracts in my NFT Marketplace?

I want to create a NFT Marketplace website where people can list and buy NFTs. It will be multi-chain supporting both Polygon and Ethereum chains. It will accept both ERC721 & ERC1155 tokens. I ...
Nirban Chakraborty's user avatar
0 votes
1 answer
56 views

Does Moralis "Get NFTs by Wallet" API support ERC-1155?

I am using this service from Moralis to retrieve all the NFTs that a wallet has. Does this support ERC-1155? I know these tokens are semi-fungible so they are not exactly NFTs, but I was hoping I can ...
Falcon Stakepool's user avatar
1 vote
1 answer
50 views

Middleman contract to mint another ERC1155

Is it possible to create a middleman like contract to burn from one ERC1155 contract(Contract A) and mint another ERC1155 contract(Contract B) to the sender if he meets the criteria written within the ...
jjjj_lllll's user avatar
1 vote
1 answer
38 views

Struggling to pick token standards for a game

Hello Ethereum community, We are building a game and struggle to figure out which token standards to use. Here is a high level overview of what "tokens" we need: Crystal (Tradable, FT, ...
Milos Krstic's user avatar
0 votes
1 answer
140 views

Fetching all ERC1155 tokens of a smart contract ( The smart contract is not the minter )

In my project, I encountered a situation where I needed to fetch the ERC1155 tokens that a specific smart contract owns ( Assuming that I have already transferred a bunch of ERC155 tokens to it from ...
Sina Rahimi's user avatar
0 votes
1 answer
311 views

HOW TO TRANSFER ERC1155 NFT TO ANOTHER WALLET

I Have A Ethereum ERC 1155 NFT in my Trust W. I want to send it to my MetaMask Wallet. Do I send this NfT to my MetaMask the same way as if I was sending a regular NFT?. Like normally sending a BNB ...
StuckDrop's user avatar
1 vote
0 answers
85 views

Unable to send ERC1155 to a Safe wallet on Polygon

I'm trying to send an ERC1155 to a Safe Wallet from an EOA address, and so far, I have been unsuccessful. Here's the code I'm using: async function main() { try { // setup const provider = ...
hishboy's user avatar
  • 111
1 vote
3 answers
437 views

How to get all the owners from an NFT collection?

How do I get a lift of all the current owners of an NFT collection and the token id owned by each one of them?
Chain Saw's user avatar
1 vote
1 answer
148 views

Is it safe to use ERC 998 now?

I want a functionality in my smart contract where a token ( say an ERC 721 token ) can own other tokens ( ERC 721 , ERC 1155 , ERC 2535 ) . With some research I got to know about ERC 998 . I checked ...
Gaurav Pant's user avatar
0 votes
0 answers
414 views

ERC1155: insufficient balance for transfer

I trying to transfer ERC1155 VIP ticket from account owner to another address. Even after confirming the account owner balance, I still hit the error on the title of this question. How do I transfer ...
Sunday M's user avatar
0 votes
2 answers
457 views

How to query balance of ERC1155 without token id? (each tokenId is 77 characters long and non-sequential)

The tokenIds on the contract I want to query are 77 characters long each and don't seem to be in sequential order....is there a way to query the contract for balances and tokenIds without entering the ...
Stackaccount1's user avatar
0 votes
2 answers
177 views

how the ether transfer in smart contract works?

I'm trying to understand the transaction flow in the smart contract between a seller and a buyer. As far as I've looked, whatever transaction is made between the seller and buyer, the ether is stored ...
badcoder01's user avatar
0 votes
1 answer
64 views

how to write a ERC1155 smartcontract to sell nft?

I trying to write a ERC1155 smart contract, where you can sell the nft for someone for a certain eth or wei, and receive that eth or wei in my address. help me with some examples. thanks in advance :)
badcoder01's user avatar
0 votes
1 answer
173 views

DAO with ERC1155 as governance token

I am currently wondering if it's possible to set up a DAO with an ERC1155 as the governance token to vote, I am 90% sure it's not doable. Thank you for your time, enjoy your day.
GiorgioDG's user avatar
0 votes
0 answers
32 views

Can Ethereum smart contract sell token at fixed price that includes gas fee?

I am new to solidity and Ethereum in general. I am using openZeppelin lib and trying to modify an existing contract that exchanges ERC-1155 tokens so, that the price it expects to be payed for token ...
anton melnychuk's user avatar

1
2 3 4 5