Friday, June 2, 2023

The Graph Unveils Scalar


The Graph’s decentralized indexing and query protocol enable secure, compensated blockchain data inquiries.

Indexer’s price each query on The Graph Network individually, and Consumers, who are often application developers, pay for it. The Graph’s hosted service query volume surpassed 14 billion in February and over 19 billion in March. It represents a 100-fold increase in Ethereum dapp adoption since January 2020.

Getting billions of monthly searches to the decentralized network without slowing down dapp users has been tricky. If each transaction adds just 250 milliseconds to the page serving time, 19 billion transactions would add over 150 years. Waiting for pages to load is not a good way to spend two human lives per month. Slow transaction speeds can also discourage consumers from interacting with applications. Which has been a major stumbling block in the development of Web3 and the crypto economy.

However, a microtransaction system that enables The Graph must be more than just high throughput and low latency. We understood the solution is decentralized, fault-tolerant, and trustless. As well as make effective use of available liquidity and dispel the idea that centralization leads to superior performance.

We are proud to unveil a scalable microtransaction system using the Connext Vector protocol that will sustain The Graph’s growth for years to come. We call it a scalar.

Development of Scalar

Scalar is a scalable microtransaction solution based on the Connext Vector protocol. Scalar handles all paid app search queries between Indexers and users. It prioritizes efficiency from data flow design through CPU and memory improvements. Scalar will open source for the benefit of the Web3 and Ethereum communities.

For performance, Scalar develops in Rust, and we use Connext Vector, an ultra-minimal state channels’ framework, for routing. Throughout the development of Scalar, Connext collaborated closely with The Graph Foundation and Edge & Node. As a result, Vector builds specifically for The Graph’s use-case.

Every Scalar transaction starts with a single query and sends to the Indexer from the Consumer (e.g., the dapp initiating the query). A receipt is a collection of serial transactions for a Consumer’s requests over a period of time. A Vector transfer aggregates numerous receipts to facilitate query parallelism and acts as a unit of collateral.

The transfers then roll into a Vector channel. The channel allows participants to easily swap transfers between processes and avoid running out of collateral before running out of funds. Through a router, another Vector channel on the receiving side of the transaction aggregates transactions from multiple other participants.

A single on-chain (Ethereum) withdrawal for each allocation distributes query transactions among the rebate pool.

Scalar Use

Scalar is used for situations when there are several transactions running at the same time. The Connext and The Graph teams have worked tirelessly to bring this solution to reality so that it can benefit other Web3 projects and enable scalable transactions.

The Graph’s hosted service has consistently seen increased utilization, indicating widespread interest in the decentralized Internet. The Graph’s hosted service processed over 19 billion inquiries in March alone, averaging over 600 million per day. In addition, the number of developers using subgraphs has increased by roughly 20% month over month. The explosive growth of Web3 use cases like DeFi and NFTs has fueled unprecedented demand for a truly decentralized and scalable query processing solution.

According to Yaniv Tal, the payment required 402 error code is a vestige of this system that started but never finished. By integrating microtransactions directly into the web’s fabric, Scalar accomplishes the work of the early Internet builders.

Miguel Garcia
Miguel Garcia
Miguel Garcia is a writer for Cryptoconstellation. Miguel has always been fascinated with Crypto. He has experience in Business and finance. Miguel loves sport cars and football.

More from Crypto News Constellation

[tds_leads input_placeholder="Email address" btn_horiz_align="content-horiz-center" pp_checkbox="yes" pp_msg="SSd2ZSUyMHJlYWQlMjBhbmQlMjBhY2NlcHQlMjB0aGUlMjAlM0NhJTIwaHJlZiUzRCUyMiUyMyUyMiUzRVByaXZhY3klMjBQb2xpY3klM0MlMkZhJTNFLg==" msg_composer="success" display="column" gap="10" input_padd="eyJhbGwiOiIxNXB4IDEwcHgiLCJsYW5kc2NhcGUiOiIxMnB4IDhweCIsInBvcnRyYWl0IjoiMTBweCA2cHgifQ==" input_border="1" btn_text="I want in" btn_tdicon="tdc-font-tdmp tdc-font-tdmp-arrow-right" btn_icon_size="eyJhbGwiOiIxOSIsImxhbmRzY2FwZSI6IjE3IiwicG9ydHJhaXQiOiIxNSJ9" btn_icon_space="eyJhbGwiOiI1IiwicG9ydHJhaXQiOiIzIn0=" btn_radius="0" input_radius="0" f_msg_font_family="521" f_msg_font_size="eyJhbGwiOiIxMyIsInBvcnRyYWl0IjoiMTIifQ==" f_msg_font_weight="400" f_msg_font_line_height="1.4" f_input_font_family="521" f_input_font_size="eyJhbGwiOiIxMyIsImxhbmRzY2FwZSI6IjEzIiwicG9ydHJhaXQiOiIxMiJ9" f_input_font_line_height="1.2" f_btn_font_family="521" f_input_font_weight="500" f_btn_font_size="eyJhbGwiOiIxMyIsImxhbmRzY2FwZSI6IjEyIiwicG9ydHJhaXQiOiIxMSJ9" f_btn_font_line_height="1.2" f_btn_font_weight="600" f_pp_font_family="521" f_pp_font_size="eyJhbGwiOiIxMiIsImxhbmRzY2FwZSI6IjEyIiwicG9ydHJhaXQiOiIxMSJ9" f_pp_font_line_height="1.2" pp_check_color="#000000" pp_check_color_a="#fdbf46" pp_check_color_a_h="#000000" f_btn_font_transform="uppercase" tdc_css="eyJhbGwiOnsibWFyZ2luLWJvdHRvbSI6IjQwIiwiZGlzcGxheSI6IiJ9LCJsYW5kc2NhcGUiOnsibWFyZ2luLWJvdHRvbSI6IjMwIiwiZGlzcGxheSI6IiJ9LCJsYW5kc2NhcGVfbWF4X3dpZHRoIjoxMTQwLCJsYW5kc2NhcGVfbWluX3dpZHRoIjoxMDE5LCJwb3J0cmFpdCI6eyJtYXJnaW4tYm90dG9tIjoiMjUiLCJkaXNwbGF5IjoiIn0sInBvcnRyYWl0X21heF93aWR0aCI6MTAxOCwicG9ydHJhaXRfbWluX3dpZHRoIjo3Njh9" msg_succ_radius="0" btn_bg="#fdbf46" btn_bg_h="#dd9933" title_space="eyJwb3J0cmFpdCI6IjEyIiwibGFuZHNjYXBlIjoiMTQiLCJhbGwiOiIwIn0=" msg_space="eyJsYW5kc2NhcGUiOiIwIDAgMTJweCJ9" btn_padd="eyJsYW5kc2NhcGUiOiIxMiIsInBvcnRyYWl0IjoiMTBweCJ9" msg_padd="eyJwb3J0cmFpdCI6IjZweCAxMHB4In0=" msg_err_radius="0" f_btn_font_spacing="1" title_text="Stay Up to Date"]


Related Crypto News

The Graph: Price Prediction

Since The Graph (GRT) hit a high of $2.88 on the 12th of February, it has failed to...

The Graph’s Permissionless Network

Since Curation went online in July, The Graph Forum has been bustling with community input on Graph Explorer,...

The Graph’s Mainnet Migration Path

With over 160 Indexers and 6,000 Delegators on board, the Graph Network has been operational for three months....

The Graph Evaluates L1 Blockchains

The Graph Foundation announced today a new list of Layer 1 blockchains considered for integration. These might add...