-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
101d077
commit cc8b030
Showing
1 changed file
with
6 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,13 @@ | ||
# BlockMeta Service | ||
## BlockMeta Service | ||
|
||
This repository provides all the keys to run a block meta service that provides high-level data on blocks, for any blockchain supported by StreamingFast. | ||
To make such a service, you will have to extract block meta data first, store them in a kv store and then serve it. | ||
To make such a service, extract block meta data first, store them in a kv store and then serve it. | ||
|
||
## Extracting and Storing data | ||
### Extracting and Storing data | ||
|
||
To extract block meta data, you will need a `substreams_spkg_path`. In order to get this package path, please visit the [substreams README.md](./substreams/README.md). | ||
Then you will need to run a substreams-sink-kv server, please refer to the [substreams-sink-kv](https://github.com/streamingfast/substreams-sink-kv) | ||
repository that explains how to do so. | ||
- Run a [substreams-sink-kv](https://github.com/streamingfast/substreams-sink-kv) server, providing a [substreams_spkg_path](./substreams/README.md). | ||
|
||
This server will then be able to extract block meta data from the substreams and store it in a key-value store. | ||
### Serving data | ||
|
||
## Serving data | ||
|
||
To serve block meta data, first be sure you have a substreams-sink-kv server running. | ||
Then, you can run a block-meta server referring to the [block-meta documentation](./server/README.md). | ||
- Run a [block-meta server](./server/README.md), connecting this server to the *substreams-sink-kv* running server. | ||
|