Referenda

Open and closed proposals

Polkadot
#1447ExecutedMedium SpenderInfrastructure

SQD (fka Subsquid) - Public data indexing Infrastructure for Polkadot and Kusama (Q2 2024)

Requested
264.8k USDC
Ended
13 Mar 2025
Comments
3

AI Digest

Category Infrastructure
  • SQD (formerly Subsquid), represented by Subsquid Lab Official, seeks funding for public data-indexing infrastructure supporting Polkadot, Kusama, and other Substrate chains.
  • The request is 264,838.09 USDC for archive infrastructure, maintenance, engineering, and development contributions during Q2 2024.
  • Public Archives provide indexed events, extrinsics, storage items, and EVM logs for eight listed public chains, supporting ecosystem applications and data queries.
  • Deliverables included infrastructure scaling across OVHCloud and GCE, manual finality confirmation, Cloud API upgrades, and the SQD mainnet launch.
  • During Q2 2024, the service delivered 3.19 TiB of archive data across 301,069 requests; the proposal covers that quarter’s costs.

Description

Written by the proposer, as published on Subsquare

Summary

Proponent: Subsquid Lab Official - 13bfKSQXoBn3AMLtZaW6BKv797fqZzsD3PYF6xpJDir3tdoE Beneficiary: Subsquid Lab Official - 13bfKSQXoBn3AMLtZaW6BKv797fqZzsD3PYF6xpJDir3tdoE

Contact Details:

Subsquid Labs GmbH

6300 Zug, Switzerland

Short description: Ongoing development and maintenance costs for public SQD Archives

Archive raw data: Archive Infrastructure Metrics - April, May, June

Requested: $264,838.09

Previous proposals: https://polkadot.polkassembly.io/referenda/1193

Motivation

A) Archives

Archives are an important piece of Polkadot and Kusama data infrastructure provided by SQD (formerly Subsquid). They provide access to on-chain data for public chains in the Polkadot ecosystem. They are being used as a data source for Squids and for efficient data exploration and ad-hoc queries.

The Archives, as performant data sources of historical on-chain data, are critical to the operation of backend APIs run by major projects in the Polkadot ecosystem (the list is not exhaustive):

  • Tanssi Network
  • Talisman Wallet
  • Polimec
  • Polkassembly
  • Apillon
  • Hydration
  • Giant Squid API (maintained by LimeChain, see details below)
  • SubWallet
  • FiDi
  • KodaDot
  • RMRK
  • ChainSafe (in particular the Multix multi-sig, as well as other projects)
  • Phala Network
  • Stellaswap
  • Polkascan

Since the first quarter of 2024, SQD has transitioned to a paid model for supporting parachains. However, public chains continue to be available for free use. Throughout the second quarter of 2024, we provided a free public data indexing service for Substrate blockchains, allowing interested parties to access indexed data on Substrate Events, Extrinsics, Storage Items, and EVM logs. Below is a list of the public chains we currently support at no cost:

  • polkadot
  • kusama
  • asset-hub-kusama
  • asset-hub-polkadot
  • bridge-hub-polkadot
  • collectives-polkadot
  • rococo
  • westend-collectives

As of Q1 2024, SQD has sunsetted support for Giant Squid, with LimeChain taking over its further development, detailed in the proposal at https://polkadot.polkassembly.io/treasury/758

B) Contribution

During Q2’2024, we made significant contributions to support ink! v5 and address actual use cases that were highly demanded by the community:

  • We provided support for manual finality confirmation in the subsquid/substrate-processor for cases where a chain does not expose finalization details

Achievements

Increase in Archival Data Demand and Infrastructure Scaling

During Q2, archival data demand increased approximately ~28,1 times, from 110,6 GiB to 3.095,17 GiB. We addressed the increasing demand for archival data by enhancing our infrastructure's throughput and redundancy through deploying archives to OVHCloud in addition to GCE, while also empowering our maintenance and engineering teams to support the expanded infrastructure effectively.

Mainnet Launch and Decentralization of the SQD Network Enhancing the Polkadot Ecosystem:

In Q2’24, we successfully launched the SQD mainnet, a pivotal advancement that significantly strengthens the Polkadot ecosystem's decentralization and resilience. By the end of the quarter, the SQD network comprised 726 Worker Nodes online, securely storing 529 TB of data and serving ~ 9 TB of data a day. This decentralized infrastructure enhances data processing and storage capabilities, ensuring higher security, fault tolerance, and scalability for the Polkadot network.

Advancements in Squid SDK Empowering Polkadot Developers:

  • Manual Finality Confirmation Configuration: Enabled manual configuration of finality confirmation for subsquid/substrate-processor in cases where a parachain does not expose finalization information

Cloud API Upgrades:

We upgraded our Cloud API to offer enhanced capabilities that support the growth of the Polkadot ecosystem:

  • Multiple API Tokens Support: Allows for more granular access control and better management of development workflows.
  • Hasura Integration: Enables more efficient and powerful data querying and manipulation, facilitating the creation of responsive and data-driven applications.
  • Chain ID and SS58 Prefix support: Enhanced network identification and management for seamless interoperability across Polkadot parachains

Over the course of Q2 2024:

  • Served a total of 3,505,904,767,634 (~3.19 TiB) of data from the substrate based archives in Q2 2024
  • Served 301 069 archive requests from substrate based archives in Q2 2024
  • The highest daily total data transfer recorded for Substrate was 161.646 GiB within a single 24-hour period.

Costing

This proposal encompasses the combined costs for running Archives for Polkadot, Kusama, and other public chains, along with the development contributions, amounting to a total of $264,838.09. Raw data for Archives can be seen here.

Discussion

3 comments from OpenShore and Subsquare; spam hidden

Markdown
Signed with your wallet. No fee, nothing on-chain.
muddlebee650d 13h ago

Hey GM How can I access the SQD APIs for public chains like asset-hub and polkadot, which is available at no cost as per the statement in proposal?

If Kusama referendum 498 "10 Million DOT from W3F & Transition Away From Being A Canary Network" gets approved as well as whatever consequent referendum (if needed). We would strongly recommend to remove the Kusama costs from future support as that would no longer be suitable for Polkadot's OpenGov. It'll entirely belong to another blockchain. Also, if the current vote gets NAYed because of the current support for Kusama, we would also consider voting AYE for a Polkadot (and system chains) only version of this referendum.

Dear Proposer,

Thank you for your proposal. Our vote on this proposal is AYE.

The Medium Spender track requires 50% quorum and simple majority of non-abstain voters according to our voting policy. This proposal has received six aye and one nay votes from ten members, with three members abstaining. Below is a summary of our members' comments:

Most members supported the funding request due to its perceived value and reasonable costs. Several members emphasized the importance of maintaining developer resources for public chains while suggesting an evaluation at the end of the period. Some abstained due to a lack of technical understanding or uncertainty about the staffing needs. A dissenting vote preferred a subscription-based funding model for apps using Squids. Overall, the majority found the proposal justified.

The full discussion can be found in our internal voting.

Kind regards, Permanence DAO