- From source code
- Migrating from The Graph or any other subgraph host
- Via instant, no-code subgraphs
Install Goldsky's CLI and log in
Install Goldsky's 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 login
and paste your API key. -
Now that you are logged in, run
goldsky
to get started:
From source code
If you’ve developed your own subgraph, you can deploy it from the source. In our example we’ll work off of a clone of the POAP subgraph. First we need to clone the Git repo.README.md
or look at the package.json
for hints as to the correct build commands. Usually it’s a two step process, but since POAP is deployed on multiple chains, there’s one extra step at the start to generate the correct data from templates.
From The Graph or another host
For a detailed walkthrough, follow our dedicated
guide.
Via instant, no-code subgraphs
For a detailed walkthrough, follow our dedicated
guide.