Scalar bundles and compresses query transactions in The Graph network, making them faster and cheaper
Yesterday, The Graph introduced a scalable microtransaction system called Scalar. The system bundles and compresses transactions before they are completed on the blockchain, providing the throughput required to ensure The Graph’s future growth as well.
The Graph is an indexing protocol that allows developers to create and publish open APIs called subgraphs. These can then be used by applications to query data from blockchains. To date, more than 10,000 subgraphs have been used for a variety of applications, including Synthetix, Uniswap, AAVE, Balancer, Decentraland, Gnosis and CoinMarketCap.
Each query on the network is priced individually, in March alone the volume of queries was over 19 billion. However, if each query transaction adds only 250 milliseconds to a page’s load time, 19 billion transactions would add up to more than 150 years and deter users from interacting with Web3.
Scalar is a solution based on the Connext Vector protocol-a cross – chain liquidity network that enables transfers between Ethereum Virtual Machine (EVM) compatible chains and layer 2 systems. It was developed with the help of Edge & Node and optimizes the processing of parallel query transactions between the Indexers and consumers of The Graph.
Eva Beylin, Director of the Graph Foundation, explains: “For the Web3 infrastructure to function efficiently, transactions must be as smooth as possible. The indexers are the backbone of the Web3 – Scalar wants to enable you to conduct efficient and cost-effective query transactions, ensuring that you can expand your operations and service The Graph network. Scalar solves this Problem for The Graph, and ensures that other providers can offer their users an efficient transactions.“
Scalar is written in the multiparadigm language Rust and is open source so that any application can use it to process transactions more efficiently and improve the Web3 in general.
Edge & amp; Node co-Founder and CEO Yaniv Tal adds: “The original vision of the web included a microtransaction system for payments, refunds and tips. This system was started but never completed, although its remains can still be found in error code 402 “Payment required”. Scalar completes the work of early Internet architects by integrating microtransactions directly into the structure of the web.“