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: 56.92%(-0.31%/24h)
ETH Dominance: 12.34%(+0.09%/24h)
Defi Market Cap: $118.84B(+6.83%/24h)
Total Market Cap: $3382.75B(+1.83%/24h)
Total Trading Volume 24h: $299.94B(+8.18%/24h)
ETH Market Cap: $417.03B
Defi to ETH Ratio: 28.5%
Defi Dominance: 3.37%
Altcoin Market Cap: $1457.43B
Altcoin Volume 24h: $199.04B
Total Cryptocurrencies: 32937
Active Cryptocurrencies: 10439
Active Market Pairs: 94936
Active Exchanges: 772
Total Exchanges: 9783
BTC: 97242.45$(-0.3%/1H)
ETH: 3461.03$(-0.07%/1H)
AVAX: 39.73$(0.02%/1H)
BNB: 684.16$(0.31%/1H)
MATIC: 0.5$(0.22%/1H)
FTM: 0.99$(-0.87%/1H)
ADA: 0.94$(-0.07%/1H)
DOT: 7.29$(0.07%/1H)
UNI: 13.61$(0.8%/1H)
CAKE: 2.54$(0.28%/1H)
SUSHI: 1.58$(1.3%/1H)
ONE: 0.03$(-0.35%/1H)