ERC-20 is a smart contract standard defining an interface and a set of rules for development of fungible tokens on the Ethereum platform.
Questions tagged [erc20]
462 questions
0
votes
1 answer
How can I fork an existing blockchain and limit token creation (if possible)?
I was thinking of forking an existing blockchain implementation (irrelevant for the matter) but would like to know if it's possible to only allow my tokens to be used on that blockchain.
Is that even possible? If so, how could I achieve it?
Because,…

LuisF
- 564
- 1
- 7
- 18
0
votes
0 answers
Cannot Verify Ethereum ERC20 token
I have successfully deployed an Ethereum ERC20 token using the code on:
https://www.ethereum.org/token
Now came to the stage when we need to verify the contract, which I am unable to.
I have compared input bytecode with bytecode in my Wallet and…

user9624803
- 11
- 5
0
votes
1 answer
sellPrice and buyPrice Solidity
I have a problem trying to put my sellPrice to 0.01 and my buyPrice equals to 0.02.
My contract is deployed and later I use setPrices function to set token price. I put with doble quotes "10000000000000000" and "20000000000000000" because if I put…

Francisco
- 163
- 1
- 5
- 18
0
votes
2 answers
Can one contract own tokens of another one
if I got it right smart contracts do not have a private key, so they can not sign transactions. The first transaction is signed buy the user and if a contract calls another contract and so on, those transactions are also signed buy the user. So,…

Илья Черников
- 1
- 1
0
votes
0 answers
How to create custom wallet for ERC20 tokens
I know metamask, MEW etc can be used, but how can I create a new wallet for an ERC20 token.
Having [NAME-OF-TOKEN Wallet].
Can generate new token address on sign up automatically.
Can send tokens from one address to another without having ETH…

androidmaven
- 1
- 1
-1
votes
0 answers
ERC20 - transfer amount exceeds allowance even already using approve
i got transfer amount exceeds allowance when call transferFrom to ERC20, i already call approve first and already wait until the approve success..but when i call transferFrom, i got the error.
const wdAmount = ethers.utils.parseUnits(trx, 6)
…

Peno
- 1
- 1
-1
votes
0 answers
why does ERC20 Token locking function giving errors
I have this contract that lets a organisation register themselves and their erc20 token and lock some token to create a vesting schedule for different users, The Registering and whitelisting part it working perfectly but the locktokens function does…

prince gujjar
- 1
- 1
-1
votes
1 answer
How to transfer USDT on polygon chain from one EOA account to another EOA account
I believe I have to use transferFrom function of ERC20. But I didn't get success.
I also want to know will this approach show volume on chain for my contract address or I need to change the flow to EOA->smart contract->EOA.
//…
-1
votes
1 answer
Once again, ERC20 Insufficient Allowance
I know this question has been asked too frequently. I apologise, but I did not understand much of the answers. I've been trying to create a Staking Contract but this error has stumped me. This is not the stake function code itself, just the…

Invalortone
- 1
- 1
-1
votes
2 answers
When I approve a smart contract lets say unlimited ERC20 tokens does that mean it can send any and all ERC20 tokens? ETH, USDT, BNB all at one go?
When I approve a smart contract lets say unlimited ERC20 tokens does that mean the smart contract can send any and all ERC20 tokens? ETH, USDT, BNB all at one go?

Emma Collins
- 3
- 2
-1
votes
1 answer
Is this simple ERC20 token contract fine?
I have very little experience with solidity.
I need to create an ERC20 token that will be as simple as possible, with the following properties:
I must be able to burn some whenever I want
I must be able to mint some whenever I want
It must not have…

Segolene
- 35
- 8
-1
votes
1 answer
contract creation initialization returns data with length of more than 24576 bytes,
How do I fix this issue? It turns out this limit was introduced with EIP-170 and restricts the deployment of contracts with large initialization bytecode.

Bonsu
- 67
- 1
- 5
-1
votes
1 answer
Fireblocks API queued transactions issue
I am working with Fireblocks API and when I send multiple transactions one after another, most of them are QUEUED and it seems that Fireblocks is sending transaction requests to Kaleido one by one.
Therefore to process 50 transactions it takes…

Martin Ferenec
- 57
- 1
- 1
- 9
-1
votes
1 answer
Minimal ERC20 contract for testing
I was searching for minimal ERC20 token implementation. The OpenZeppelin's ERC20 contract with all of these extension layers is too big for students tutoring
interface IERC20 {
event Transfer(address indexed from, address indexed to, uint256…

Petr Tripolsky
- 1,419
- 15
- 23
-1
votes
1 answer
what is difference between transfer event of Mint function and Transfer function of ERC20 Smart Contract?
what is difference between transfer event of Mint function and Transfer function of ERC20 Smart Contract ?
I know that in Transfer event of Mint a from address is address(0) while in Transfer there is address of sender but not zero. I am expecting a…

Rahul Pithadia
- 1
- 4