@zktable/prover-web 0.1.0 → 0.1.1
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/LICENSE +1 -1
- package/README.md +30 -0
- package/package.json +8 -3
package/LICENSE
CHANGED
package/README.md
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# @zktable/prover-web
|
|
2
|
+
|
|
3
|
+
Browser-side UltraHonk prover helpers for zkTable `board` moves. Wraps Noir
|
|
4
|
+
(`@noir-lang/noir_js`) and Barretenberg (`@aztec/bb.js`) so a human playing a
|
|
5
|
+
hidden role can generate a real proof client-side — the secret never leaves the
|
|
6
|
+
browser.
|
|
7
|
+
|
|
8
|
+
Part of [zkTable](https://github.com/freedanjeremiah/zktable) — a TypeScript
|
|
9
|
+
SDK for building trustless, privacy-preserving board games on Stellar.
|
|
10
|
+
|
|
11
|
+
## Install
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
npm install @zktable/prover-web
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## What's inside
|
|
18
|
+
|
|
19
|
+
- Helpers to compile/execute the `move_along` circuit witness and produce an
|
|
20
|
+
UltraHonk proof + public inputs in the browser.
|
|
21
|
+
- The proving half of the pipeline; verification always happens on-chain in the
|
|
22
|
+
Soroban referee.
|
|
23
|
+
|
|
24
|
+
> Proving happens off-chain (here, in the browser); verifying happens on-chain,
|
|
25
|
+
> always. The referee never sees a secret — only a proof that a
|
|
26
|
+
> secret-dependent move was legal.
|
|
27
|
+
|
|
28
|
+
## License
|
|
29
|
+
|
|
30
|
+
MIT — see [LICENSE](https://github.com/freedanjeremiah/zktable/blob/main/LICENSE).
|
package/package.json
CHANGED
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zktable/prover-web",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Browser-side UltraHonk prover helpers for zkTable board moves",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
|
-
"url": "git+https://github.com/
|
|
9
|
+
"url": "git+https://github.com/freedanjeremiah/zktable.git",
|
|
10
10
|
"directory": "packages/prover-web"
|
|
11
11
|
},
|
|
12
|
+
"homepage": "https://github.com/freedanjeremiah/zktable#readme",
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/freedanjeremiah/zktable/issues"
|
|
15
|
+
},
|
|
12
16
|
"publishConfig": {
|
|
13
17
|
"access": "public"
|
|
14
18
|
},
|
|
@@ -23,7 +27,8 @@
|
|
|
23
27
|
}
|
|
24
28
|
},
|
|
25
29
|
"files": [
|
|
26
|
-
"dist"
|
|
30
|
+
"dist",
|
|
31
|
+
"README.md"
|
|
27
32
|
],
|
|
28
33
|
"dependencies": {
|
|
29
34
|
"@aztec/bb.js": "0.87.0",
|