Skip to content

chore: add spo-indexer docs, clean up unused NATS config and misleading blockfrost placeholder#754

Merged
cosmir17 merged 3 commits intomainfrom
chore/spo-indexer-docs-and-config
Feb 5, 2026
Merged

chore: add spo-indexer docs, clean up unused NATS config and misleading blockfrost placeholder#754
cosmir17 merged 3 commits intomainfrom
chore/spo-indexer-docs-and-config

Conversation

@cosmir17
Copy link
Contributor

@cosmir17 cosmir17 commented Feb 5, 2026

Summary

  • Add spo-indexer configuration section to README.md (env vars table, Docker image link, Blockfrost API key description)
  • Add APP__INFRA__NODE__BLOCKFROST_ID to the envrc example (commented out, only needed for spo-indexer)
  • Remove unused pub_sub and ledger_state_storage from spo-indexer/config.yaml (spo-indexer doesn't use NATS)
  • Replace ${BLOCKFROST_PROJECT_ID} placeholder with empty default and comment pointing to the env var
  • Remove NATS dependency from justfile run-spo-indexer recipe

Context
The pub_sub, ledger_state_storage sections in config.yaml and the APP__INFRA__PUB_SUB__URL in the justfile were carried over from ProtoFire's original SPO integration (PR #526). spo-indexer does not use NATS. The ${BLOCKFROST_PROJECT_ID} in config.yaml was also from ProtoFire — it looks like shell variable substitution but figment doesn't expand it; the actual mechanism is the APP__INFRA__NODE__BLOCKFROST_ID env var override.

@cosmir17 cosmir17 self-assigned this Feb 5, 2026
@cosmir17 cosmir17 requested a review from a team as a code owner February 5, 2026 11:00
Copy link
Collaborator

@hseeberger hseeberger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One change, please, then merge.

reconnect_max_delay: "10s" # 10ms, 100ms, 1s, 10s
reconnect_max_attempts: 30 # Roughly 5m
blockfrost_id: "${BLOCKFROST_PROJECT_ID}"
blockfrost_id: "" # provide via APP__INFRA__NODE__BLOCKFROST_ID env var
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove this line altogether, like we do for other secrets. Also no comment. Consistency.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@cosmir17 cosmir17 enabled auto-merge (squash) February 5, 2026 11:07
@cosmir17 cosmir17 merged commit 69dd875 into main Feb 5, 2026
20 checks passed
@cosmir17 cosmir17 deleted the chore/spo-indexer-docs-and-config branch February 5, 2026 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants