1inch Network

The 1inch Network unites decentralized protocols whose synergy enables the most lucrative, fastest…

Follow publication

Algorithm update on 1inch

--

1inch.exchange offers now not only the best prices on the DEX market, it also calculates and respects the transaction gas costs.

Our own dynamic algorithm for splitting token swaps among DEXes got a small upgrade for respecting also the gas cost to each liquidity source. Before the update, every swap was splitted only by best return token amount. This was not optimal and produced sometimes high gas costs. It was very painful / expensive for small amounts around 5$ and less. Also on higher amounts it was possible to get more return tokens, but in the same time paying much more for gas costs. The gas token was mainly used to reduce this overhead, but it was like this:

Now 1inch.exchange shows best prices on the DEX market by respecting the transaction costs and present also estimated costs in the verification popup:

Algorithm update on 1inch

Gas limit (with buffer) is over estimated to make it possible to burn GST2 / gas token and also cover our backup swaps if some of the main swaps would fail. (this we will explain and present how it works soon)

Here the official release note on Twitter:

Sign up to discover human stories that deepen your understanding of the world.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

1inch Network
1inch Network

Published in 1inch Network

The 1inch Network unites decentralized protocols whose synergy enables the most lucrative, fastest and protected operations in the DeFi space.

1inch
1inch

Written by 1inch

Leading trustless, non-custodial, on-chain trading platform with best prices and aggregated liquidity across 12+ blockchains, 16+ PMMs, and other platforms.

Responses (1)

Write a response