Gelato introduces Limit Order Library

Although commonplace on Centralized Exchanges, Limit Orders have yet to reach wide adoption from Decentralized Exchange platforms. The reason DEX UIs have been lagging behind on implementing this feature is deeply rooted in the limitations of the EVM that make it hard to automate users’ trades while also upholding DeFi’s core tenet of being non-custodial.

Gelato has researched and shipped systems to work around the EVM’s trustless automation limitations, without giving up user’s self-custody, since 2019. Yet to date, even AMMs such as Uniswap still offer no native Limit Order capability in the pure sense on their own UI. Many users on AMMs are still only presented with the option to go and buy at the current market rate, although it is worth mentioning that some of the bigger aggregators, such as 1inch, have made advancements on this front.

Gelato now sets out to obliterate this barrier for Decentralized Exchange developers with its brand new limit-orders-lib and limit-orders-react npm package releases. These two libraries provide an easy one-stop solution for developers to hook up native Limit Orders to their AMM or other DEX of choice — in as little as 10 minutes! The smart contract components of the limit order system have been audited by Certik. The spectrum of tooling the library provides you with ranges from ready-made React Components for the quickest go-live imaginable, to React Hooks and, on the more customizable end, simple methods for interacting with the underlying Gelato Limit Order infrastructure. The library already works with well-known trading venues on Ethereum, Polygon (Matic), and Fantom (Fantom Foundation). Soon BSC and Layer 2s like Arbitrum will also be supported.

One key aspect of the Limit Orders system and the libraries are their subgraph component. Gelato bots use one canonical subgraph per supported network, in order to index new orders that are submitted by users of any UI that uses the library and also to monitor the order lifecycle from open to canceled or executed. As Gelato Legendary Member Luis (@gitpusha) recounts:

Using a subgraph from The Graph to create one global place where all data pertaining to Gelato’s Limit Order system is continuously stored, indexed, and easily queryable once again proved super useful for both integration developers frontend-side and Gelato bot maintainers backend-side.

First debuting on Sorbet Finance, Gelato’s Limit Order feature has already been executed by thousands of users looking to buy a dip or sell a top. Tapping into the deep liquidity of Uniswap and Quickswap, Sorbet has already transacted millions of dollars of volume in the past few months.

In addition, one of Fantom’s leading DEXs, Spooky Swap, became the first AMM to integrate limit orders natively on their platform thanks to Gelato’s limit order libraries.

The Graph is the indexing and query layer of the decentralized web. Developers build and publish open APIs, called subgraphs, that applications can query using GraphQL. The Graph currently supports indexing data from Ethereum, IPFS, and PoA with more networks coming soon. To date, over 16,000 subgraphs have been deployed by ~20,000 developers for applications, such as Uniswap, Synthetix, Aragon, Gnosis, Balancer, Livepeer, DAOstack, Aave, Decentraland, and many others.

The Gelato Network is the automation layer of DeFi and beyond. Gelato is building the underlying infrastructure ensuring reliable automation on top of Web3 and with it a key part of the Web3 middleware stack, enabling trustless, automated flows of value between smart contracts.

📰 INFO

https://medium.com/gelato-network/introducing-gelatos-limit-order-library-dex-limit-sells-6d1a38ab7cee

Market Stats:
BTC Dominance: 58.69%(-0.12%/24h)
ETH Dominance: 12.34%(+0.06%/24h)
Defi Market Cap: $88.11B(+11.69%/24h)
Total Market Cap: $3082.85B(+1.41%/24h)
Total Trading Volume 24h: $197.56B(+27.89%/24h)
ETH Market Cap: $380.38B
Defi to ETH Ratio: 23.16%
Defi Dominance: 2.73%
Altcoin Market Cap: $1273.47B
Altcoin Volume 24h: $121.89B
Total Cryptocurrencies: 32278
Active Cryptocurrencies: 10090
Active Market Pairs: 89603
Active Exchanges: 761
Total Exchanges: 9592
BTC: 91431.61$(0.22%/1H)
ETH: 3158.04$(-0.11%/1H)
AVAX: 35.2$(0.41%/1H)
BNB: 618.52$(-0.12%/1H)
MATIC: 0.45$(0.06%/1H)
FTM: 0.72$(-0.82%/1H)
ADA: 0.74$(0.33%/1H)
DOT: 5.97$(0.17%/1H)
UNI: 9.15$(-0.43%/1H)
CAKE: 1.95$(-0.52%/1H)
SUSHI: 0.81$(-1.15%/1H)
ONE: 0.02$(0.14%/1H)