Skip to main content
FlowGuard includes an executor scaffold in backend/executor/ for automated task polling and transaction construction.

Important Scope Note

There is currently no public customer-facing REST API for the executor service itself. It is an operator-run worker process.

What Exists Today

  • Executor codebase: backend/executor/
  • Poll loop and task scanning logic
  • Transaction builder logic for schedule and proposal flows
  • Environment-driven configuration

Prototype Configuration

The executor currently reads these environment values:
VariablePurpose
DATABASE_URLDatabase connection
NETWORKchipnet or mainnet
ELECTRUM_SERVERElectrum server hostname
POLL_INTERVALPoll interval in ms
MAX_GAS_PRICEFee ceiling used by builder
EXECUTOR_PRIVATE_KEYOptional executor signing key

Production Guidance

  • Do not assume autonomous payout execution unless your own deployment has validated and enabled executor behavior.
  • Treat executor automation as optional infrastructure that must be operated and monitored by your team.
  • Always preserve manual claim/execute paths in UI and ops playbooks.