Publishing a Substreams Package
Last updated
Last updated
In this guide, you'll learn how to publish a Substreams package to the Substreams Registry.
You must have the Substreams CLI installed.
You must have a Substreams package (.spkg
) that you want to publish.
substreams publish
CommandIn a command-line terminal, run substreams publish <YOUR-PACKAGE>.spkg
.
If you do not have a token set in your computer, navigate to https://substreams.dev/me
.
In the Substreams Registry, log in with your GitHub account.
Create a new token and copy it in a safe location.
Back in the Substreams CLI, paste the previously generated token.
Lastly, confirm that you want to publish the package.
That's it! You have succesfully published a package in the Substreams registry.