Questions tagged [erc-20]

The ERC20 Token Standard is a set of 8 functions to be included (in an agreed upon language) in a smart token contract in order to enable interoperability across multiple interfaces and dapps. These functions relate to (1) how tokens can be transferred (2) how to access data about the token, and (3) how to format key events like transfers and approvals. ERC stands for Ethereum Request for Comments.

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

Is there a performance penalty towards creating the maximum number of tokens with ERC-20 etc?

I saw this link: Max possible ERC20 Tokens allowed with 18 decimals? Is there a performance penalty for creating so many tokens? Obviously the number of storage capacity needed for mining will be ...
okit247's user avatar
0 votes
2 answers
2k views

How to make transactions without metamask

My account has enough ether to make a transaction. How do i call a payable function that is written in solidity? I tried by calling like this const Web3 = require('web3'); const HDWalletProvider ...
Trinu's user avatar
  • 125
0 votes
1 answer
2k views

What is the best way of token redemption by user?

Background RETN Deals offers discount coupons from global brands and in addition, offers generous cashback in Cryptocurrency (RETN). The web application automatically tracks consumer purchases at ...
Rajesh's user avatar
  • 706
0 votes
1 answer
156 views

createPayment method from solidity contract: This transaction is excepted to fail

I'm trying to implement and use the Solidity claimPayment function so my users(client) can claim a defined amount of tokens on my website (i want them to pay the fees and my server decide how much ...
Owow's user avatar
  • 123
0 votes
1 answer
540 views

Is ERC20 Token Contracts the Only Way to Create Custom Tokens?

Is the only way to create your own tokens/cryptocurrency on Ethereum by deploying a Smart Contract following the ERC20 standard? After deploying the token contract, is the only way to transfer the ...
keweli's user avatar
  • 55
0 votes
1 answer
206 views

My Token erc20 does not issue tokens

Here is my code: pragma solidity ^0.5.0; /** * @title ERC20Basic * @dev Simpler version of ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/179 */ contract ERC20Basic { ...
HM.schrodinger's user avatar
0 votes
1 answer
2k views

How to call a function from deployed contract to another contract? [duplicate]

I created a basic ERC20 token contract and deployed in rinkeby testnet and I got the contract address now I want to call transfer() function from this deployed contract to another contract without ...
Chandu candy's user avatar
0 votes
1 answer
3k views

Uniswap Price Feed.- Get price of a Token in a Solidity contract

I am looking to retrieve the current price of a token from Uniswap. I have successfully used the ChainLink oracle api to get the price of BTC/USD, but I want to now integrate Uniswap price feeds. I ...
Joe_Bloggs's user avatar
0 votes
1 answer
724 views

create ERC-20 token from a contract function

I would like to do a function create contract with ERC-20 interface. But I have a few problems. If anyone help me I’ll be appreciated. Here’s the code : pragma solidity ^0.5.0; import 'https://...
Furkan Demirel's user avatar

1 2 3 4
5