> ## Documentation Index
> Fetch the complete documentation index at: https://docs.goldsky.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Derive

> Derive support on Goldsky: Turbo pipelines on Lyra Mainnet and Lyra Testnet, with CLI setup steps to get started.

#### Lyra Mainnet

<table><tbody><tr><td>Chain ID</td>
<td>`957`</td></tr>
<tr><td>Currency</td>
<td>ETH</td></tr>
<tr><td>Explorer</td>
<td>[https://explorer.lyra.finance](https://explorer.lyra.finance)</td></tr></tbody></table>

## Overview

Goldsky is the modern back-end for crypto-enabled products; the infrastructure layer between your application and the blockchain. We handle the complex, undifferentiated work of building on crypto rails: streaming real-time data, maintaining reliable chain connectivity, and executing onchain logic. Teams use Goldsky to ship faster and stay focused on their core product.

## Getting started

To use Goldsky, you'll need to create an account, install the CLI, and log in. If you want to use Turbo or Compose, you'll also need to install their respective CLI extensions.

> [accordion] Install Goldsky CLI and log in
>
> 1. Install the Goldsky CLI:
>
>    **For macOS/Linux:**
>
>    ```shell theme={"dark"}
>    curl https://goldsky.com | sh
>    ```
>
>    **For Windows:**
>
>    ```shell theme={"dark"}
>    npm install -g @goldskycom/cli
>    ```
>
>    > [!NOTE]
>    >
>    > Windows users need to have Node.js and npm installed first. Download from [nodejs.org](https://nodejs.org) if not already installed.
> 2. Log into your Project by running:
>    ```shell theme={"dark"}
>    goldsky login
>    ```
>    This opens your browser to sign in (Google, GitHub, SSO, or email). Once you authenticate, the CLI is logged in automatically — there's no API key to copy or paste.
>    \[!NOTE] On a headless or remote machine (or in CI), create an API key on your [Project Settings](https://app.goldsky.com/dashboard/settings) page and pass it directly with `goldsky login --token <API_KEY>`. Use `goldsky login --no-browser` to print the login URL instead of opening a browser.
> 3. Now that you are logged in, run `goldsky` to get started:
>    ```shell theme={"dark"}
>    goldsky
>    ```

> [accordion] Install Turbo CLI extension
>
> If you already have the Goldsky CLI installed, install the Turbo extension by running:
>
> ```bash theme={"dark"}
> goldsky turbo
> ```
>
> This will automatically install the Turbo extension. Verify the installation:
>
> ```bash theme={"dark"}
> goldsky turbo list
> ```
>
> > [!NOTE]
> >
> > Make sure to update the CLI to the latest version before running Turbo commands: `curl https://goldsky.com | sh`
>
> For a complete reference of all Turbo CLI commands, see the [CLI Reference](https://docs.goldsky.com/turbo-pipelines/cli-reference.md) guide.

> [accordion] Install Compose CLI extension
>
> If you already have the Goldsky CLI installed, install the Compose extension by running:
>
> ```bash theme={"dark"}
> goldsky compose install
> ```
>
> To update to the latest version:
>
> ```bash theme={"dark"}
> goldsky compose update
> ```
>
> For more details, see the [Compose quickstart](https://docs.goldsky.com/compose/quick-start.md) guide.

## Subgraphs

NOT YET AVAILABLE

Subgraphs let you define custom data schemas and indexing logic to serve blockchain data via GraphQL APIs. Learn more about what you can build with Subgraphs in the [Subgraphs documentation](https://docs.goldsky.com/subgraphs/introduction.md). Subgraphs are not currently enabled for Derive, but we'd love to change that.

**From the Derive team?** [Book a call](https://cal.com/team/goldsky/website-intro) to explore enabling Subgraphs for your ecosystem.

**Building on Derive?** [Contact us](https://cal.com/team/goldsky/website-intro) about dedicated infrastructure options.

## Turbo

MAINNET SUPPORTED
TESTNET SUPPORTED

Turbo pipelines provide high-performance streaming data pipelines with sub-second latency. Deploy a pipeline to start streaming Derive data to your preferred destination.

### Quick deploy

Validate and deploy a Turbo pipeline with the CLI:

goldsky turbo validate lyra\_mainnet-pipeline.yaml
goldsky turbo apply lyra\_mainnet-pipeline.yaml

### Configuration file

Turbo pipelines are defined in a YAML configuration file. Reference a Derive dataset by its `dataset_name` and pinned `version`, then send it to your configured sink. See the specific Derive datasets and versions in the section below.

name: my-lyra\_mainnet-pipeline
resource\_size: s

sources:
lyra\_mainnet\_source:
type: dataset
dataset\_name: \<DATASET\_NAME>   # e.g. lyra\_mainnet.\<dataset>
version: \<DATASET\_VERSION>     # pin to a specific version
start\_at: latest               # or 'earliest' to process all historical data

sinks:
postgres\_lyra\_mainnet:
type: postgres
from: lyra\_mainnet\_source
schema: public
table: lyra\_mainnet\_data
secret\_name: \<YOUR\_SECRET\_NAME>
primary\_key: id

### Available chain slugs

These are the Goldsky Turbo chain slugs for Derive (not the Subgraphs network name above):
Mainnet: `lyra_mainnet`
|
Testnet: `lyra_testnet`

For the full configuration reference, see the [Turbo documentation](https://docs.goldsky.com/turbo-pipelines/introduction.md). See [chain identifiers: Subgraphs vs. Turbo](https://docs.goldsky.com/chains/supported-networks.md#chain-identifiers-subgraphs-vs-turbo) if you need the Subgraphs network name instead.

## Edge RPC

NOT YET AVAILABLE

Edge RPC provides reliable, high-performance RPC access with low latency via multi-region CDN, intelligent caching, automatic failover, and built-in observability—optimized for both indexing backends and frontend applications. Learn more in the [Edge RPC documentation](https://docs.goldsky.com/edge-rpc/introduction.md).

Edge RPC is not currently enabled for Derive, but we'd love to change that.

**From the Derive team?** [Book a call](https://cal.com/team/goldsky/website-intro) to explore enabling Edge RPC for your ecosystem.

**Building on Derive?** [Contact us](https://cal.com/team/goldsky/website-intro) about dedicated infrastructure options.

## Compose

NOT YET AVAILABLE

Compose lets you build offchain-to-onchain systems that durably move data and execute logic between your application and the blockchain. Learn more about what you can build with Compose in the [Compose documentation](https://docs.goldsky.com/compose/introduction.md). Compose is generally available, but it is not currently enabled for Derive. An invite or whitelist does not change that, but we'd love to.

**From the Derive team?** [Book a call](https://cal.com/team/goldsky/website-intro) to explore enabling Compose for your ecosystem.

**Building on Derive?** [Contact us](https://cal.com/team/goldsky/website-intro) about dedicated infrastructure options.

## Getting support

Can't find what you're looking for? Reach out to us at [support@goldsky.com](mailto:support@goldsky.com) for help.


## Related topics

- [Subgraph performance](https://docs.goldsky.com/subgraphs/guides/performance.md)
- [Build a binary prediction market](https://docs.goldsky.com/compose/guides/build-a-prediction-market.md)
- [Detect incoming assets to a set of addresses](https://docs.goldsky.com/solutions/deposit-detection.md)
- [Solana Transactions with Gill](https://docs.goldsky.com/compose/guides/solana-transactions.md)
- [Delivery guarantees](https://docs.goldsky.com/turbo-pipelines/delivery-guarantees.md)
