@zktable/coup-lite 0.1.0
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 +21 -0
- package/dist/chunk-U77RKQUV.js +56 -0
- package/dist/index.cjs +1236 -0
- package/dist/index.d.cts +328 -0
- package/dist/index.d.ts +328 -0
- package/dist/index.js +1113 -0
- package/dist/paths-RB454MTB.js +38 -0
- package/package.json +43 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CARD_MEMBERSHIP_CIRCUIT_DIR,
|
|
3
|
+
CARD_MEMBERSHIP_TARGET_DIR,
|
|
4
|
+
CONTRACTS_DIR,
|
|
5
|
+
CONTRACTS_WASM_DIR,
|
|
6
|
+
DEFAULT_BB_BIN,
|
|
7
|
+
DEFAULT_BYTECODE_PATH,
|
|
8
|
+
DEFAULT_COUP_REFEREE_WASM,
|
|
9
|
+
DEFAULT_NARGO_BIN,
|
|
10
|
+
DEFAULT_SHUFFLE_VK_PATH,
|
|
11
|
+
DEFAULT_STELLAR_BIN,
|
|
12
|
+
DEFAULT_VERIFIER_WASM,
|
|
13
|
+
DEFAULT_VK_PATH,
|
|
14
|
+
GRAPH_TOOLS_BIN,
|
|
15
|
+
REPO_ROOT,
|
|
16
|
+
VALID_SHUFFLE_CIRCUIT_DIR,
|
|
17
|
+
VALID_SHUFFLE_TARGET_DIR,
|
|
18
|
+
toolEnv
|
|
19
|
+
} from "./chunk-U77RKQUV.js";
|
|
20
|
+
export {
|
|
21
|
+
CARD_MEMBERSHIP_CIRCUIT_DIR,
|
|
22
|
+
CARD_MEMBERSHIP_TARGET_DIR,
|
|
23
|
+
CONTRACTS_DIR,
|
|
24
|
+
CONTRACTS_WASM_DIR,
|
|
25
|
+
DEFAULT_BB_BIN,
|
|
26
|
+
DEFAULT_BYTECODE_PATH,
|
|
27
|
+
DEFAULT_COUP_REFEREE_WASM,
|
|
28
|
+
DEFAULT_NARGO_BIN,
|
|
29
|
+
DEFAULT_SHUFFLE_VK_PATH,
|
|
30
|
+
DEFAULT_STELLAR_BIN,
|
|
31
|
+
DEFAULT_VERIFIER_WASM,
|
|
32
|
+
DEFAULT_VK_PATH,
|
|
33
|
+
GRAPH_TOOLS_BIN,
|
|
34
|
+
REPO_ROOT,
|
|
35
|
+
VALID_SHUFFLE_CIRCUIT_DIR,
|
|
36
|
+
VALID_SHUFFLE_TARGET_DIR,
|
|
37
|
+
toolEnv
|
|
38
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@zktable/coup-lite",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Coup-lite: hidden 2-card hands + public claims + prove-hold-or-bluff challenges, the zkTable `deck` module showcase (defineGame + real ZK-verified card_membership proofs)",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/Philotheephilix/zkTable.git",
|
|
10
|
+
"directory": "games/coup-lite"
|
|
11
|
+
},
|
|
12
|
+
"publishConfig": {
|
|
13
|
+
"access": "public"
|
|
14
|
+
},
|
|
15
|
+
"main": "./dist/index.cjs",
|
|
16
|
+
"module": "./dist/index.js",
|
|
17
|
+
"types": "./dist/index.d.ts",
|
|
18
|
+
"exports": {
|
|
19
|
+
".": {
|
|
20
|
+
"import": "./dist/index.js",
|
|
21
|
+
"require": "./dist/index.cjs",
|
|
22
|
+
"types": "./dist/index.d.ts"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"files": [
|
|
26
|
+
"dist"
|
|
27
|
+
],
|
|
28
|
+
"dependencies": {
|
|
29
|
+
"@zktable/core": "0.1.0"
|
|
30
|
+
},
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"tsx": "^4.19.2"
|
|
33
|
+
},
|
|
34
|
+
"engines": {
|
|
35
|
+
"node": ">=20"
|
|
36
|
+
},
|
|
37
|
+
"scripts": {
|
|
38
|
+
"build": "tsup src/index.ts --format esm,cjs --dts",
|
|
39
|
+
"test": "vitest run",
|
|
40
|
+
"typecheck": "tsc --noEmit",
|
|
41
|
+
"play": "tsx src/play.ts"
|
|
42
|
+
}
|
|
43
|
+
}
|