Skip to main content

Questions tagged [erc-1155]

0 votes
1 answer
21 views

Why do we use {id} when using ERC1155? I heard that using {id} prepends 64 zeros, so why can't we just manage it like ERC721 with 3.json? I don’t really understand.
강백호's user avatar
0 votes
2 answers
33 views

#Where can I test fungible token or solidity token online? #Where can I test fungible token or solidity token online? #DeFi/#NFT Project #DeFi/#NFT Project #DeFi/#NFT Project - Solidity on Smart ...
Al Masenya's user avatar
0 votes
0 answers
62 views

An item mint and save in contact ERC1155 works. But if I want to sell an NFt then I get an error: 1327-1f33d77b5a180a47.js:1 Buying NFT gives error: Error: execution reverted (unknown custom error) (...
Igor Roman's user avatar
1 vote
1 answer
57 views

I'm trying to get return the balance of an account and it's a fairly simple function in Solidity: function getUserBalance(address user) public returns (uint256) { return balanceOf(user, ...
Lazlo's user avatar
  • 13
0 votes
1 answer
35 views

I am interested in getting the transaction history for an ERC-1155 token by specifying the contract address and the tokenID. For example, saving all of the transactions from this token: https://...
Leon LP's user avatar
0 votes
1 answer
36 views

Currently, I'm working on a project to mint an ERC1155 token. but I need to make a transfer before the mint. Imagine minting this NFT, the user should pay $10, so I have to convert $10 to the ETH ...
Abbas.Khalili's user avatar
0 votes
0 answers
22 views

I have created an automated marked maker contract for NFTs. I think that it is best suitable for launching new NFT collections. Here is the contract source code: https://github.com/simplepools/...
Simple Pools's user avatar
0 votes
1 answer
189 views

I'm trying to build a blockchain NFT Marketplace app and two of the things I'm trying to do is getting the balance of tokens present from the user's account and finding the owner history for each of ...
Lazlo's user avatar
  • 13
0 votes
1 answer
164 views

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
219 views

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
826 views

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
  • 493
0 votes
1 answer
49 views

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
1 answer
71 views

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
1 answer
52 views

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
22 views

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 Flores's user avatar

15 30 50 per page
1
2 3 4 5
17