Skip to main content

@effectstream/npm-midnight-proof-server

Package: @effectstream/npm-midnight-proof-server · Source

NPM wrapper around the Midnight proof-server binary. Installs a pinned version into node_modules/.bin/npm-midnight-proof-server so the EffectStream orchestrator can boot the proving sidecar that the Midnight node depends on.

Install

bun add @effectstream/npm-midnight-proof-server
# or
npm install @effectstream/npm-midnight-proof-server

Standalone usage

# Start the proof server (downloads the binary on first run)
bunx npm-midnight-proof-server

# Clean / re-download the cached binary
bunx npm-midnight-proof-server --clean-binaries
bunx npm-midnight-proof-server --only-clean

Inside EffectStream

The orchestrator's Midnight step starts the proof server together with @effectstream/npm-midnight-node. ZK-heavy templates and tests rely on it implicitly — you don't import this package from app code, you just add it to the orchestrator's dependency graph (which the templates already do).