Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [erc]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
32 views

ERC proposal for Digital Product Passports

I'm looking to start an ERC proposal for Digital Product Passports. My company provide me free time to contribute to Open Source and I'm looking to work on this subject. On my point of view Digital ...
Luthiano Trarbach's user avatar
0 votes
0 answers
7 views

Can ERC-4671 NTTs only be issued by third-party authorities?

I'm not trying to make anything in particular, but I'm new to Ethereum and just curious about the following: I've been reading about Non-tradable tokens (NTTs) and the ERC-4671 standard developed for ...
AsianDora's user avatar
0 votes
0 answers
26 views

Creating an ERC-681 URI for a custom contract call with array parameter

ERC-681 URIs can be used for any arbitrary contract transaction as well. Even though there are specifications for data types like address, uint, string etc., there are no specifications for how to ...
Ahmet Yazıcı's user avatar
0 votes
1 answer
106 views

Consolidate multiple Ethereum accounts

I have multiple Ethereum accounts with pretty small amount of Ether, like equivalent of $20…$50 Is it possible to consolidate all wallets and/or transfer the all coins to a single wallet in Ethereum ...
Xytrax's user avatar
  • 1
1 vote
0 answers
19 views

What does this function actually do in ERC1820?

I am unable to understand these two functions from the ERC1820 contract and its use. What does it actually do under the hood? Function 1 : /// @notice Checks whether the hash is a ERC165 interface (...
Zartaj Afser's user avatar
  • 4,221
0 votes
0 answers
21 views

Is ERC 20 smart contract apply mining pool rewards is scam [duplicate]

I got notifications ERC 20 smart mining pool rewards 25ETH which is 46kusdt . When I click over there, my fox wallet money 11kusdt went to someone account. Then I spoken to customer service they given ...
Sahota Jeetan's user avatar
1 vote
2 answers
1k views

How to create a raw ERC-4337 UserOperation from scratch and then send it to bundler?

I want to create a raw ERC-4337 UserOperation. I am using ethers library to write the test cases . According to ERC-4337 official documentation , the UserOperation is a struct with many fields . ...
Gaurav Pant's user avatar
0 votes
1 answer
20 views

Can I build an AragonOSx plugin using the Diamond pattern?

While developing my governance plugin for Aragon OSx, I ran into the max contract size limit. To get past this issue I looked online and found the ERC-2535 Diamonds, Multi-Facet Proxy standard. I have ...
juliette_chevalier's user avatar
1 vote
2 answers
991 views

EIP-4337 example implementation and source code

Heard about new boi in the town https://eips.ethereum.org/EIPS/eip-4337 . Read its documentation but it is way too technical for a beginner like me . Can anyone explain it in simple terms ? I read the ...
Gaurav Pant's user avatar
1 vote
1 answer
41 views

Is it possible to make ERC20 tokens that the issuer originally has all controls over them?

I am wondering if the issuer of the ERC20 token can move tokens from user A to user B, without getting the allownace from user A. Is it posssible? If it is, how should I code the ERC20 contract?
jchoo0x's user avatar
  • 47
0 votes
1 answer
97 views

Which function to call while inheriting a contract?

I was learning about Access Control in Solidity . I found OpenZeppelin's AccessControl.sol in which these 2 functions were available . I have a doubt as to which function to call in the inheriting ...
Gaurav Pant's user avatar
0 votes
3 answers
112 views

Is there any standard to burn these tokens?

I am learning Solidity . Currrently I am learning about ERC token standards . I want to write a smart contract in which it is possible for "msg.sender" who is calling the mint() function to ...
Gaurav Pant's user avatar
0 votes
2 answers
100 views

What is mint rate in ERC721A?

What is mintRate here ? contract Contract721A is ERC721A, Ownable { uint256 public mintRate = 0.001 ether; function setMintRate(uint256 _mintRate) public onlyOwner { ...
Gaurav Pant's user avatar
2 votes
1 answer
267 views

What do we mean by collision prevention when we are writing proxy contract for a smart contract?

I am learning to write a proxy contract in Solidity. What do we mean by collision when writing proxy contract for a smart contract? I have some other questions as well , pls refer to comments inside ...
Gaurav Pant's user avatar
2 votes
2 answers
816 views

Which is the best proxy contract?

I am learning how to write proxy contract for a smart contract . I am across this article . Here are many standards specified for writing a proxy contract . Which one of them is "best" ? By &...
Gaurav Pant's user avatar
0 votes
1 answer
397 views

Use of data in mint function of ERC1155

what is the use of data in parameter function of ERC1155 bytes memory data function _mint( address to, uint256 id, uint256 amount, bytes memory data ) internal virtual { require(to ...
Vijay raj panchal's user avatar
1 vote
0 answers
51 views

Private key error [closed]

My etherium private key has ffffffffffffat the start and always gives private key error each time I try to import it, the last 32 digit is correct
James Danniyok's user avatar
0 votes
1 answer
37 views

What is "|" operator?

I have been going through the ERC998 contract and came across this: return (ERC998_MAGIC_VALUE << 224) | bytes32(rootOwnerAddress) What is this "|" operator?
Shubham Sharma's user avatar
0 votes
1 answer
20 views

Ethereum Token Standard Naming

What are the criteria to name an ERC? I'm creating an ERC and I wonder how should I name it. I've been looking everywhere (Medium, Hash node, ETH Stack Exchange) and I haven't been able to find an ...
Didier Peran Ganthier's user avatar
0 votes
1 answer
590 views

How to get the total value of a address including tokens other than ETH

Is there a way to get the total value of a ETH address, not only its ETH value? I know Etherscan shows this on their website but I don't know if there is an API where I can grab this data, preferably ...
TheExplodingGradient's user avatar
0 votes
1 answer
42 views

How can the response from ERC-165 supportsInterface be trusted?

ERC-165 defines a function "supportsInterface" which takes a bytes4 interface ID and returns true or false based on whether the implementing contract conforms to the interface related to ...
user3479586's user avatar
2 votes
1 answer
164 views

ERC4626 and slippage

The newly introduced ERC4626 standard provides functions for depositing and withdrawing funds to a vault, but it is unclear to me how the designers envisioned adding custom slippage rates from the ...
ciri's user avatar
  • 121
2 votes
2 answers
264 views

Is it mandatory to include royalties inside smart contract code of an NFT smart contract?

I have created a smart contract for the NFT collection marketplace and did not include any royalties inside the smart contract. I would like to confirm whether do I need to add some functions inside ...
Ashok Sandhyala's user avatar
0 votes
1 answer
42 views

how can you turn off airdrops on an erc115

Just looking to see if anyone has come across the ability to stop airdrops on 1155?
user93303's user avatar
1 vote
1 answer
96 views

How to mint using standard ERC721

I couldn't find such mint, burn functions on the ERC721, ERC20, ERC1155 standard. Should developer add these function by themselves? Why wasn't it considered when the standard protocols were made? ...
lagoiz's user avatar
  • 147
2 votes
1 answer
118 views

Where are the "missing" EIPs numbers

A reference to a (non-existent) ERC715 popped up in a SE question and this made me wonder if there is a rationale behind the EIP numbering (based on the eip1, draft are included in the eip process and ...
DrGorilla.eth's user avatar