Substreams:PubSub
Last updated
Was this helpful?
Last updated
Was this helpful?
The PubSub integration allows you to send blockchain data to a topic by emitting a specific Protobuf object in your Substreams: .
If you are new Substreams, refer to the Develop Substreams section to learn about the main pieces of building a Substreams from scratch.
Clone the GitHub repository.
Install the PubSub CLI. This CLI will help in deploying your Substreams to the PubSub Service.
Create a topic in the Google PubSub Service, where the data of your Substreams will be sent.
Deploy your Substreams by using the PubSub CLI:
You can find some Substreams examples in the examples
directory of the repository.