Introduction

What is Goldsky?

Goldsky provides real-time access to data stored on blockchains and lets you transform, enhance, and integrate that data with real-time streams to meet your custom needs.

You no longer have to:
❌ Maintain your own RPC nodes
❌ Deal with data inconsistencies
❌ Work with limited pre-defined APIs
❌ Wait for data to be available

Instead, with Goldsky you:
✅ Work with real-time data streams
✅ Transform data with SQL
✅ Combine streams, create alerts, and more
✅ Access your data with GraphQL, via webhooks, or integrate it into your ETL process

The Subgraph API

In its most basic form, Goldsky acts as a drop-in replacement for The Graph Subgraph API. Define your subgraph as a source, let Goldsky index it, and reliably access the data via GraphQL API with low latency.

No schema changes. No code changes.

To ensure industry-leading reliability and latency, we can provision independent infrastructure for individual enterprise customers. You upload your subgraph, we take care of everything under the hood so you can invest time working on your project.

To get started:

  1. Install the Goldsky CLI

    npm install -g @goldskycom/cli
    
  2. Deploy your subgraph

    cd <your-subgraph-directory>
    goldsky subgraph deploy --name "my-subgraph" --version-label "1.0.0"
    
  3. Access data

    # (optional) View all your deployed subgraphs
    goldsky subgraph list
    
    # View details, including GraphQL endpoint, of a particular subgraph
    goldsky subgraph list --name "my-subgraph" --details
    
    # Open the "GraphQL API" link in your browser to access your data
    

Goldsky Streams

🚧

Closed Beta

Goldsky Streams is available in closed beta and currently used by some of our enterprise customers.

Please sign up at https://goldsky.com and fill in the closed beta access form if your project needs access to real-time web3 blockchain data. We will contact you to discuss your onboarding journey.

In many cases, projects have more complex data requirements than accessing subgraph data via GraphQL API. This is where Goldsky Streams comes into play.

To accommodate for your project’s data needs, you can define transformations as seen in the following diagram:

Data transformations are written in SQL. You can filter, aggregate, join, group, etc. your data in whatever shape & form that fits your needs. Individual streams can be used as input for further streams, allowing you to create complex directed acyclic graphs (DAGs).

🚀

Streams are updated in real-time

As data changes on the blockchain, each stream is kept up-to-date with the latest block with low latency.
This allows you to use your streams for transactional use cases within your applications.

To learn more about transformations, please see Transform Data


What’s Next
Did this page help you?