# Benefits Source: https://docs.goldsky.com/benefits A quick overview of the Goldsky Advantage. ## Subgraphs In addition to the standard subgraph development experience, Goldsky offers numerous developer experience improvements. Specifically: 1. **Webhooks**: Enable efficient, instant, push-based communication and eliminate the need for API polling or manual data retrieval. This enables realtime notifications, data synchronization, and numerous other use cases. 2. **Instant subgraphs**: Index contract data without a single line of code, allowing developers to explore contracts with ease, and for non-technical users to work with blockchains more easily. 3. **Tags**: A ground-up rethink of subgraph endpoint management that allows you to seamlessly update your front-end interfaces with zero downtime or stale data. Goldsky proxies all data ingestion through an advanced load balancer with over 20+ RPC endpoints and automatically prioritizes between them based on latency, time of day, historical responsiveness, and more. This means that Goldsky indexes data more quickly, and with greater uptime reliability than the alternatives. On a dedicated indexing instance, Goldsky offers the ability to add custom RPC endpoints for any EVM-compatible chain with no downtime. This allows you to work with custom or private blockchains seamlessly. Goldsky helps integrate Subgraph data into your broader infrastructure via Mirror, providing a level of flexibility and control that is not possible via API-based solutions. This unlocks more granular data integration, enabling advanced use cases such as multi-chain subgraphs. ## Mirror By replicating data into your own database, you can co-locate it alongside your other app data (product, customer, and any off-chain data). This eliminates the need for brittle scraping and polling scripts, and simplifies your front-end queries. Mirror workers are parallelizable, enabling unrivaled performance and throughput. This means that working with large-scale datasets (eg. full chain replication) is the work of minutes and hours instead of days and weeks, allowing for faster iteration. ## Platform With no token-based payments, your team no longer needs to worry about fluctuating service costs and operate a token trading desk to pay your service providers. In additions, Goldsky doesn't charge any per-query fees, making our costs and their rate of change highly predictable. Goldsky offers 24/7 on-call support and has a team of engineering staff available to assist with debugging, issue resolution, and proactive management. # Indexing Abstract with Goldsky Source: https://docs.goldsky.com/chains/abstract ## Overview Goldsky is a high-performance data indexing provider for Abstract that makes it easy to extract, transform, and load on-chain data to power both application and analytics use cases. Goldsky offers two primary approaches to indexing and accessing blockchain data: [Subgraphs](/subgraphs) (high-performance subgraphs) and [Mirror](/mirror) (real-time data replication pipelines). ### Scope Goldsky has partnered with Abstract to make our product available to the ecosystem and provide dedicated support for Abstract data indexing. The full scope of our partnership (which products are enabled, what partner-exclusive benefit is available, and who this benefit is available to) is outlined below. | | Subgraphs | Mirror | | ----------------------------- | ----------------------------------------------------- | --------------------------------------------------- | | Enablement | Yes | Yes | | Benefit | 100% discount on Subgraph workers and entities stored | 10% discount on Pipeline workers and events written | | Availability | Select developers | All developers | ## Getting started To use Goldsky, you'll need to create an account, install the CLI, and log in. ### Subgraphs Abstract subgraphs can be deployed on Goldsky in 2 ways: Abstract Mainnet and Testnet are currently supported at the chain slugs `abstract` and `abstract-testnet` respectively. ### Mirror ## Getting support # Indexing ApeChain with Goldsky Source: https://docs.goldsky.com/chains/apechain ## Overview Goldsky is a high-performance data indexing provider for ApeChain that makes it easy to extract, transform, and load on-chain data to power both application and analytics use cases. Goldsky offers two primary approaches to indexing and accessing blockchain data: [Subgraphs](/subgraphs) (high-performance subgraphs) and [Mirror](/mirror) (real-time data replication pipelines). ### Scope Goldsky has partnered with the APE Foundation to make our product available to the ecosystem and provide dedicated support for ApeChain data indexing. The full scope of our partnership (which products are enabled, what partner-exclusive benefit is available, and who this benefit is available to) is outlined below. | | Subgraphs | Mirror | | ----------------------------- | ----------------------------------------------------- | --------------------------------------------------- | | Enablement | Yes | Yes | | Benefit | 100% discount on Subgraph workers and entities stored | 10% discount on Pipeline workers and events written | | Availability | Select developers | All developers | ## Getting started To use Goldsky, you'll need to create an account, install the CLI, and log in. ### Subgraphs ApeChain Subgraphs can be deployed on Goldsky in 2 ways: ApeChain's Mainnet and Curtis Testnet are available at the chain slugs `apechain-mainnet` and `apechain-curtis` respectively. ### Mirror ## Getting support # Indexing Arweave with Goldsky Source: https://docs.goldsky.com/chains/arweave Coming soon. If you're running into issues building on Arweave, please contact [support@goldsky.com](mailto:support@goldsky.com) and we'd be happy to help. # Indexing Berachain with Goldsky Source: https://docs.goldsky.com/chains/berachain ## Overview Goldsky is a high-performance data indexing provider for Berachain that makes it easy to extract, transform, and load on-chain data to power both application and analytics use cases. Goldsky offers two primary approaches to indexing and accessing blockchain data: [Subgraphs](/subgraphs) (high-performance subgraphs) and [Mirror](/mirror) (real-time data replication pipelines). ### Scope Goldsky has partnered with Berachain to make our product available to the ecosystem and provide dedicated support for Berachain data indexing. The full scope of our partnership (which products are enabled, what partner-exclusive benefit is available, and who this benefit is available to) is outlined below. | | Subgraphs | Mirror | | ----------------------------- | ----------------------------------------------------- | --------------------------------------------------- | | Enablement | Yes | Yes | | Benefit | 100% discount on Subgraph workers and entities stored | 10% discount on Pipeline workers and events written | | Availability | Select developers | All developers | ## Getting started To use Goldsky, you'll need to create an account, install the CLI, and log in. ### Subgraphs Berachain subgraphs can be deployed on Goldsky in 2 ways: Berachain's mainnet and testnet are available under the chain slugs `berachain-mainnet` and `berachain-bepolia` respectively. ### Mirror ## Getting support # Indexing Blast with Goldsky Source: https://docs.goldsky.com/chains/blast ## Overview Goldsky is a high-performance data indexing provider for Blast that makes it easy to extract, transform, and load on-chain data to power both application and analytics use cases. Goldsky offers two primary approaches to indexing and accessing blockchain data: [Subgraphs](/subgraphs) (high-performance subgraphs) and [Mirror](/mirror) (real-time data replication pipelines). ### Scope Goldsky has partnered with Blast to make our product available to the ecosystem and provide dedicated support for Blast data indexing. The full scope of our partnership (which products are enabled, what partner-exclusive benefit is available, and who this benefit is available to) is outlined below. | | Subgraphs | Mirror | | ----------------------------- | ---------------------------------------------------- | --------------------------------------------------- | | Enablement | Yes | Yes | | Benefit | 10% discount on Subgraph workers and entities stored | 10% discount on Pipeline workers and events written | | Availability | All developers | All developers | ## Getting started To use Goldsky, you'll need to create an account, install the CLI, and log in. ### Subgraphs Blast subgraphs can be deployed on Goldsky in 2 ways: Both Blast mainnet and testnet are available at the chain slugs `blast` and `blast-sepolia` respectively. ### Mirror Support for Goldsky Mirror for Blast is currently in progress. If you'd like to be notified when support is launched publicly, contact us at [sales@goldsky.com](mailto:sales@goldsky.com). ## Getting support # Indexing BOB with Goldsky Source: https://docs.goldsky.com/chains/build-on-bitcoin ## Overview Goldsky is a high-performance data indexing provider for Build on Bitcoin (BOB) that makes it easy to extract, transform, and load on-chain data to power both application and analytics use cases. Goldsky offers two primary approaches to indexing and accessing blockchain data: [Subgraphs](/subgraphs) (high-performance subgraphs) and [Mirror](/mirror) (real-time data replication pipelines). ### Scope Goldsky has partnered with BOB to make our product available to the ecosystem and provide dedicated support for BOB data indexing. The full scope of our partnership (which products are enabled, what partner-exclusive benefit is available, and who this benefit is available to) is outlined below. | | Subgraphs | Mirror | | ----------------------------- | ----------------------------------------------------- | --------------------------------------------------- | | Enablement | Yes | Yes | | Benefit | 100% discount on Subgraph workers and entities stored | 10% discount on Pipeline workers and events written | | Availability | Select developers | All developers | ## Getting started To use Goldsky, you'll need to create an account, install the CLI, and log in. ### Subgraphs BOB subgraphs can be deployed on Goldsky in 2 ways: Both BOB mainnet and testnet are available at the chain slugs `bob` and `bob-testnet` respectively. ### Mirror ## Getting support # Indexing Citrea with Goldsky Source: https://docs.goldsky.com/chains/citrea ## Overview Goldsky is a high-performance data indexing provider for the Citrea Devnet that makes it easy to extract, transform, and load on-chain data to power both application and analytics use cases. Goldsky offers two primary approaches to indexing and accessing blockchain data: [Subgraphs](/subgraphs) (high-performance subgraphs) and [Mirror](/mirror) (real-time data replication pipelines). ### Scope Goldsky has partnered with Citrea to make our product available to the ecosystem and provide dedicated support for Citrea data indexing. The full scope of our partnership (which products are enabled, what partner-exclusive benefit is available, and who this benefit is available to) is outlined below. | | Subgraphs | Mirror | | ----------------------------- | ----------------------------------------------------- | --------------------------------------------------- | | Enablement | Yes | Yes | | Benefit | 100% discount on Subgraph workers and entities stored | 10% discount on Pipeline workers and events written | | Availability | Select developers | All developers | ## Getting started To use Goldsky, you'll need to create an account, install the CLI, and log in. ### Subgraphs Citrea Devnet subgraphs can be deployed on Goldsky in 2 ways: Citrea's Devnet and Testnet are available at the chain slugs `citrea-devnet` and `citrea-testnet` respectively. ### Mirror ## Getting support # Indexing Cronos zkEVM with Goldsky Source: https://docs.goldsky.com/chains/cronos-zkevm ## Overview Goldsky is a high-performance data indexing provider for Cronos zkEVM that makes it easy to extract, transform, and load on-chain data to power both application and analytics use cases. Goldsky offers two primary approaches to indexing and accessing blockchain data: [Subgraphs](/subgraphs) (high-performance subgraphs) and [Mirror](/mirror) (real-time data replication pipelines). ### Scope Goldsky has partnered with Cronos to make our product available to the ecosystem and provide dedicated support for Cronoz zkEVM data indexing. The full scope of our partnership (which products are enabled, what partner-exclusive benefit is available, and who this benefit is available to) is outlined below. | | Subgraphs | Mirror | | ----------------------------- | ----------------------------------------------------- | --------------------------------------------------- | | Enablement | Yes | Yes | | Benefit | 100% discount on Subgraph workers and entities stored | 10% discount on Pipeline workers and events written | | Availability | Select developers | All developers | ## Getting started To use Goldsky, you'll need to create an account, install the CLI, and log in. ### Subgraphs Cronos zkEVM subgraphs can be deployed on Goldsky in 2 ways: Cronos zkEVM's Mainnet and Testnet are available at the chain slugs `cronos-zkevm` and `cronos-zkevm-sepolia` respectively. ### Mirror ## Getting support # Indexing Filecoin with Goldsky Source: https://docs.goldsky.com/chains/filecoin ## Overview Goldsky is a high-performance data indexing provider for Filecoin that makes it easy to extract, transform, and load on-chain data to power both application and analytics use cases. Goldsky offers two primary approaches to indexing and accessing blockchain data: [Subgraphs](/subgraphs) (high-performance subgraphs) and [Mirror](/mirror) (real-time data replication pipelines). ### Scope Goldsky has partnered with Filecoin to make our product available to the Filecoin ecosystem. The full scope of our partnership (which products are enabled, what partner-exclusive benefit is available, and who this benefit is available to) is outlined below. | | Subgraphs | Mirror | | ----------------------------- | ----------------------------------------------------- | ----------------------------- | | Enablement | Yes | Only Subgraphs as Data Source | | Benefit | 100% discount on Subgraph workers and entities stored | N/A | | Availability | All developers | N/A | ## Getting started To use Goldsky, you'll need to create an account, install the CLI, and log in. ### Subgraphs Filecoin subgraphs can be deployed on Goldsky in 2 ways: Filecoin Mainnet and Testnet are currently available at the chain slugs `filecoin` and `filecoin-testnet`. ## Getting support # Indexing Flare with Goldsky Source: https://docs.goldsky.com/chains/flare ## Overview Goldsky is a high-performance data indexing provider for Flare that makes it easy to extract, transform, and load on-chain data to power both application and analytics use cases. Goldsky offers two primary approaches to indexing and accessing blockchain data: [Subgraphs](/subgraphs) (high-performance subgraphs) and [Mirror](/mirror) (real-time data replication pipelines). ### Scope Goldsky has partnered with Flare to make our product available to the ecosystem and provide dedicated support for Flare data indexing. The full scope of our partnership (which products are enabled, what partner-exclusive benefit is available, and who this benefit is available to) is outlined below. | | Subgraphs | Mirror | | ----------------------------- | ----------------------------------------------------- | --------------------------------------------------- | | Enablement | Yes | Yes | | Benefit | 100% discount on Subgraph workers and entities stored | 10% discount on Pipeline workers and events written | | Availability | Select developers | All developers | ## Getting started To use Goldsky, you'll need to create an account, install the CLI, and log in. ### Subgraphs Flare subgraphs can be deployed on Goldsky in 2 ways: Flare's Mainnet and Coston2 Testnet are available at the chain slugs `flare` and `flare-coston2` respectively. ### Mirror ## Getting support # Indexing HyperEVM with Goldsky Source: https://docs.goldsky.com/chains/hyperevm ## Overview Goldsky is a high-performance data indexing provider for HyperEVM that makes it easy to extract, transform, and load on-chain data to power both application and analytics use cases. Goldsky offers two primary approaches to indexing and accessing blockchain data: [Subgraphs](/subgraphs) (high-performance subgraphs) and [Mirror](/mirror) (real-time data replication pipelines). ## Getting started To use Goldsky, you'll need to create an account, install the CLI, and log in. ### Subgraphs HyperEVM subgraphs can be deployed on Goldsky in 2 ways: HyperEVM Mainnet is available at the chain slug `hyperevm`. ### Mirror ## Getting support # Indexing Immutable zkEVM with Goldsky Source: https://docs.goldsky.com/chains/immutable-zkevm ## Overview Goldsky is a high-performance data indexing provider for Immutable zkEVM that makes it easy to extract, transform, and load on-chain data to power both application and analytics use cases. Goldsky offers two primary approaches to indexing and accessing blockchain data: [Subgraphs](/subgraphs) (high-performance subgraphs) and [Mirror](/mirror) (real-time data replication pipelines). ### Scope Goldsky has partnered with Immutable zkEVM to make our product available to the ecosystem and provide dedicated support for Immutable zkEVM data indexing. The full scope of our partnership (which products are enabled, what partner-exclusive benefit is available, and who this benefit is available to) is outlined below. | | Subgraphs | Mirror | | ----------------------------- | ----------------------------------------------------- | --------------------------------------------------- | | Enablement | Yes | Yes | | Benefit | 100% discount on Subgraph workers and entities stored | 10% discount on Pipeline workers and events written | | Availability | Select developers | All developers | ## Getting started To use Goldsky, you'll need to create an account, install the CLI, and log in. ### Subgraphs Immutable zkEVM subgraphs can be deployed on Goldsky in 2 ways: Both Immutable zkEVM mainnet and testnet are available at the chain slugs `imtbl-zkevm` and `imtbl-zkevm-testnet` respectively. ### Mirror ## Getting support # Overview Source: https://docs.goldsky.com/chains/index How to use Goldsky across EVM and non-EVM chains. ## All networks Goldsky currently supports more than 90 networks across Subgraphs and Mirror. For the full list of supported networks, click through to the dedicated reference page [here](/chains/supported-networks). ## Partner networks Goldsky works directly with leading and emerging networks to make its indexing solutions available to the developer ecosystem. For networks, this introduces several advantages: * enhanced developer experience for your network * seamless porting of applications from other major chains * industry-leading infrastructure reliability and performance * offloaded engineering and developer success Chain-specific documentation for each of Goldsky's partner networks is linked below. This is currently a work-in-progress, so if you are building on one of our partner networks or would like to learn more about our network partnership approach, please don't hesitate to contact us at [support@goldsky.com](mailto:support@goldsky.com). } href="/chains/abstract" /> } href="/chains/apechain" /> } href="/chains/artela" /> } href="/chains/arweave" /> } href="/chains/berachain" /> } href="/chains/blast" /> } href="/chains/build-on-bitcoin" /> } href="/chains/citrea" /> } href="/chains/cronos-zkevm" /> } href="/chains/filecoin" /> } href="/chains/flare" /> } href="/chains/immutable-zkevm" /> } href="/chains/ink" /> } href="/chains/iota" /> } href="/chains/lumia" /> } href="/chains/manta" /> } href="/chains/mode" /> } href="/chains/morph" /> } href="/chains/plume" /> } href="/chains/rise" /> } href="/chains/sei" /> } href="/chains/sophon" /> } href="/chains/stellar" /> } href="/chains/sui" /> } href="/chains/swellchain" /> } href="/chains/tac" /> } href="/chains/telos" /> } href="/chains/telos" /> } href="/chains/treasure" /> } href="/chains/unichain" /> } href="/chains/viction" /> } href="/chains/worldchain" /> } href="/chains/x1" /> } href="/chains/xai" /> } href="/chains/zero" /> } href="/chains/zetachain" /> } href="/chains/zksync" /> } href="/chains/zora" /> # Indexing Ink with Goldsky Source: https://docs.goldsky.com/chains/ink ## Overview Goldsky is a high-performance data indexing provider for Ink that makes it easy to extract, transform, and load on-chain data to power both application and analytics use cases. Goldsky offers two primary approaches to indexing and accessing blockchain data: [Subgraphs](/subgraphs) (high-performance subgraphs) and [Mirror](/mirror) (real-time data replication pipelines). ### Scope Goldsky has partnered with Ink to make our product available to the ecosystem and provide dedicated support for Ink data indexing. The full scope of our partnership (which products are enabled, what partner-exclusive benefit is available, and who this benefit is available to) is outlined below. | | Subgraphs | Mirror | | ----------------------------- | ----------------------------------------------------- | --------------------------------------------------- | | Enablement | Yes | Yes | | Benefit | 100% discount on Subgraph workers and entities stored | 10% discount on Pipeline workers and events written | | Availability | Select developers | All developers | ## Getting started To use Goldsky, you'll need to create an account, install the CLI, and log in. ### Subgraphs Ink Mainnet and Sepolia are available at the chain slugs `ink` and `ink-sepolia` respectively. Subgraphs can be deployed on Goldsky in 2 ways: Check out this [GitHub repo](https://github.com/JavierTrujilloG/ink-sepolia-subgraphs) to see example implementations of each deployment method using the [Inko ETH (IETH)](https://explorer-sepolia.inkonchain.com/token/0x87B4bD3A657c4D739730e115Dad11246c0D8D2b1?tab=contract) ERC-20 token on Ink Sepolia. ### Mirror Mirror pipelines allow users to replicate data into their own infrastructure (any of the [supported sinks](/mirror/sinks/supported-sinks)) in real time. For a complete overview of how to deploy Mirror pipelines, including a video walkthrough, check the [Create a Pipeline](/mirror/create-a-pipeline). Below, we will look at a few of the different ways by which you can deploy Mirror pipelines using [Direct Indexing datasets](/mirror/sources/direct-indexing) for Ink Sepolia (remember that you can also use [subgraphs as source](/mirror/sources/subgraphs) to your pipelines); in specific, we'll be streaming the `ink_sepolia.receipt_transactions` direct indexing dataset into a PostgreSQL database. Remember to first create a [Secret](/mirror/manage-secrets) in order for Mirror to be able to write the data into the database of your choice. Pipelines can be deployed on Goldsky in 3 ways: * Using [Goldsky Flow](mirror/create-a-pipeline#goldsky-flow) in the dashboard: * Drop a `Data Source` card. Select `Ink` as the chain. Then `Enriched Transactions` as the onchain dataset to use. * Add a `Sink` card and select your pre-configured sink. * Deploy pipeline. * Using the [interactive CLI](/mirror/create-a-pipeline#creating-mirror-pipelines-with-the-cli): * Enter command `goldsky pipeline create `. * This will kick off a guided flow with the first step to choose the dataset type. Choose `Direct Indexing`. * Next, select `Ink Sepolia` as chain with the enter key, then `Enriched Transactions` as the dataset by pressing space on the selected dataset which you can select using the up and down arrow keys. We will process historical data so select `Process all historical data` by pressing the enter key. This is the same as the yaml config setting of `start_at: earliest`. If you prefer to only ingest data starting when your pipeline is deployed, select `Process data from the time this pipeline is created` instead, this is equivalent to the yaml config setting `start_at: latest`. * When asked to choose another source, choose `No` by pressing enter. * Add your pre-configured sink. In this example case, we chose PostgreSQL and as a next step we selected the database schema. * Pipeline will be deployed automatically. * Using a [pipeline configuration file](/mirror/create-a-pipeline#non-interactive-pipeline-configuration): * This makes it easier to set up complex pipelines involving multiple sources, multiple sinks, and more complex, SQL-based transformations. For the full reference documentation on, click [here](/reference/config-file/pipeline). * As in the previous steps, we'll be deploying a pipeline to stream Ink Sepolia transactions. Unlike the other methods, we have added a transformation to only select specific data attributes from the whole dataset. This is the configuration file: ```yaml ink-sepolia-transactions.yaml name: ink-sepolia-transactions resource_size: s apiVersion: 3 sources: ink_sepolia_receipt_transactions: dataset_name: ink_sepolia.receipt_transactions version: 1.0.0 type: dataset start_at: earliest transforms: subset_transform: primary_key: id sql: | SELECT id, from_address, to_address, input, `value`, block_hash, block_number FROM ink_sepolia_receipt_transactions sinks: postgres_ink_sepolia_transactions: type: postgres table: ink_sepolia_transactions schema: public secret_name: description: 'Postgres sink for: ink_sepolia_transactions' from: subset_transform ``` * Add your corresponding secret name and run `goldsky pipeline apply ink-sepolia-transactions.yaml --status ACTIVE` to deploy the pipeline. ## Getting support # Indexing IOTA EVM with Goldsky Source: https://docs.goldsky.com/chains/iota ## Overview Goldsky is a high-performance data indexing provider for IOTA EVM that makes it easy to extract, transform, and load on-chain data to power both application and analytics use cases. Goldsky offers two primary approaches to indexing and accessing blockchain data: [Subgraphs](/subgraphs) (high-performance subgraphs) and [Mirror](/mirror) (real-time data replication pipelines). ### Scope Goldsky has partnered with IOTA EVM to make our product available to the ecosystem and provide dedicated support for IOTA EVM data indexing. The full scope of our partnership (which products are enabled, what partner-exclusive benefit is available, and who this benefit is available to) is outlined below. | | Subgraphs | Mirror | | ----------------------------- | ----------------------------------------------------- | --------------------------------------------------- | | Enablement | Yes | Yes | | Benefit | 100% discount on Subgraph workers and entities stored | 10% discount on Pipeline workers and events written | | Availability | Select developers | All developers | ## Getting started To use Goldsky, you'll need to create an account, install the CLI, and log in. ### Subgraphs IOTA EVM subgraphs can be deployed on Goldsky in 2 ways: Both IOTA EVM's latest testnet and mainnet are currently supported at the chain slug `iota-testnet` and `iota` respectively. ### Mirror Support for Goldsky Mirror for IOTA EVM is currently in progress. If you'd like to be notified when support is launched publicly, contact us at [sales@goldsky.com](mailto:sales@goldsky.com). ## Getting support # Indexing Lumia with Goldsky Source: https://docs.goldsky.com/chains/lumia ## Overview Goldsky is a high-performance data indexing provider for Lumia that makes it easy to extract, transform, and load on-chain data to power both application and analytics use cases. Goldsky offers two primary approaches to indexing and accessing blockchain data: [Subgraphs](/subgraphs) (high-performance subgraphs) and [Mirror](/mirror) (real-time data replication pipelines). ### Scope Goldsky has partnered with Lumia to make our product available to the Lumia ecosystem. The full scope of our partnership (which products are enabled, what partner-exclusive benefit is available, and who this benefit is available to) is outlined below. | | Subgraphs | Mirror | | ----------------------------- | ----------------------------------------------------- | ------ | | Enablement | Yes | No | | Benefit | 100% discount on Subgraph workers and entities stored | N/A | | Availability | All developers | N/A | ## Getting started To use Goldsky, you'll need to create an account, install the CLI, and log in. ### Subgraphs Lumia subgraphs can be deployed on Goldsky in 2 ways: Both Lumia Mainnet and Testnet are currently available at the chain slugs `lumia` and `lumia-testnet` respectively. ## Getting support # Indexing Manta Pacific with Goldsky Source: https://docs.goldsky.com/chains/manta ## Overview Goldsky is a high-performance data indexing provider for Manta that makes it easy to extract, transform, and load on-chain data to power both application and analytics use cases. Goldsky offers two primary approaches to indexing and accessing blockchain data: [Subgraphs](/subgraphs) (high-performance subgraphs) and [Mirror](/mirror) (real-time data replication pipelines). ### Scope Goldsky has partnered with Manta to make our product available to the ecosystem and provide dedicated support for Manta data indexing. The full scope of our partnership (which products are enabled, what partner-exclusive benefit is available, and who this benefit is available to) is outlined below. | | Subgraphs | Mirror | | ----------------------------- | ----------------------------------------------------- | --------------------------------------------------- | | Enablement | Yes | Yes | | Benefit | 100% discount on Subgraph workers and entities stored | 10% discount on Pipeline workers and events written | | Availability | Select developers | All developers | ## Getting started To use Goldsky, you'll need to create an account, install the CLI, and log in. ### Subgraphs Manta subgraphs can be deployed on Goldsky in 2 ways: Both Manta Pacific mainnet and testnet are available at the chain slugs `manta-pacific-mainnet` and `manta-pacific-testnet` respectively. ### Mirror Support for Goldsky Mirror for Manta is currently in progress. If you'd like to be notified when support is launched publicly, contact us at [sales@goldsky.com](mailto:sales@goldsky.com). ## Getting support # Indexing Mode with Goldsky Source: https://docs.goldsky.com/chains/mode ## Overview Goldsky is a high-performance data indexing provider for Mode that makes it easy to extract, transform, and load on-chain data to power both application and analytics use cases. Goldsky offers two primary approaches to indexing and accessing blockchain data: [Subgraphs](/subgraphs) (high-performance subgraphs) and [Mirror](/mirror) (real-time data replication pipelines). ### Scope Goldsky has partnered with Mode to make our product available to the ecosystem and provide dedicated support for Mode data indexing. The full scope of our partnership (which products are enabled, what partner-exclusive benefit is available, and who this benefit is available to) is outlined below. | | Subgraphs | Mirror | | ----------------------------- | ----------------------------------------------------- | ---------------------------------------------------- | | Enablement | Yes | Yes | | Benefit | 100% discount on Subgraph workers and entities stored | 100% discount on Pipeline workers and events written | | Availability | Select developers | Select developers | ## Getting started To use Goldsky, you'll need to create an account, install the CLI, and log in. ### Subgraphs Mode subgraphs can be deployed on Goldsky in 2 ways: Both Mode mainnet and testnet are available at the chain slugs `mode-mainnet` and `mode-testnet` respectively. ### Mirror ## Getting support # Indexing Morph with Goldsky Source: https://docs.goldsky.com/chains/morph ## Overview Goldsky is a high-performance data indexing provider for Morph that makes it easy to extract, transform, and load on-chain data to power both application and analytics use cases. Goldsky offers two primary approaches to indexing and accessing blockchain data: [Subgraphs](/subgraphs) (high-performance subgraphs) and [Mirror](/mirror) (real-time data replication pipelines). ### Scope Goldsky has partnered with Morph to make our product available to the ecosystem and provide dedicated support for Morph data indexing. The full scope of our partnership (which products are enabled, what partner-exclusive benefit is available, and who this benefit is available to) is outlined below. | | Subgraphs | Mirror | | ----------------------------- | ----------------------------------------------------- | --------------------------------------------------- | | Enablement | Yes | Yes | | Benefit | 100% discount on Subgraph workers and entities stored | 10% discount on Pipeline workers and events written | | Availability | Select developers | All developers | ## Getting started To use Goldsky, you'll need to create an account, install the CLI, and log in. ### Subgraphs Morph subgraphs can be deployed on Goldsky in 2 ways: Morph Mainnet and Holesky Testnet are currently available at the chain slugs `morph` and `morph-testnet` respectively. ### Mirror Subgraphs indexed on Morph by Goldsky can be "mirrored" into another database, as flat files, or as a Kafka topic. To learn more about mirroring subgraph data into your own infrastructure, visit the [dedicated page on subgraph-based Mirror pipelines](/mirror/sources/subgraphs). ## Getting support # Indexing Plume with Goldsky Source: https://docs.goldsky.com/chains/plume ## Overview Goldsky is a high-performance data indexing provider for Plume that makes it easy to extract, transform, and load on-chain data to power both application and analytics use cases. Goldsky offers two primary approaches to indexing and accessing blockchain data: [Subgraphs](/subgraphs) (high-performance subgraphs) and [Mirror](/mirror) (real-time data replication pipelines). ### Scope Goldsky has partnered with Plume to make our product available to the Plume ecosystem. The full scope of our partnership (which products are enabled, what partner-exclusive benefit is available, and who this benefit is available to) is outlined below. | | Subgraphs | Mirror | | ----------------------------- | ----------------------------------------------------- | ------ | | Enablement | Yes | No | | Benefit | 100% discount on Subgraph workers and entities stored | N/A | | Availability | All developers | N/A | ## Getting started To use Goldsky, you'll need to create an account, install the CLI, and log in. ### Subgraphs Plume subgraphs can be deployed on Goldsky in 2 ways: Both Plume Mainnet and Devnet are currently available using the chain slugs `plume-mainnet` and `plume-sepolia` respectively. ### Mirror ## Getting support # Indexing RISE with Goldsky Source: https://docs.goldsky.com/chains/rise ## Overview Goldsky is a high-performance data indexing provider for RISE that makes it easy to extract, transform, and load on-chain data to power both application and analytics use cases. Goldsky offers two primary approaches to indexing and accessing blockchain data: [Subgraphs](/subgraphs) (high-performance subgraphs) and [Mirror](/mirror) (real-time data replication pipelines). ### Scope Goldsky has partnered with RISE to make our product available to the ecosystem and provide dedicated support for Rise data indexing. The full scope of our partnership (which products are enabled, what partner-exclusive benefit is available, and who this benefit is available to) is outlined below. | | Subgraphs | Mirror | | ----------------------------- | ----------------------------------------------------- | --------------------------------------------------- | | Enablement | Yes | Yes | | Benefit | 100% discount on Subgraph workers and entities stored | 10% discount on Pipeline workers and events written | | Availability | Select developers | All developers | ## Getting started To use Goldsky, you'll need to create an account, install the CLI, and log in. ### Subgraphs RISE subgraphs can be deployed on Goldsky in 2 ways: RISE Testnet is currently supported at the chain slug `rise-sepolia`. ### Mirror ## Getting support # Indexing Sei Network with Goldsky Source: https://docs.goldsky.com/chains/sei ## Overview Goldsky is a high-performance data indexing provider for Sei EVM that makes it easy to extract, transform, and load on-chain data to power both application and analytics use cases. Goldsky offers two primary approaches to indexing and accessing blockchain data: [Subgraphs](/subgraphs) (high-performance subgraphs) and [Mirror](/mirror) (real-time data replication pipelines). ## Getting started To use Goldsky, you'll need to create an account, install the CLI, and log in. ### Subgraphs Sei EVM subgraphs can be deployed on Goldsky in 2 ways: Sei EVM is currently available on mainnet using the chain slug `sei`. Unfortunately, due to the nature of Sei's testnet and devnet, they don't return a genesis block starting at block number 0, so they cannot be indexed on Goldsky at this time. ### Mirror Subgraphs indexed on Sei EVM mainnet by Goldsky can be "mirrored" into another database, as flat files, a Kafka topic, or using SQS. To learn more about mirroring subgraph data into your own infrastructure, visit the [dedicated page on subgraph-based Mirror pipelines](/mirror/sources/subgraphs). ## Getting support # Indexing Sophon with Goldsky Source: https://docs.goldsky.com/chains/sophon ## Overview Goldsky is a high-performance data indexing provider for Sophon that makes it easy to extract, transform, and load on-chain data to power both application and analytics use cases. Goldsky offers two primary approaches to indexing and accessing blockchain data: [Subgraphs](/subgraphs) (high-performance subgraphs) and [Mirror](/mirror) (real-time data replication pipelines). ### Scope Goldsky has partnered with Sophon to make our product available to the ecosystem and provide dedicated support for Sophon data indexing. The full scope of our partnership (which products are enabled, what partner-exclusive benefit is available, and who this benefit is available to) is outlined below. | | Subgraphs | Mirror | | ----------------------------- | ----------------------------------------------------- | --------------------------------------------------- | | Enablement | Yes | Yes | | Benefit | 100% discount on Subgraph workers and entities stored | 10% discount on Pipeline workers and events written | | Availability | Select developers | All developers | ## Getting started To use Goldsky, you'll need to create an account, install the CLI, and log in. ### Subgraphs Sophon subgraphs can be deployed on Goldsky in 2 ways: Sophon Mainnet and Testnet are currently supported at the chain slugs `sophon` and `sophon-testnet` respectively. ### Mirror ## Getting support # Streaming Stellar data with Goldsky Source: https://docs.goldsky.com/chains/stellar ## Overview Goldsky is a high-performance data indexing provider for Stellar that makes it easy to extract, transform, and load on-chain data to power both application and analytics use cases via [Mirror](/mirror) (real-time data replication pipelines). ### Scope Goldsky has partnered with Stellar to make our product available to the ecosystem and provide dedicated support for Stellar data indexing. The full scope of our partnership (which products are enabled, what partner-exclusive benefit is available, and who this benefit is available to) is outlined below. | | Mirror | | ----------------------------- | --------------------------------------------------- | | Enablement | Yes | | Benefit | 10% discount on Pipeline workers and events written | | Availability | All developers | ## Getting started To use Goldsky, you'll need to create an account, install the CLI, and log in. ### Mirror Mirror pipelines allow users to replicate data into their own infrastructure (any of the [supported sinks](/mirror/sinks/supported-sinks)) in real time. The supported data sources are the following direct indexing datasets: checkpoints, packages, transactions, epochs and events. For a complete overview of how to deploy Mirror pipelines, including a video walkthrough, check the [Create a Pipeline](/mirror/create-a-pipeline). Below, we will look at a few of the different ways by which you can deploy Mirror pipelines; Here, we'll be streaming the `stellar.transactions` direct indexing dataset into a PostgreSQL database. Remember to first create a [Secret](/mirror/manage-secrets) in order for Mirror to be able to write the data into the database of your choice. Pipelines can be deployed on Goldsky in 3 ways: * Using [Goldsky Flow](mirror/create-a-pipeline#goldsky-flow) in the dashboard: * Drop a `Data Source` card. Select `Stellar` as the chain. Then `Enriched Transactions` as the onchain dataset to use. * Add a `Sink` card and select your pre-configured sink. * Deploy pipeline. * Using the [interactive CLI](/mirror/create-a-pipeline#creating-mirror-pipelines-with-the-cli): * Enter command `goldsky pipeline create `. * This will kick off a guided flow with the first step to choose the dataset type. Choose `Direct Indexing`. * Next, select `Stellar` as chain with the enter key, then `Transactions` as the dataset by pressing space on the selected dataset which you can select using the up and down arrow keys. We will process historical data so select `Process all historical data` by pressing the enter key. This is the same as the yaml config setting of `start_at: earliest`. If you prefer to only ingest data starting when your pipeline is deployed, select `Process data from the time this pipeline is created` instead, this is equivalent to the yaml config setting `start_at: latest`. * When asked to choose another source, choose `No` by pressing enter. * Add your pre-configured sink. In this example case, we chose PostgreSQL and as a next step we selected the database schema. * Pipeline will be deployed automatically. * Using a [pipeline configuration file](/mirror/create-a-pipeline#non-interactive-pipeline-configuration): * This makes it easier to set up complex pipelines involving multiple sources, multiple sinks, and more complex, SQL-based transformations. For the full reference documentation on, click [here](/reference/config-file/pipeline). * As in the previous steps, we'll be deploying a pipeline to stream Stellar transactions. Unlike the other methods, we have added a transformation to only select specific data attributes from the whole dataset. This is the configuration file: ```yaml stellar-transactions.yaml name: untitled resource_size: s apiVersion: 3 sources: stellar_transactions: type: dataset dataset_name: stellar.transactions version: 1.0.0 start_at: earliest transforms: subset_transform: type: sql sql: >- SELECT id, transaction_hash, ledger_sequence, account, account_muxed, tx_result from stellar_transactions primary_key: id sinks: postgres_stellar_transactions: type: postgres table: stellar_transactions schema: public secret_name: description: 'Postgres sink for: stellar_transactions' from: subset_transform ``` * Add your corresponding secret name and run `goldsky pipeline apply stellar-transactions.yaml --status ACTIVE` to deploy the pipeline. ## Getting support # Streaming Sui data with Goldsky Source: https://docs.goldsky.com/chains/sui ## Overview Goldsky is a high-performance data indexing provider for Sui that makes it easy to extract, transform, and load on-chain data to power both application and analytics use cases via [Mirror](/mirror) (real-time data replication pipelines). ### Scope Goldsky has partnered with Sui to make our product available to the ecosystem and provide dedicated support for Sui data indexing. The full scope of our partnership (which products are enabled, what partner-exclusive benefit is available, and who this benefit is available to) is outlined below. | | Mirror | | ----------------------------- | --------------------------------------------------- | | Enablement | Yes | | Benefit | 10% discount on Pipeline workers and events written | | Availability | All developers | ## Getting started To use Goldsky, you'll need to create an account, install the CLI, and log in. ### Mirror Mirror pipelines allow users to replicate data into their own infrastructure (any of the [supported sinks](/mirror/sinks/supported-sinks)) in real time. The supported data sources are the following direct indexing datasets: checkpoints, packages, transactions, epochs and events. For a complete overview of how to deploy Mirror pipelines, including a video walkthrough, check the [Create a Pipeline](/mirror/create-a-pipeline). Below, we will look at a few of the different ways by which you can deploy Mirror pipelines; Here, we'll be streaming the `sui.transactions` direct indexing dataset into a PostgreSQL database. Remember to first create a [Secret](/mirror/manage-secrets) in order for Mirror to be able to write the data into the database of your choice. Pipelines can be deployed on Goldsky in 3 ways: * Using [Goldsky Flow](mirror/create-a-pipeline#goldsky-flow) in the dashboard: * Drop a `Data Source` card. Select `Sui` as the chain. Then `Enriched Transactions` as the onchain dataset to use. * Add a `Sink` card and select your pre-configured sink. * Deploy pipeline. * Using the [interactive CLI](/mirror/create-a-pipeline#creating-mirror-pipelines-with-the-cli): * Enter command `goldsky pipeline create `. * This will kick off a guided flow with the first step to choose the dataset type. Choose `Direct Indexing`. * Next, select `Sui` as chain with the enter key, then `Raw Transactions` as the dataset by pressing space on the selected dataset which you can select using the up and down arrow keys. We will process historical data so select `Process all historical data` by pressing the enter key. This is the same as the yaml config setting of `start_at: earliest`. If you prefer to only ingest data starting when your pipeline is deployed, select `Process data from the time this pipeline is created` instead, this is equivalent to the yaml config setting `start_at: latest`. * When asked to choose another source, choose `No` by pressing enter. * Add your pre-configured sink. In this example case, we chose PostgreSQL and as a next step we selected the database schema. * Pipeline will be deployed automatically. * Using a [pipeline configuration file](/mirror/create-a-pipeline#non-interactive-pipeline-configuration): * This makes it easier to set up complex pipelines involving multiple sources, multiple sinks, and more complex, SQL-based transformations. For the full reference documentation on, click [here](/reference/config-file/pipeline). * As in the previous steps, we'll be deploying a pipeline to stream Sui transactions. Unlike the other methods, we have added a transformation to only select specific data attributes from the whole dataset. This is the configuration file: ```yaml sui-transactions.yaml apiVersion: 3 name: sui-raw-transactions sources: sui_transactions: dataset_name: sui.transactions version: 1.0.0 type: dataset transforms: subset_transform: primary_key: id sql: | SELECT id, transaction_digest, transaction_kind, effects_json, transaction_json FROM sui_transactions sinks: postgres_sui_transactions: type: postgres table: sui_transactions schema: public secret_name: description: 'Postgres sink for: sui_transactions' from: subset_transform ``` * Add your corresponding secret name and run `goldsky pipeline apply sui-transactions.yaml --status ACTIVE` to deploy the pipeline. ## Getting support # Supported networks Source: https://docs.goldsky.com/chains/supported-networks ## Subgraphs Goldsky currently supports the following chains on Subgraphs. ## Mirror Goldsky currently supports the following chains on Mirror. # Indexing Swellchain with Goldsky Source: https://docs.goldsky.com/chains/swellchain ## Overview Goldsky is a high-performance data indexing provider for Swellchain that makes it easy to extract, transform, and load on-chain data to power both application and analytics use cases. Goldsky offers two primary approaches to indexing and accessing blockchain data: [Subgraphs](/subgraphs) (high-performance subgraphs) and [Mirror](/mirror) (real-time data replication pipelines). ### Scope Goldsky has partnered with Swellchain to make our product available to the ecosystem and provide dedicated support for Swellchain data indexing. The full scope of our partnership (which products are enabled, what partner-exclusive benefit is available, and who this benefit is available to) is outlined below. | | Subgraphs | Mirror | | ----------------------------- | ----------------------------------------------------- | --------------------------------------------------- | | Enablement | Yes | Yes | | Benefit | 100% discount on Subgraph workers and entities stored | 10% discount on Pipeline workers and events written | | Availability | Select developers | All developers | ## Getting started To use Goldsky, you'll need to create an account, install the CLI, and log in. ### Subgraphs Swellchain subgraphs can be deployed on Goldsky in 2 ways: Both Swellchain mainnet and testnet are available at the chain slugs `swell` and `swell-testnet` respectively. ### Mirror ## Getting support # Indexing TAC with Goldsky Source: https://docs.goldsky.com/chains/tac ## Overview Goldsky is a high-performance data indexing provider for TAC that makes it easy to extract, transform, and load on-chain data to power both application and analytics use cases. Goldsky offers two primary approaches to indexing and accessing blockchain data: [Subgraphs](/subgraphs) (high-performance subgraphs) and [Mirror](/mirror) (real-time data replication pipelines). ### Scope Goldsky has partnered with TAC to make our product available to the ecosystem and provide dedicated support for TAC data indexing. The full scope of our partnership (which products are enabled, what partner-exclusive benefit is available, and who this benefit is available to) is outlined below. | | Subgraphs | Mirror | | ----------------------------- | ----------------------------------------------------- | --------------------------------------------------- | | Enablement | Yes | Yes | | Benefit | 100% discount on Subgraph workers and entities stored | 10% discount on Pipeline workers and events written | | Availability | Select developers | All developers | ## Getting started To use Goldsky, you'll need to create an account, install the CLI, and log in. ### Subgraphs TAC subgraphs can be deployed on Goldsky in 2 ways: TAC Turin Testnet is currently supported at the chain slug `tac-turin`. ### Mirror ## Getting support # Indexing Taiko with Goldsky Source: https://docs.goldsky.com/chains/taiko ## Overview Goldsky is a high-performance data indexing provider for Taiko that makes it easy to extract, transform, and load on-chain data to power both application and analytics use cases. Goldsky offers two primary approaches to indexing and accessing blockchain data: [Subgraphs](/subgraphs) (high-performance subgraphs) and [Mirror](/mirror) (real-time data replication pipelines). ### Scope Goldsky has partnered with Taiko to make our product available to the ecosystem and provide dedicated support for Taiko data indexing. The full scope of our partnership (which products are enabled, what partner-exclusive benefit is available, and who this benefit is available to) is outlined below. | | Subgraphs | Mirror | | ----------------------------- | ----------------------------------------------------- | --------------------------------------------------- | | Enablement | Yes | Yes | | Benefit | 100% discount on Subgraph workers and entities stored | 10% discount on Pipeline workers and events written | | Availability | Select developers | All developers | ## Getting started To use Goldsky, you'll need to create an account, install the CLI, and log in. ### Subgraphs Taiko subgraphs can be deployed on Goldsky in 2 ways: Both Taiko's latest testnet (Hekla) and mainnet are currently supported at the chain slug `taiko-hekla-testnet` and `taiko` respectively. ### Mirror Support for Goldsky Mirror for Taiko is currently in progress. If you'd like to be notified when support is launched publicly, contact us at [sales@goldsky.com](mailto:sales@goldsky.com). ## Getting support # Indexing Telos with Goldsky Source: https://docs.goldsky.com/chains/telos ## Overview Goldsky is a high-performance data indexing provider for Telos that makes it easy to extract, transform, and load on-chain data to power both application and analytics use cases. Goldsky offers two primary approaches to indexing and accessing blockchain data: [Subgraphs](/subgraphs) (high-performance subgraphs) and [Mirror](/mirror) (real-time data replication pipelines). ### Scope Goldsky has partnered with Telos to make our product available to the ecosystem and provide dedicated support for Telos data indexing. The full scope of our partnership (which products are enabled, what partner-exclusive benefit is available, and who this benefit is available to) is outlined below. | | Subgraphs | Mirror | | ----------------------------- | ---------------------------------------------------- | --------------------------------------------------- | | Enablement | Yes | Yes | | Benefit | 10% discount on Subgraph workers and entities stored | 10% discount on Pipeline workers and events written | | Availability | All developers | All developers | ## Getting started To use Goldsky, you'll need to create an account, install the CLI, and log in. ### Subgraphs Telos subgraphs can be deployed on Goldsky in 2 ways: Both Telos mainnet and testnet are available at the chain slugs `telos` and `telos-testnet` respectively. ### Mirror Support for Goldsky Mirror for Telos is currently in progress. If you'd like to be notified when support is launched publicly, contact us at [sales@goldsky.com](mailto:sales@goldsky.com). ## Getting support # Indexing Treasure with Goldsky Source: https://docs.goldsky.com/chains/treasure ## Overview Goldsky is a high-performance data indexing provider for Treasure that makes it easy to extract, transform, and load on-chain data to power both application and analytics use cases. Goldsky offers two primary approaches to indexing and accessing blockchain data: [Subgraphs](/subgraphs) (high-performance subgraphs) and [Mirror](/mirror) (real-time data replication pipelines). ### Scope Goldsky has partnered with Treasure to make our product available to the ecosystem and provide dedicated support for Treasure data indexing. The full scope of our partnership (which products are enabled, what partner-exclusive benefit is available, and who this benefit is available to) is outlined below. | | Subgraphs | Mirror | | ----------------------------- | ---------------------------------------------------- | --------------------------------------------------- | | Enablement | Yes | Yes | | Benefit | 10% discount on Subgraph workers and entities stored | 10% discount on Pipeline workers and events written | | Availability | Select developers | All developers | ## Getting started To use Goldsky, you'll need to create an account, install the CLI, and log in. ### Subgraphs Treasure Subgraphs can be deployed on Goldsky in 2 ways: Treasure Mainnet and Topaz Testnet are currently supported at the chain slugs `treasure` and `treasure-topaz` respectively. ### Mirror ## Getting support # Indexing Unichain with Goldsky Source: https://docs.goldsky.com/chains/unichain ## Overview Goldsky is a high-performance data indexing provider for Unichain that makes it easy to extract, transform, and load on-chain data to power both application and analytics use cases. Goldsky offers two primary approaches to indexing and accessing blockchain data: [Subgraphs](/subgraphs) (high-performance subgraphs) and [Mirror](/mirror) (real-time data replication pipelines). ### Scope Goldsky has partnered with Unichain to make our product available to the ecosystem and provide dedicated support for Unichain data indexing. The full scope of our partnership (which products are enabled, what partner-exclusive benefit is available, and who this benefit is available to) is outlined below. | | Subgraphs | Mirror | | ----------------------------- | ---------------------------------------------------- | --------------------------------------------------- | | Enablement | Yes | Yes | | Benefit | 10% discount on Subgraph workers and entities stored | 10% discount on Pipeline workers and events written | | Availability | Select developers | All developers | ## Getting started To use Goldsky, you'll need to create an account, install the CLI, and log in. ### Subgraphs Unichain subgraphs can be deployed on Goldsky in 2 ways: Unichain's Mainnet and Sepolia Testnet are currently supported at the chain slugs `unichain` and `unichain-sepolia` respectively. ### Mirror ## Getting support # Indexing Viction with Goldsky Source: https://docs.goldsky.com/chains/viction ## Overview Goldsky is a high-performance data indexing provider for Viction that makes it easy to extract, transform, and load on-chain data to power both application and analytics use cases. Goldsky offers two primary approaches to indexing and accessing blockchain data: [Subgraphs](/subgraphs) (high-performance subgraphs) and [Mirror](/mirror) (real-time data replication pipelines). ### Scope Goldsky has partnered with Viction to make our product available to the ecosystem and provide dedicated support for Viction data indexing. The full scope of our partnership (which products are enabled, what partner-exclusive benefit is available, and who this benefit is available to) is outlined below. | | Subgraphs | Mirror | | ----------------------------- | ----------------------------------------------------- | --------------------------------------------------- | | Enablement | Yes | Yes | | Benefit | 100% discount on Subgraph workers and entities stored | 10% discount on Pipeline workers and events written | | Availability | Select developers | All developers | ## Getting started To use Goldsky, you'll need to create an account, install the CLI, and log in. ### Subgraphs Viction subgraphs can be deployed on Goldsky in 2 ways: Viction Mainnet and Testnet are currently supported at the chain slugs `viction` and `viction-testnet` respectively. ### Mirror ## Getting support # Indexing World Chain with Goldsky Source: https://docs.goldsky.com/chains/worldchain ## Overview Goldsky is a high-performance data indexing provider for World Chain that makes it easy to extract, transform, and load on-chain data to power both application and analytics use cases. Goldsky offers two primary approaches to indexing and accessing blockchain data: [Subgraphs](/subgraphs) (high-performance subgraphs) and [Mirror](/mirror) (real-time data replication pipelines). ### Scope Goldsky has partnered with World Chain to make our product available to the ecosystem and provide dedicated support for World Chain data indexing. The full scope of our partnership (which products are enabled, what partner-exclusive benefit is available, and who this benefit is available to) is outlined below. | | Subgraphs | Mirror | | ----------------------------- | ---------------------------------------------------- | --------------------------------------------------- | | Enablement | Yes | Yes | | Benefit | 10% discount on Subgraph workers and entities stored | 10% discount on Pipeline workers and events written | | Availability | Select developers | All developers | ## Getting started To use Goldsky, you'll need to create an account, install the CLI, and log in. ### Subgraphs World Chain subgraphs can be deployed on Goldsky in 2 ways: Both World Chain Mainnet and Sepolia Testnet are currently supported at the chain slugs `worldchain` and `worldchain-sepolia` respectively. ### Mirror ## Getting support # Indexing Xai with Goldsky Source: https://docs.goldsky.com/chains/xai ## Overview Goldsky is a high-performance data indexing provider for Xai that makes it easy to extract, transform, and load on-chain data to power both application and analytics use cases. Goldsky offers two primary approaches to indexing and accessing blockchain data: [Subgraphs](/subgraphs) (high-performance subgraphs) and [Mirror](/mirror) (real-time data replication pipelines). ### Scope Goldsky has partnered with Xai to make our product available to the ecosystem and provide dedicated support for Xai data indexing. The full scope of our partnership (which products are enabled, what partner-exclusive benefit is available, and who this benefit is available to) is outlined below. | | Subgraphs | Mirror | | ----------------------------- | ----------------------------------------------------- | --------------------------------------------------- | | Enablement | Yes | Yes | | Benefit | 100% discount on Subgraph workers and entities stored | 10% discount on Pipeline workers and events written | | Availability | Select developers | All developers | ## Getting started To use Goldsky, you'll need to create an account, install the CLI, and log in. ### Subgraphs Xai subgraphs can be deployed on Goldsky in 2 ways: Both Xai mainnet and testnet are available at the chain slugs `xai` and `xai-testnet` respectively. ### Mirror ## Getting support # Indexing ZERΟ΄ with Goldsky Source: https://docs.goldsky.com/chains/zero ## Overview Goldsky is a high-performance data indexing provider for ZERΟ΄ that makes it easy to extract, transform, and load on-chain data to power both application and analytics use cases. Goldsky offers two primary approaches to indexing and accessing blockchain data: [Subgraphs](/subgraphs) (high-performance subgraphs) and [Mirror](/mirror) (real-time data replication pipelines). ### Scope Goldsky has partnered with ZERΟ΄ to make our product available to the ecosystem and provide dedicated support for ZERΟ΄ data indexing. The full scope of our partnership (which products are enabled, what partner-exclusive benefit is available, and who this benefit is available to) is outlined below. | | Subgraphs | Mirror | | ----------------------------- | ----------------------------------------------------- | --------------------------------------------------- | | Enablement | Yes | Yes | | Benefit | 100% discount on Subgraph workers and entities stored | 10% discount on Pipeline workers and events written | | Availability | Select developers | All developers | ## Getting started To use Goldsky, you'll need to create an account, install the CLI, and log in. ### Subgraphs ZERΟ΄ subgraphs can be deployed on Goldsky in 2 ways: ZERΟ΄ Mainnet and Testnet are currently supported at the chain slugs `zero` and `zero-sepolia` respectively. ### Mirror ## Getting support # Indexing ZetaChain with Goldsky Source: https://docs.goldsky.com/chains/zetachain ## Overview Goldsky is a high-performance data indexing provider for ZetaChain that makes it easy to extract, transform, and load on-chain data to power both application and analytics use cases. Goldsky offers two primary approaches to indexing and accessing blockchain data: [Subgraphs](/subgraphs) (high-performance subgraphs) and [Mirror](/mirror) (real-time data replication pipelines). ### Scope Goldsky has partnered with ZetaChain to make our product available to the ecosystem and provide dedicated support for ZetaChain data indexing. The full scope of our partnership (which products are enabled, what partner-exclusive benefit is available, and who this benefit is available to) is outlined below. | | Subgraphs | Mirror | | ----------------------------- | ----------------------------------------------------- | --------------------------------------------------- | | Enablement | Yes | Yes | | Benefit | 100% discount on Subgraph workers and entities stored | 10% discount on Pipeline workers and events written | | Availability | Select developers | All developers | ## Getting started To use Goldsky, you'll need to create an account, install the CLI, and log in. ### Subgraphs ZetaChain subgraphs can be deployed on Goldsky in 2 ways: Both ZetaChain mainnet and testnet are available at the chain slugs `zetachain-mainnet` and `zetachain-testnet` respectively. ### Mirror Support for Goldsky Mirror for ZetaChain is currently in progress. If you'd like to be notified when support is launched publicly, contact us at [sales@goldsky.com](mailto:sales@goldsky.com). ## Getting support # Indexing zkSync Era with Goldsky Source: https://docs.goldsky.com/chains/zksync ## Overview Goldsky is a high-performance data indexing provider for zkSync Era that makes it easy to extract, transform, and load on-chain data to power both application and analytics use cases. Goldsky offers two primary approaches to indexing and accessing blockchain data: [Subgraphs](/subgraphs) (high-performance subgraphs) and [Mirror](/mirror) (real-time data replication pipelines). ### Scope Goldsky has partnered with zkSync Era to make our product available to the ecosystem and provide dedicated support for zkSync Era data indexing. The full scope of our partnership (which products are enabled, what partner-exclusive benefit is available, and who this benefit is available to) is outlined below. | | Subgraphs | Mirror | | ----------------------------- | ----------------------------------------------------- | --------------------------------------------------- | | Enablement | Yes | Yes | | Benefit | 100% discount on Subgraph workers and entities stored | 10% discount on Pipeline workers and events written | | Availability | Select developers | All developers | ## Getting started To use Goldsky, you'll need to create an account, install the CLI, and log in. ### Subgraphs zkSync Era subgraphs can be deployed on Goldsky in 2 ways: Both zkSync Era mainnet and testnet are available at the chain slugs `zksync-era` and `zksync-era-testnet` respectively. ### Mirror Subgraphs indexed on zkSync Era by Goldsky can be "mirrored" into another database, as flat files, or as a Kafka topic. To learn more about mirroring subgraph data into your own infrastructure, visit the [dedicated page on subgraph-based Mirror pipelines](/mirror/sources/subgraphs). ## Getting support # Indexing Zora with Goldsky Source: https://docs.goldsky.com/chains/zora Coming soon. If you're running into issues building on Zora, please contact [support@goldsky.com](mailto:support@goldsky.com) and we'd be happy to help # Frequently asked questions Source: https://docs.goldsky.com/faq Collection of frequently (and not-so-frequently) asked questions. ## Subgraphs Endpoints are by default publicly accessible but you can make your endpoints private so that it's only accessible by authenticated users, see [private endpoints](./subgraphs/graphql-endpoints). Regardless of the access type, endpoints are typically rate-limited preventing abuse, and are not publicly indexed or searchable. As a best practice, you may want to proxy your requests to prevent leaking your endpoint URL from your front-end. No! If Goldsky has already indexed that subgraph (unique subgraphs identified by their IPFS hash), it will sync instantly, though you will be provided your own endpoint with your own rate limits applied. Query away. By default, the Scale plan is restricted to 50 requests every 10 seconds. However, our Enterprise plans scale horizontally and our highest-use endpoints are seamlessly handling thousands of requests a second at peak. If you need a higher rate limit than what you have enabled on your account, please contact us! Not at the moment, though similar functionality for β€œlive queries” can be accomplished by polling our querying endpoints. We also do support webhooks, which can be similarly useful for certain push-based use cases. Deployments with a lot of metadata can sometimes time out the IPFS server. You can try again (right away, and if that isn't working, a bit later) and eventually one attempt should work. This is a limitation of the IPFS server, but we're exploring options to workaround this. If you continue to face issues, contact our support team at [support@goldsky.com](mailto:support@goldsky.com) and we'll help manually port it over. You may get `store error: column "x" specified more than once` when using Goldsky's [Instant Subgraphs functionality](/subgraphs/guides/create-a-no-code-subgraph). Multiple ABIs might be causing name conflicts due to conflicting fields or event names in the ABI. You can try splitting multiple ABIs into multiple subgraphs. There will be a mitigation for this in a future version. If you run into issues deploying or with the subgraph separately, contact our support team at [support@goldsky.com](mailto:support@goldsky.com). ## Mirror Mirror pipelines write data from `us-west-2` on AWS from a dynamic range of IP addresses. If you need VPC peering / static IPs for your allow list, contact us at [support@goldsky.com](mailto:support@goldsky.com) to discuss your use case. Yes! Add `--resource size ` to your `goldsky pipeline create ` command, and the resource size will be set prior to deployment of the pipeline, preventing the need for a pipeline update (which restarts the resource). Yes - if the primary key is the same (which is the default), the pipeline will upsert and not rewrite data. If it’s already there (based on the primary key) it will skip and move to the next record until it identifies data that isn’t already in the destination sink. It’s important to note that this only applies for databases that support upserts, such as Postgres, MySQL, and Elasticsearch. This does not work on S3, and duplicate data is written. Your destination sink and indexes kept will vastly influence how much storage you need for your data. We are working on publishing a record count for raw data tables to serve as a starting point for approximation, but in the meantime feel free to contact support for a better estimate for your specific use case! ## Platform API keys are only kept hashed (meaning after it’s displayed for the first time, you need to copy and save it locally in order to access it, we won’t be able to restore it for you!). If your API key is lost, you can reset / generate a new one from the settings page in the web app. Goldsky can support any EVM-compatible chain. If we don't support it in our shared indexing infrastructure, contact us to get set up with a dedicated indexer. Once set up, we can add new chains to your instance in a \~1 hour turnarount time or less. Yes, every version of a subgraph incurs a separate worker fee and storage (in terms of entities) is also counted separately. Be sure to delete old versions of a subgraph you no longer need to query to minimize wasteful spend. ## Other For help with anything else not answered on this documentation page, feel free to try the doc-wide search with the top-bar, and if that doesn't help you find what you're looking for, don't hesitate to contact our support team at [support@goldsky.com](mailto:support@goldsky.com). # Support Source: https://docs.goldsky.com/getting-support Our team is on standby to help you get the most out of our products. ## Starter + Scale You can reach out to us any time with any questions, issues, concerns, or product ideas & feedback. Here are a few ways to do so: * Tweet at us or send us a DM at [@goldskyio](https://x.com/goldskyio) * Email us at [support@goldsky.com](mailto:support@goldsky.com) For Starter plan users, we do not provide any response time estimates. For Scale plan users, we target a response time of 24-48 hours on a best-effort basis. ## Enterprise If you an Enterprise user, you have additional options for getting help, including: * Directly to your named Customer Success Manager via email * Via your dedicated Slack support channel * Via our Telegram support bot Response times are defined on a company-by-company basis in your Support SLA. # GitHub Source: https://docs.goldsky.com/github-repo # Introduction to Goldsky Source: https://docs.goldsky.com/introduction Goldsky is the go-to data indexer for web3 builders, offering high-performance subgraph hosting and realtime data replication pipelines. ```bash Install curl https://goldsky.com | sh ``` ```bash Migrate subgraph goldsky subgraph deploy / --from-url ``` ```bash Deploy pipeline goldsky pipeline create ``` Goldsky offers two core self-serve products that can be used independently or in conjunction to power your data stack. ## Subgraphs **Flexible indexing with typescript, with support for webhooks and more.** Get started guide to index and query on-chain data Dive into detailed documentation on Goldsky Subgraphs ## Mirror **Get live blockchain data in your database or message queues with a single yaml config.** Get started guide to stream data into your own infrastructure Dive into detailed documentation on Goldsky Mirror Mirror can use Goldsky-hosted subgraphs as a data source, allowing you to get your data into any of our sinks without any data lag. \-- # About Mirror Pipelines Source: https://docs.goldsky.com/mirror/about-pipeline We recently released v3 of pipeline configurations which uses a more intuitive and user friendly format to define and configure pipelines using a yaml file. For backward compatibility purposes, we will still support the previous v2 format. This is why you will find references to each format in each yaml file presented across the documentation. Feel free to use whichever is more comfortable for you but we encourage you to start migrating to v3 format. ## Overview A Mirror Pipeline defines flow of data from `sources -> transforms -> sinks`. It is configured in a `yaml` file which adheres to Goldsky's pipeline schema. The core logic of the pipeline is defined in `sources`, `transforms` and `sinks` attributes. * `sources` represent origin of the data into the pipeline. * `transforms` represent data transformation/filter logic to be applied to either a source and/or transform in the pipeline. * `sinks` represent destination for the source and/or transform data out of the pipeline. Each `source` and `transform` has a unique name which is referenceable in other `transform` and/or `sink`, determining dataflow within the pipeline. While the pipeline is configured in yaml, [goldsky pipeline CLI commands](/reference/cli#pipeline) are used to take actions on the pipeline such as: `start`, `stop`, `get`, `delete`, `monitor` etc. Below is an example pipeline configuration which sources from `base.logs` Goldsky dataset, filters the data using `sql` and sinks to a `postgresql` table: ```yaml base-logs.yaml apiVersion: 3 name: base-logs-pipeline resource_size: s sources: base.logs: dataset_name: base.logs version: 1.0.0 type: dataset description: Enriched logs for events emitted from contracts. Contains the contract address, data, topics, decoded event and metadata for blocks and transactions. display_name: Logs transforms: filter_logs_by_block_number: sql: SELECT * FROM base.logs WHERE block_number > 5000 primary_key: id sinks: postgres_base_logs: type: postgres table: base_logs schema: public secret_name: GOLDSKY_SECRET description: "Postgres sink for: base.logs" from: filter_logs_by_block_number ``` Keys in v3 format for sources, transforms and sinks are user provided values. In the above example, the source reference name `base.logs` matches the actual dataset name. This is the convention that you'll typically see across examples and autogenerated configurations. However, you can use a custom name as the key. ```yaml base-logs.yaml name: base-logs-pipeline resource_size: s apiVersion: 3 definition: sources: - referenceName: base.logs type: dataset version: 1.0.0 transforms: [] sinks: - type: postgres table: base_logs schema: public secretName: GOLDSKY_SECRET description: 'Postgres sink for: base.logs' sourceStreamName: base.logs referenceName: postgres_base_logs ``` You can find the complete Pipeline configuration schema in the [reference](/reference/config-file/pipeline) page. ## Development workflow Similar to the software development workflow of `edit -> compile -> run`, there's an implict iterative workflow of `configure -> apply -> monitor` for developing pipelines. 1. `configure`: Create/edit the configuration yaml file. 2. `apply`: Apply the configuration aka run the pipeline. 3. `monitor`: Monitor how the pipeline behaves. This will help create insights that'll generate ideas for the first step. Eventually, you'll end up with a configuration that works for your use case. Creating a Pipeline configuration from scratch is challenging. However, there are tools/guides/examples that make it easier to [get started](/mirror/create-a-pipeline). ## Understanding Pipeline Runtime Lifecycle The `status` attribute represents the desired status of the pipeline and is provided by the user. Applicable values are: * `ACTIVE` means the user wants to start the pipeline. * `INACTIVE` means the user wants to stop the pipeline. * `PAUSED` means the user wants to save-progress made by the pipeline so far and stop it. A pipeline with status `ACTIVE` has a runtime status as well. Runtime represents the execution of the pipeline. Applicable runtime status values are: * `STARTING` means the pipeline is being setup. * `RUNNING` means the pipeline has been setup and is processing records. * `FAILING` means the pipeline has encountered errors that prevents it from running successfully. * `TERMINATED` means the pipeline has failed and the execution has been terminated. There are several [goldsky pipeline CLI commands](/reference/config-file/pipeline#pipeline-runtime-commands) that help with pipeline execution. For now, let's see how these states play out on successful and unsuccessful scenarios. ### Successful pipeline lifecycle In this scenario the pipeline is succesfully setup and processing data without encountering any issues. We consider the pipeline to be in a healthy state which translates into the following statuses: * Desired `status` in the pipeline configuration is `ACTIVE` * Runtime Status goes from `STARTING` to `RUNNING`
```mermaid stateDiagram-v2 state ACTIVE { [*] --> STARTING STARTING --> RUNNING } ```
Let's look at a simple example below where we configure a pipeline that consumes Logs from Base chain and streams them into a Postgres database: ```yaml base-logs.yaml name: base-logs-pipeline resource_size: s apiVersion: 3 sources: base.logs: dataset_name: base.logs version: 1.0.0 type: dataset description: Enriched logs for events emitted from contracts. Contains the contract address, data, topics, decoded event and metadata for blocks and transactions. display_name: Logs transforms: {} sinks: postgres_base_logs: type: postgres table: base_logs schema: public secret_name: GOLDSKY_SECRET description: "Postgres sink for: base.logs" from: base.logs ``` ```yaml base-logs.yaml name: base-logs-pipeline definition: sources: - referenceName: base.logs type: dataset version: 1.0.0 transforms: [] sinks: - type: postgres table: base_logs schema: public secretName: GOLDSKY_SECRET description: 'Postgres sink for: base.logs' sourceStreamName: base.logs referenceName: postgres_base_logs ``` Let's attempt to run it using the command `goldsky pipeline apply base-logs.yaml --status ACTIVE` or `goldsky pipeline start base-logs.yaml` ``` ❯ goldsky pipeline apply base-logs.yaml --status ACTIVE β”‚ β—‡ Successfully validated config file β”‚ β—‡ Successfully applied config to pipeline: base-logs-pipeline To monitor the status of your pipeline: Using the CLI: `goldsky pipeline monitor base-logs-pipeline` Using the dashboard: https://app.goldsky.com/dashboard/pipelines/stream/base-logs-pipeline/1 ``` At this point we have set the desired status to `ACTIVE`. We can confirm this using `goldsky pipeline list`: ``` ❯ goldsky pipeline list βœ” Listing pipelines ──────────────────────────────────────── β”‚ Name β”‚ Version β”‚ Status β”‚ Resource β”‚ β”‚ β”‚ β”‚ β”‚ Size β”‚ │─────────────────────────────────────── β”‚ base-logs-pipeline β”‚ 1 β”‚ ACTIVE β”‚ s β”‚ ──────────────────────────────────────── ``` We can then check the runtime status of this pipeline using the `goldsky pipeline monitor base-logs-pipeline` command: We can see how the pipeline starts in `STARTING` status and becomes `RUNNING` as it starts processing data successfully into our Postgres sink. This pipeline will start processing the historical data of the source dataset, reach its edge and continue streaming data in real time until we either stop it or it encounters error(s) that interrupts it's execution. ### Unsuccessful pipeline lifecycle Let's now consider the scenario where the pipeline encounters errors during its lifetime and ends up failing. There can be multitude of reasons for a pipeline to encounter errors such as: * secrets not being correctly configured * sink availability issues * policy rules on the sink preventing the pipeline from writing records * resource size incompatiblity * and many more These failure scenarios prevents a pipeline from getting-into or staying-in a `RUNNING` runtime status.
```mermaid --- title: Healthy pipeline becomes unhealthy --- stateDiagram-v2 state status:ACTIVE { [*] --> STARTING STARTING --> RUNNING RUNNING --> FAILING FAILING --> TERMINATED } ``` ```mermaid --- title: Pipeline cannot start --- stateDiagram-v2 state status:ACTIVE { [*] --> STARTING STARTING --> FAILING FAILING --> TERMINATED } ```
A Pipeline can be in an `ACTIVE` desired status but a `TERMINATED` runtime status in scenarios that lead to terminal failure. Let's see an example where we'll use the same configuration as above but set a `secret_name` that does not exist. ```yaml bad-base-logs.yaml name: bad-base-logs-pipeline resource_size: s apiVersion: 3 sources: base.logs: dataset_name: base.logs version: 1.0.0 type: dataset description: Enriched logs for events emitted from contracts. Contains the contract address, data, topics, decoded event and metadata for blocks and transactions. display_name: Logs transforms: {} sinks: postgres_base_logs: type: postgres table: base_logs schema: public secret_name: YOUR_DATABASE_SECRET description: "Postgres sink for: base.logs" from: base.logs ``` ```yaml bad-base-logs.yaml name: bad-base-logs-pipeline definition: sources: - referenceName: base.logs type: dataset version: 1.0.0 transforms: [] sinks: - type: postgres table: base_logs schema: public secretName: YOUR_DATABASE_SECRET description: 'Postgres sink for: base.logs' sourceStreamName: base.logs referenceName: postgres_base_logs ``` Let's start it using the command `goldsky pipeline apply bad-base-logs.yaml`. ``` ❯ goldsky pipeline apply bad-base-logs.yaml β”‚ β—‡ Successfully validated config file β”‚ β—‡ Successfully applied config to pipeline: base-logs-pipeline To monitor the status of your pipeline: Using the CLI: `goldsky pipeline monitor bad-base-logs-pipeline` Using the dashboard: https://app.goldsky.com/dashboard/pipelines/stream/bad-base-logs-pipeline/1 ``` The pipeline configuration is valid, however, the pipeline runtime will encounter error since the secret that contains credentials to communicate with the sink does not exist. Running `goldsky pipeline monitor bad-base-logs-pipeline` we see: As expected, the pipeline has encountered a terminal error. Please note that the desired status is still `ACTIVE` even though the pipeline runtime status is `TERMINATED` ``` ❯ goldsky pipeline list βœ” Listing pipelines ───────────────────────────────────────── β”‚ Name β”‚ Version β”‚ Status β”‚ Resource β”‚ β”‚ β”‚ β”‚ β”‚ Size β”‚ ───────────────────────────────────────── β”‚ bad-base-logs-pipeline β”‚ 1 β”‚ ACTIVE β”‚ s β”‚ ───────────────────────────────────────── ``` ## Runtime visibility Pipeline runtime visibility is an important part of the pipeline development workflow. Mirror pipelines expose: 1. Runtime status and error messages 2. Logs emitted by the pipeline 3. Metrics on `Records received`, which counts all the records the pipeline has received from source(s) and, `Records written` which counts all records the pipeline has written to sink(s). 4. [Email notifications](/mirror/about-pipeline#email-notifications) Runtime status, error messages and metrics can be seen via two methods: 1. Pipeline dashboard at `https://app.goldsky.com/dashboard/pipelines/stream//` 2. `goldsky pipeline monitor ` CLI command Logs can only be seen in the pipeline dashboard. Mirror attempts to surface appropriate and actionable error message and status for users, however, there is always room for imporovements. Please [reachout](/getting-support) if you think the experience can be improved. ### Email notifications If a pipeline fails terminally the project members will get notified via an email. You can configure this nofication in the [Notifications section](https://app.goldsky.com/dashboard/settings#notifications) of your project ## Error handling There are two broad categories of errors. **Pipeline configuration schema error** This means the schema of the pipeline configuration is not valid. These errors are usually caught before pipeline execution. Some possible scenarios: * a required attribute is missing * transform SQL has syntax errors * pipeline name is invalid **Pipeline runtime error** This means the pipeline encountered error during execution at runtime. Some possible scenarios: * credentails stored in the secret are incorrect or do not have needed access privilages * sink availability issues * poison-pill record that breaks the business logic in the transforms * `resource_size` limitation Transient errors are automatically retried as per retry-policy (for upto 6 hours) whearas non-transient ones immediately terminate the pipeline. While many errors can be resolved by user intervention, there is a possibility of platform errors as well. Please [reachout to support](/getting-support) for investigation. ## Resource sizing `resource_size` represents the compute (vCPUs and RAM) available to the pipeline. There are several options for pipeline sizes: `s, m, l, xl, xxl`. This attribute influences [pricing](/pricing/summary#mirror) as well. Resource sizing depends on a few different factors such as: * number of sources, transforms, sinks * expected amount of data to be processed. * transform sql involves joining multiple sources and/or transforms Here's some general information that you can use as reference: * A `small` resource size is usually enough in most use case: it can handle full backfill of small chain datasets and write to speeds of up to 300K records per second. For pipelines using subgraphs as source it can reliably handle up to 8 subgraphs. * Larger resource sizes are usually needed when backfilling large chains or when doing large JOINS (example: JOIN between accounts and transactions datasets in Solana) * It's recommended to always follow a defensive approach: start small and scale up if needed. ## Snapshots A Pipeline snapshot captures a point-in-time state of a `RUNNING` pipeline allowing users to resume from it in the future. It can be useful in various scenarios: * evolving your `RUNNING` pipeline (eg: adding a new source, sink) without losing progress made so far. * recover from new bug introductions where the user fix the bug and resume from an earlier snapshot to reprocess data. Please note that snapshot only contains info about the progress made in reading the source(s) and the sql transform's state. It isn't representative of the state of the source/sink. For eg: if all data in the sink database table is deleted, resuming the pipeline from a snapshot does not recover it. Currently, a pipeline can only be resumed from the latest available snapshot. If you need to resume from older snapshots, please [reachout to support](/getting-support) Snapshots are closely tied to pipeline runtime in that all [commands](/reference/config-file/pipeline#pipeline-runtime-commands) that changes pipeline runtime has options to trigger a new snapshot and/or resume from the latest one. ```mermaid %%{init: { 'gitGraph': {'mainBranchName': 'myPipeline-v1'}, 'theme': 'default' , 'themeVariables': { 'git0': '#ffbf60' }}}%% gitGraph commit id: " " type: REVERSE tag:"start" commit id: "snapshot1" commit id: "snapshot2" commit id: "snapshot3" commit id: "snapshot4" tag:"stop" type: HIGHLIGHT branch myPipeline-v2 commit id: "snapshot4 " type: REVERSE tag:"start" ``` ### When are snapshots taken? 1. When updating a `RUNNING` pipeline, a snapshot is created before applying the update. This is to ensure that there's an up-to-date snapshot in case the update introduces issues. 2. When pausing a pipeline. 3. Automatically on regular intervals. For `RUNNING` pipelines in healthy state, automatic snapshots are taken every 4 hours to ensure minimal data loss in case of errors. 4. Users can request snapshot creation via the following CLI command: * `goldsky pipeline snapshot create ` * `goldsky pipeline apply --from-snapshot new` * `goldsky pipeline apply --save-progress true` (CLI version \< `11.0.0`) 5. Users can list all snapshots in a pipeline via the following CLI command: * `goldsky pipeline snapshot list ` ### How long does it take to create a snapshot The amount of time it takes for a snapshot to be created depends largly on two factors. First, the amount of state accumulated during pipeline execution. Second, how fast records are being processed end-end in the pipeline. In case of a long running snapshot that was triggered as part of an update to the pipeline, any future updates are blocked until snapshot is completed. Users do have an option to cancel the update request. There is a scenario where the the pipeline was healthy at the time of starting the snapshot however, became unhealthy later preventing snapshot creation. Here, the pipeline will attempt to recover however, may need user intervention that involves restarting from last successful snapshot. ### Scenarios and Snapshot Behavior Happy Scenario: * Suppose a pipeline is at 50% progress, and an automatic snapshot is taken. * The pipeline then progresses to 60% and is in a healthy state. If you pause the pipeline at this point, a new snapshot is taken. * You can later start the pipeline from the 60% snapshot, ensuring continuity from the last known healthy state. Bad Scenario: * If the pipeline reaches 50%, and an automatic snapshot is taken. * It then progresses to 60% but enters a bad state. Attempting to pause the pipeline in this state will fail. * If you restart the pipeline, it will resume from the last successful snapshot at 50%, there was no snapshot created at 60% # Getting started Source: https://docs.goldsky.com/mirror/create-a-pipeline Step by step instructions on how to create a Goldsky Mirror pipeline.