The Quest for Cheaper Gas!

What can we do to lighten the gas overload?
Serious Question Guys, Attempting to be Proactive, Not here to Complain…
Gas is the main reason why some people dont return to Uniswap…
0 0 0

There must be a solution!

(Lets work it out!!)

:slight_smile: :smiley:

2 Likes

I think the overload in gas fees is basically from the ethereum network…correct me if I’m wrong, though Uniswap can still make some adjustments. But I know of some Dapps whose gas fees are relatively higher… you might want to checkout Dy/Dx, LON, etc.

1 Like

Yes, gas is an issue, smaler trades are not worthwhile during network congestion. But as long as uniswap is on mainnet I don’t see much room for improvement. Honeyswap (an uniswap clone) is on xDAI chain and trading there is very cheap but they didn’t catch much volume. Also you need to bridge your token from mainet to xDAI and back whereby additional fees accure.

1 Like

In another post i asked, if batching of votes is possible. Batching itself is a solution, but must be implemented. Small transactions and small votes do not make sense atm.

1 Like

Using WETH instead of ETH for trades saves you approx 15%-30% on every trade AFAICT.
Few people know the trick, maybe Uniswap could make this tip more public before the next gas congestion era (probably very soon).
Of course, the caveat is that you always need ETH for gas, as WETH can’t used used to pay for txes.

I’m not a dev, but I’ve been told Uniswap has massive gas optimisation already. Might explain why it always seemed cheaper (to me) than all the competition (incl. non-aggregator DEXes like Balancer)

2 Likes

not sure what you mean by batching votes? It would make sense if there are many different things to vote on, like the weekly polling votes at Maker, but here we haven’t so many votes you can batch.

1 Like

Great to know, thanks dude!

1 Like

Everyone signs his transaction, but the contract e.g. for a deposit into a uniswap pool is only executed once a treshold is reached. Batching could be executed on two rules: Either 12 pool deposits come first or 8 hours passed since the oldest deposit request. If one rule is triggered, all signed deposit requests are packed together in one big contract execution. Everybody involved needs to pay, but much less.

Same goes for voting on governance. Dont execute immediate, wait for votes of small uni amounts to pack together.

2 Likes

ok, yes now I see what you meant. Not sure however if the bundling of deposits might save much cause every contract has to be still executed for every user. But maybe somebody with more inside in the contracts can aproximate this. If it seems to save substatial amount of fees and programming is feasable I would appreciate this.

2 Likes

I attempted this , and it seems to have charged me extra lol ?? Am i doing it wrong lol
Much Appreciated

RESPECT

No need to attempt it. Just use the WETH you already have and simulate prices vs a ETH swap, then compare gas costs… Last time I tested the discount was between 10% and 30%… Maybe it’s not always the case ? Would love to see input from the Uniswap team…

What about layer 2 solutions such as rollups or look into implementing Gastoken?

GasToken

Basically, it’s a technology allowing you to tokenize gas. It is a more liquid form of gas because it can be bought and stored at times when gas is cheap and released (spent/burnt) when gas is expensive

GasToken takes advantage of the “storage refund” on the Ethereum network. Smart contracts are designed to store data forever. Ethereum pays for freeing up the data saved previously while storing GasTokens. This refund is enough to cover up to a half of the transaction cost. Therefore, while others execute their transactions by paying the full market gas price, those who previously banked GasTokens, burn these tokens back to the smart contract and get a refund that covers up to 50% of their transaction fees.

Welcome on the forum, @dxiri !

Gas token will soon stop working from what I’ve heard. It’s basically a cheap hack and it’s detrimental to the network. It has a bad reputation.

The next iteration of Uniswap (v3) could introduce L2 functionality.

thanks for the warm welcome :smiley:

If there is work ongoing already to introduce L2 functionality then that by itself will greatly reduce fees when implemented since volume will shift to v3 from v2, unclogging the network.

Didn’t know gastoken was frowned upon, 1inch uses it’s own gastoken (chi) as well, by what you are saying it sounds like they would need to move off of it.