A Rust library to synchronize Substreams manifest data ingestion to PostgreSQL.
copy your STREAMINGFAST_KEY
into a .env
file. (You can get an API key on https://app.streamingfast.io/)
then run source ./firehose_token.sh
to get SUBSTREAMS_API_TOKEN
set in your local shell.
Requires docker
and docker-compose
installed.
Run PostGreSQL and gpweb as a monitoring tool:
docker compose up
Open http://localhost:8081
to see the PostgreSQL
cargo build
todo: setup demo folder with first integrated test
Generate a Substreams .spkg file, using a specific manifest specification and using the command
substreams pack substreams_manifest.yaml
.
Copy and paste the generated .spkg file to the current repo source folder.