Skip to content
This repository was archived by the owner on Jun 15, 2026. It is now read-only.

About

Peripheral service to fetch blocks to be later fed into transaction processing and preloading services for snapshotter-core to consume and compute snapshots over

Resources

Code of conduct

Contributing

Stars

0 stars

Watchers

3 watching

Forks

Repository files navigation

snapshotter-periphery-blockfetcher

Local Testing Instructions

To set up and run the block fetcher service locally, follow these steps:

Prerequisites

  • Ensure you have Docker and Docker Compose installed on your machine.

Setup

  1. Clone the Repository:

    git clone <repository-url>
    cd snapshotter-periphery-blockfetcher
  2. Create a .env File:

    • Copy the .env.example file to .env and fill in the necessary environment variables.
    cp .env.example .env
  3. Build and Start the Services:

    • Use Docker Compose to build and start the services. The local profile will include the Redis service for local testing.
    docker-compose --profile local up --build
  4. Access Logs:

    • Logs are available in the ./logs directory. You can also view logs in real-time using:
    docker-compose logs -f
  5. Shut Down the Services:

    • To stop the services, use:
    docker-compose down

Notes

  • The local profile includes a Redis service for testing purposes. In production, ensure that your configuration points to an external Redis service.
  • Ensure that all necessary environment variables are set in the .env file for the application to function correctly.

About

Peripheral service to fetch blocks to be later fed into transaction processing and preloading services for snapshotter-core to consume and compute snapshots over

Resources

Code of conduct

Contributing

Stars

0 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages