@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.
- package/README.md +39 -0
- 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/
|