@effectstream/npm-midnight-proof-server 0.100.13 → 0.100.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +39 -0
  2. package/package.json +1 -1
package/README.md ADDED
@@ -0,0 +1,39 @@
1
+ # @effectstream/npm-midnight-proof-server
2
+
3
+ NPM wrapper around the Midnight proof-server binary. Installs a pinned
4
+ version into `node_modules/.bin/npm-midnight-proof-server` so the
5
+ EffectStream orchestrator can boot the proving sidecar that the
6
+ Midnight node depends on.
7
+
8
+ ## Install
9
+
10
+ ```bash
11
+ bun add @effectstream/npm-midnight-proof-server
12
+ # or
13
+ npm install @effectstream/npm-midnight-proof-server
14
+ ```
15
+
16
+ ## Standalone usage
17
+
18
+ ```bash
19
+ # Start the proof server (downloads the binary on first run)
20
+ bunx npm-midnight-proof-server
21
+
22
+ # Clean / re-download the cached binary
23
+ bunx npm-midnight-proof-server --clean-binaries
24
+ bunx npm-midnight-proof-server --only-clean
25
+ ```
26
+
27
+ ## Inside EffectStream
28
+
29
+ The orchestrator's Midnight step starts the proof server together with
30
+ `@effectstream/npm-midnight-node`. ZK-heavy templates and tests rely on
31
+ it implicitly — you don't import this package from app code, you just
32
+ add it to the orchestrator's dependency graph (which the templates
33
+ already do).
34
+
35
+ ## Links
36
+
37
+ - Docs: https://effectstream.github.io/docs/packages/binaries/midnight-proof-server
38
+ - Source: https://github.com/PaimaStudios/paima-engine/tree/main/packages/binaries/midnight-proof-server
39
+ - Upstream Midnight: https://midnight.network/
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@effectstream/npm-midnight-proof-server",
3
- "version": "0.100.13",
3
+ "version": "0.100.15",
4
4
  "description": "A wrapper for the Midnight proof server binary",
5
5
  "main": "index.js",
6
6
  "bin": {