Goldsky is a high-performance data indexing provider for Fluent 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 (high-performance subgraphs) and Mirror (real-time data replication pipelines).
To use Goldsky, you’ll need to create an account, install the CLI, and log in.
Install Goldsky's CLI and log in
Install the Goldsky CLI:
For macOS/Linux:
For Windows:
Go to your Project Settings page and create an API key.
Back in your Goldsky CLI, log into your Project by running the command goldsky login
and paste your API key.
Now that you are logged in, run goldsky
to get started:
Fluent Subgraphs can be deployed on Goldsky in 2 ways:
subgraph.yaml
file, a schema.graphql
file, and the necessary mappings to translate raw event data into the entities defined in the schema), you can deploy subgraphs to Goldsky (once the Goldsky CLI is installed) using goldsky subgraph deploy <name>/<version> --path .
For more, read the step-by-step guide.--from-abi
flag in the command above instead of --path
. For more, read the no-code subgraphs guide.Fluent’s Devnet and Testnet are currently available at the chain slugs fluent-public-devnet
and fluent-testnet
.
Mirror pipelines allow users to replicate data into their own infrastructure (any of the supported sinks) in real time, including both subgraphs as well as chain-level datasets (ie. blocks, logs, transactions, traces). Pipelines can be deployed on Goldsky in 3 ways:
goldsky pipeline create <pipeline-name>
. This will kick off a guided flow with the first step to choose the dataset type (project subgraph, community subgraph, or chain-level dataset). You'll then be guided through adding some simple filters to this data and where to persist the results.goldsky pipeline create <pipeline-name> --definition-path <path-to-file>
. 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.Can't find what you're looking for? Reach out to us at support@goldsky.com for help.