Subsquid
Published in

Subsquid

Subsquid Now Supports Avalanche

Just a few days ago, we announced the launch of squid SDK and the Aquarium hosted service on Polygon. Today, we are absolutely elated to follow that up with the release of the same on Avalanche C-Chain! To get started in this beta and build your first squid, you can follow this tutorial.

Feel free to contact our team while you are in the process, then when you are ready to deploy to our (currently free) hosted service, this guide should help you out!

Quickstart Guide


This demo squid outputs transactions to the “black hole” address
0x0000000000000000000000000000000000000000.

It is intended to be a starter project for building a custom squid
that indexes the EVM log and transaction data on EVM chains.

> git clone https://github.com/subsquid/squid-evm-template
> cd squid-evm-template
> npm ci
> npm run build
> make up
> make process

Full quickstart guide available here.

Build your custom GraphQL API or ETL on Avalanche!

Web3 has entered a period of transition, and a new generation of dApps is being developed. NFTs are pivoting from simple cartoon pictures to tools that power complex use cases such as identity, social media, games, and supply chains. DeFi is becoming more advanced, now increasingly enhanced by AI-powered models and ML-trained automations. Users and developers are now expecting better experiences when using these applications. With a unique approach to indexing and ETL, Subsquid is building for this new paradigm

Subsquid and its open-source software development kit (SDK) have a modular architecture, which separates blockchain data ingestion from transformation and presentation. This frees developers up to apply their own custom logic to their “squids” (node.js indexing projects).

In other words, the heavy lifting of data extraction is taken care of by squid Archives — data lakes that store pre-indexed data in a normalized format, and which are maintained by Subsquid (and — soon — by a decentralized network). With the addition of batch ingestion, squids are enabled to index data at rates as high as 50,000 blocks per second — performance significantly beyond that of Subgraphs. Importantly, squids typically require no additional endpoints and have no external dependencies at setup.

Other squid features include:

  • Full control over the target database (Postgres), including custom migrations and ad-hoc queries in the handler.
  • Custom target databases and data formats (e.g. CSV, BigQuery).
  • Arbitrary code execution in the data handler.
  • Extension of the GraphQL API with arbitrary SQL.
  • Secret environment variables, allowing for seamless use of private third-party JSON-RPC endpoints and integration with external APIs.
  • API versioning and aliasing.
  • API caching

To learn more about Subsquid’s architecture, visit the documentation.
Ready to start building? Clone the template.
Got a Subgraph to migrate from? We’ve got a guide for that.

About Subsquid

Subsquid is the team behind squids, a new standard for Web3 data extraction and transformation. Squids already power hundreds of applications across dozens of EVM, Substrate, and WASM-based chains. With modular architecture and a host of advanced features, Subsquid offers the most resource-efficient and developer-friendly way to build, test, and deploy customized GraphQL APIs and ETLs for blockchain-facing applications.

Twitter | Discord | LinkedIn | Telegram | GitHub

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Subsquid

Building a better standard for Web3 indexing and ETL. Support for EVM, Substrate, and WASM chains. http://t.me/subsquid & http://discord.gg/subsquid