Subsquid Indexing Comes to Fantom

squid Blog
Published in
4 min readJan 9


Recently, we announced the launch of squid SDK and the Aquarium hosted service on several major EVM chains. Today, we are excited to continue this trend by revealing our support for Fantom.

Why build with Subsquid on Fantom?
> TypeScript-based SDK for building fully-customizable GraphQL APIs and ETLs
> Support for 70+ EVM, Substrate, and EVM chains
> Indexing at up to 50,000 blocks per second
> Free hosted service while in beta
> Dedicated support team
> Open-source project

For technical questions and in-depth conversations, builders are invited to join our developer community on Discord.

Quickstart Guide for EVM Chains

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 logs and transaction data of EVM chains.

Before getting started, come up with an original name for your squid, then generate your demo with the following commands:

> sqd init my-awesome-squid — template evm
> cd my-awesome-squid
> npm ci
> npm run build
> make up
> make process

Don’t forget to install squid CLI!

> brew tap subsquid/cli
> brew install sqd

> npm i -g @subsquid/cli@latest

Check the version:
> sqd — version

There are many squid templates available. Explore them all by entering:

> sqd init — help

Full quickstart guide available here.

Access the complete squid EVM tutorial here.

Get started with squid deployment in the app.

Custom GraphQL APIs and ETLs for Next-Gen dApps

Web3 is changing, 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, and is increasingly being enhanced by AI-powered models and ML-trained automations. Users and developers now expect better experiences when using these applications.

With a unique approach to indexing and ETL, we at Subsquid arebuilding 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).

When a dApp is ‘powered by Subsquid,’ 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, visit the documentation.

Get started building your custom indexer here.

Need to migrate from the Graph? There’s a guide for that!

Contributing to the Fantom Ecosystem

Fantom is a high-performance, scalable, customizable, and secure EVM-compatible smart contract platform. It has been designed to be truly next-generation, addressing many limitations of other blockchains. Key to this is Lachesis, an aBFT consensus protocol, which makes Fantom faster and more scalable than many previous technologies. Lachesis is both customizable and modular, and is intended for interoperability. At Subsquid, we look forward to leveraging our experience in cross-chain indexing in order to contribute to Fantom’s multi-chain future.

Over the last few weeks, we have coordinated with several members of the Fantom team. We have been very impressed by their professionalism, and look forward to working together on multiple fronts, including developer relations, marketing, and data analytics. More news of our collaborative efforts with Fantom Foundation will be announced in due course.

Learn about Fantom
Website Twitter Discord Telegram Github

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



squid Blog

Building a better standard for Web3 indexing and ETL. Support for EVM, Substrate, and WASM chains. &