Prerequisites
Before starting, ensure you have:Docker
Docker Desktop or Docker Engine
Rust
Rust toolchain 1.70+
Git
Git for cloning repos
Installation Commands
- macOS
- Linux
- Windows (WSL2)
Quick Start with Docker
The fastest way to run boop locally:| Service | URL | Purpose |
|---|---|---|
| API Gateway | http://localhost:40401 | Main API endpoint |
| MPC Gateway | http://localhost:40402 | Biometric processing |
| Bridge Service | ws://localhost:40403 | WebSocket connections |
| Ledger | http://localhost:40404 | Transaction log |
| Attribute Service | http://localhost:40405 | User attributes |
| Grafana | http://localhost:3000 | Monitoring dashboard |
Running Mock Services
Mock PVS (Palm Scanner)
The mock PVS simulates a palm scanner device:Access the web interface at http://localhost:8081 for easy testing
Mock Vendor
Simulates a vendor backend:Mock User
Simulates user actions:Complete Test Flow
Follow these steps to test a complete authentication flow:1
Start Core Services
2
Start Mock Vendor
3
Start Mock PVS Web UI
4
Configure PVS
5
Register Test User
Open http://localhost:8081, click “Register”, then:
6
Test Authentication
In the web UI, click “Payment” to simulate authentication
Using Seeds for Deterministic Testing
Seeds ensure consistent palm patterns between registration and authentication:Database Management
Reset Databases
Access Databases
Monitoring & Debugging
View Logs
Grafana Dashboard
- Open http://localhost:3000
- Default credentials: admin/admin
- View pre-configured dashboards
Debug Mode
Set environment variables for verbose logging:Common Issues
Port already in use
Port already in use
Docker not starting
Docker not starting
Mock PVS web UI not loading
Mock PVS web UI not loading
Authentication failing
Authentication failing
Ensure you use the same seed for registration and authentication: