CCDScan is a full blockchain explorer on Concordium.
It consists of two main parts:
- backend/ Backend built in Rust. It reads data directly from a blockchain node via gRPC, ingests it into a PostgreSQL database, then serves it to any consumer from a GraphQL API.
- frontend/ A server-side rendered single page app written in Vue and TypeScript, which consumes data from the GraphQL endpoint exposed by the backend.
The project contains different release pipelines.
- Create a PR that bumps the backend version in the
backend/Cargo.toml
file and updates the backendchangelog
and merge it e.g. backend release. - Checkout the main branch locally.
- Tag the branch e.g.:
git tag ccdscan-backend/0.1.25
- Push the tag:
git push --tags
This will trigger a new release pipeline which needs to be approved before the image is published to docker hub indexer and graphQL API.
- Create a PR that bumps the frontend version in the
frontend/package.json
file and updates the frontendchangelog
and merge it e.g. frontend release. - Checkout the main branch locally.
- Tag the branch e.g.:
git tag frontend/1.7.7
- Push the tag:
git push --tags
This will trigger a new release pipeline which needs to be approved before the image is published to docker hub frontend.