local-webhooks

ZKsync webhook service for local testing. Runs the webhook service and Postgres via Docker Compose, with a configurable webhook receiver target.

Prerequisites

Quickstart

1) Copy the env file and fill in required values:

cp .env-example .env

Set:

2) Log in to Quay and start the stack:

make login
make up

3) (Optional) Run a local receiver:

make mock-server

Endpoints

Key routes:

Documentation

Run make docs-serve for the full docs site, including API examples (default: http://localhost:3000).

Configuration

Common commands

make up        # start services
make down      # stop services
make reset     # stop and remove data volume
make logs      # follow webhook-service logs
make status    # container status
make get-token ADDRESS=0xYourAddress
make docs-serve
make docs-build