Skip to main content

Questions tagged [erc-1155]

The tag has no usage guidance.

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

What is "Store Value" in gala games inventory?

I had bought an NFT from Mirandus game (gala games) long before. Now I opened my account to see the below in the gala games inventory, under Mirandus : What does this store value mean? Is it the gala ...
Prasoon Surendran's user avatar
0 votes
1 answer
17 views

Getting an error While uploading image folder on pinata using pinFromFS function in nodejs

I am uploading approx 2.3 GBi of folder to pinata using pinFromFS() now i am getting error given below: Error: write EPROTO at afterWriteDispatched (node:internal/stream_base_commons:160:15) ...
Rahul Pithadia's user avatar
0 votes
1 answer
36 views

An ERC1155 token metadata is not visible in polygonscan and etherscan

I have deployed a basic ERC1155 importing the Openzeppelin libraries. Here is my smart contract. // SPDX-License-Identifier: MIT // Compatible with OpenZeppelin Contracts ^5.0.0 pragma solidity ^0.8....
Shiv Sharma's user avatar
0 votes
1 answer
64 views

Foundry Solidity Error: panic: array out-of-bounds access (0x32) while testing a batch mint function

I'm writing foundry tests for a function which batch mints erc1155 tokens for the users, but I'm getting a panic revert. The function I'm testing: function mintBatch( address to_, ...
DevABDee's user avatar
  • 473
0 votes
1 answer
25 views

Function is callable from Thirdweb Dashboard but not from the front end

I can call the function from the Thirdweb Dashboard and I get appropriate outputs but whenever I try calling it from the frontend I get a very weird error Here is the function: function userStakeInfo(...
Mohamed Wael's user avatar
0 votes
0 answers
26 views

Polygonscan NFT inventory indexing is not working properly

There is an ERC-1155 NFT contract deployed to Polygon Mainnet network: 0x057287DF57b9e0E45c250e8fA44115A11DD9E451 Currently, well over 350 unique NFTs have been minted on this smart contract. However, ...
Alexander's user avatar
  • 131
0 votes
1 answer
24 views

Why does super._update work in 1 function but not the other?

I am trying to override the _update function in an ERC1155 contract. However I get the following compiler error on my code: Member "_update" not found or not visible after argument-...
Technically Web3's user avatar
0 votes
0 answers
11 views

Dapp architecture & ERC1155

There are 2 smart contracts: Contract Game and Contract Token(ERC1155). I have 2 implementation options: Make the inheritance contract Game is Token {} and work with the token directly or Game ...
MetaverseM4ster's user avatar
0 votes
1 answer
30 views

How to exchange one nft for another from a different contract?

I have 2 ERC1155 contracts, and am looking to transfer nft2 into nft1's wallet upon checking wallet holds nft1, but not sure what I'm doing wrong. This is my nft1 contract: import "./NFT2.sol&...
katslair's user avatar
0 votes
1 answer
9 views

new release of ERC1155SupplyUpgradeale has compilation issues

The new contracts lib from OZ, specifically ERC1155UspplyUpgradeable has compilation issues before even inheriting it in any child contract (check screenshot below) any idea why? or how to fix it? ...
sasha's user avatar
  • 41
2 votes
0 answers
48 views

How ERC1155 can behave like ERC20?

As we say that ERC1155 can define both fungible and NFTs, how exactly is that implemented? The ERC has all the functions like an ERC721, and also it attaches a URI with all of the tokens, but ERC20 ...
Zartaj Afser's user avatar
  • 4,484
0 votes
1 answer
149 views

NFT transfer to a contract in ERC1155 standard

NFTS transfer from minter to contract isn't working, below is the detailed problem. NFT.sol // SPDX-License-Identifier: UNLICENSED pragma solidity ^0.8.19; import {ERC1155} from "@openzeppelin/...
Shubham's user avatar
  • 25
1 vote
1 answer
92 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
39 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
107 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
69 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
26 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
34 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
68 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
80 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
47 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
29 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
30 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
222 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
51 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
  • 15
2 votes
1 answer
45 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
146 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
238 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
92 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
  • 115
2 votes
1 answer
69 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
1 answer
49 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
1 answer
27 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
1 answer
17 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
51 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
119 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
60 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
  • 677
1 vote
2 answers
136 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
1 answer
60 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
46 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
201 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
148 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
51 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
  • 173
2 votes
1 answer
63 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
79 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
66 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
47 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
258 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
1k 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
118 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
877 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
2 3 4 5