mirror of
https://github.com/logos-messaging/nim-chat-poc.git
synced 2026-07-05 07:59:32 +00:00
End-to-end simulation: 4 mix nodes with RLN spam protection, LEZ sequencer, gifter service, and two logos-chat-module clients exchanging double-ratchet-encrypted messages through 3-hop Sphinx onion routes. Simulation scripts: - run_simulation.sh: orchestrates sequencer, mix nodes, chat clients, with poll-based readiness checks and 15 verification checks - setup_and_run.sh: one-shot build + run for fresh clones - run_in_docker.sh: Docker-based Linux testing with pre-built modules - README.md: configuration, troubleshooting, architecture guide Configurable via SIM_* env vars (ports, timeouts, log level). Cross-platform: macOS native + Linux via Docker. Docker image (Dockerfile.sim) uses multi-stage build: - Stage 1: builds all LEZ modules, sequencer, liblogoschat, chat-module - Stage 2: copies only runtime nix closure (~1.9GB) + output artifacts - Pre-built modules are symlinked at runtime, skipping build_all.sh