Overview
Fogo is a purpose-built Layer 1 blockchain designed for high-performance trading with sub-40ms blocks, sub-second confirmation, and SVM L1 compatibility. Built on a custom Firedancer client, Fogo delivers the speed and reliability demanded by modern finance.Partnership
Goldsky has partnered with to make our product available to the ecosystem and provide dedicated support for . Below in the overview of each product, the “Partner Sponsored” tag indicates that usage of that product is fully covered by the chain, if approved by the team. Where this perk is available, please reach out to the developer relations team for an access code to the private signup form.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.Install Goldsky CLI and log in
Install Goldsky CLI and log in
-
Install the Goldsky CLI:
For macOS/Linux:
For Windows:Windows users need to have Node.js and npm installed first. Download from nodejs.org if not already installed.
- 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 loginand paste your API key. -
Now that you are logged in, run
goldskyto get started:
Install Turbo CLI extension
Install Turbo CLI extension
If you already have the Goldsky CLI installed, install the Turbo extension by running:This will automatically install the Turbo extension. Verify the installation:For a complete reference of all Turbo CLI commands, see the CLI Reference guide.
Make sure to update the CLI to the latest version before running Turbo commands:
curl https://goldsky.com | shInstall Compose CLI extension
Install Compose CLI extension
If you already have the Goldsky CLI installed, install the Compose extension by running:To update to the latest version:For more details, see the Compose quickstart guide.
Subgraphs
Mirror
Turbo
Working with Fogo datasets
Goldsky provides real-time streaming of Fogo datasets, including all historical data. The following datasets are currently available:| Dataset | Description |
|---|---|
| Transactions with Instructions | Enriched transaction data including instructions, accounts, balance changes, and metadata for the block. |
| Rewards | Records of rewards distributed to validators for securing and validating the network. |
| Blocks | Metadata for each block on the chain including hashes, transaction count, slot and leader rewards. |
Deploying Fogo pipelines
Turbo pipelines are defined using YAML configuration files and deployed via the Goldsky CLI. Here’s the workflow:- Create a pipeline configuration file - Define your sources, transforms, and sinks in a YAML file
- Validate your configuration - Run
goldsky turbo validate fogo-pipeline.yamlto check for errors - Deploy the pipeline - Run
goldsky turbo apply -f fogo-pipeline.yamlto deploy - Monitor your pipeline - Use
goldsky turbo logs fogo-pipeline.yamlto view logs andgoldsky turbo inspect fogo-pipeline.yamlto see live data
Remember to first create a Secret in order for Turbo Pipelines to be able to write the data into the database of your choice.
Example pipeline configuration
Here’s an example configuration file for streaming Fogo transactions with instructions:fogo-transactions.yaml
- Omit
start_blockto start from the latest block (recommended for new pipelines) - Set a specific block number (e.g.,
start_block: 1000000) to process from that block forward - Use for historical processing when you need data from a specific point in time
goldsky turbo apply -f fogo-transactions.yaml to deploy the pipeline.