3

The gas limit for single send transaction is about 21000 gas.

Now I am creating my own Ethereum based crypto-coin, and I want to keep its conversion rate as 1 coin = 1 US$ and about 0.02 US$ as transaction fees.

But if my traders send 1 or just half coin, then also for this transaction, if they have to pay the whole gass limit then it will be of no use as it will be more of a loss.

So, my question is, is there any other way to avoid this much fee? Or instead, can we combine multiple transactions up to a limit and then send it as a 'single transaction' to miners??

Thanks in advance.

2 Answers 2

4

The gas limit for single send transaction is about 21000 gas which turns out to be 0.000378 ether per 21000 gas, roughly equal to 0.4 US$.

The SafeLow cost for a transaction is currently $0.019, which is a lot less than your $0.40. It's possible, however, that the price has fluctuated since you wrote your question, which I'll talk about more below.

Now I am creating my own Ethereum based crypto-coin, and I want to keep its conversion rate as 1 coin = 1 US$

This is perhaps possible during an ICO phase, where you can sell the tokens for this amount, but how will you prevent them being traded for different amounts on the open market? (This is perhaps worth a new question, if it hasn't been asked before.)

But if my traders send 1 or just half coin, then also for this transaction, if they have to pay the whole gass limit then it will be of no use as it will be more of a loss.

Ethereum's gas prices form a market. As above, I think your estimate of $0.40 is too high, at least for the current market. However, as the number of transactions being sent on the network increases, so does demand for throughput and space in blocks. This pushes up the gas price, and this is how it was designed to work.

Fees will likely be lower when further scalability solutions have been implemented, but the price market will always exist. If that doesn't appeal to you, then perhaps a different platform would be a better fit (and especially if you want to peg your token to a fiat value).

5
  • You are saying that 'the price has fluctuated since I wrote my question', but does this gas price really fluctuate this fast and this much? And same question I asked to carlolm, how to lower gas price to lower cost? Will I have to do it in my genesis.json file or during writing the smart contract?? Commented Feb 2, 2018 at 11:28
  • And no, I'm not planning to peg my token to fiat value, rather I'm thinking to be open with both ether and fiat money. Commented Feb 2, 2018 at 11:33
  • You could have a look at the definitions for the amounts of gas for particular operations in protocol_params.go (at least for the Geth/Go client). But these values are dependent on the underlying EVM instructions - you'd need to be very careful about changing these. But this misses the point - the gas price could well just increase further to balance out any reduction you made in gas per operation. Commented Feb 2, 2018 at 12:01
  • And yes, the gas price market can fluctuate that quickly. It will fluctuate in response to the load on the network, which itself can change very quickly. (At least for the main Ethereum network.) Commented Feb 2, 2018 at 12:02
  • The other option would be to change the block gas limit, to allow each block to include more transactions. But this itself has associated side-effects (e.g. increased uncle rate). Commented Feb 2, 2018 at 12:05
1

That’s unfortunately a consequence of the rising USD price of Ether, you have rising transaction costs, which you can not avoid.

You can try using a lower gas price, for example 4 gwei vs a default of 20 gwei. It may take longer for your transaction, but they usually eventually get through. You can checked gas prices here (ETH gas station) to get an idea of the current range of gas prices being used.

As for aggregating transactions, Ethereum gas costs are calculated and based on number of operations / computations performed. So combining multiple transactions (say 2x transfers @ 21000 gas) into a single transaction (for example a smart contract that does 2x transfers) still results in the same amount of gas used (= 42,000) since you still have to perform both operations. There is no way to reduce this unless you fundamentally change the operation and don’t do 2x transfers.

Your best bet is to try to lower gas price to lower cost.

2
  • but how to lower gas price to lower cost? Will I have to do it in my genesis.json file or during writing the smart contract?? Commented Feb 2, 2018 at 10:34
  • Gas price is set by the person sending the transaction. The miners choose which transactions to mine, usually by higher gas price.
    – natewelch_
    Commented Feb 2, 2018 at 14:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.