@lightprotocol/zk-compression-cli 0.28.0-beta.10 → 0.28.0-beta.12
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/dist/utils/constants.d.ts +2 -2
- package/dist/utils/constants.js +2 -2
- package/oclif.manifest.json +121 -121
- package/package.json +3 -3
|
@@ -14,8 +14,8 @@ export declare const SURFPOOL_PROCESS_NAME = "surfpool";
|
|
|
14
14
|
export declare const LIGHT_PROVER_PROCESS_NAME = "light-prover";
|
|
15
15
|
export declare const INDEXER_PROCESS_NAME = "photon";
|
|
16
16
|
export declare const FORESTER_PROCESS_NAME = "forester";
|
|
17
|
-
export declare const SURFPOOL_VERSION = "1.
|
|
18
|
-
export declare const SURFPOOL_RELEASE_TAG = "v1.
|
|
17
|
+
export declare const SURFPOOL_VERSION = "1.1.1";
|
|
18
|
+
export declare const SURFPOOL_RELEASE_TAG = "v1.1.1-light";
|
|
19
19
|
export declare const LIGHT_PROTOCOL_PROGRAMS_DIR_ENV = "LIGHT_PROTOCOL_PROGRAMS_DIR";
|
|
20
20
|
export declare const BASE_PATH = "../../bin/";
|
|
21
21
|
export declare const PROGRAM_ID = "Fg6PaFpoGXkYsidMpWTK6W2BeZ7FEfcYkg476zPFsLnS";
|
package/dist/utils/constants.js
CHANGED
|
@@ -19,8 +19,8 @@ exports.SURFPOOL_PROCESS_NAME = "surfpool";
|
|
|
19
19
|
exports.LIGHT_PROVER_PROCESS_NAME = "light-prover";
|
|
20
20
|
exports.INDEXER_PROCESS_NAME = "photon";
|
|
21
21
|
exports.FORESTER_PROCESS_NAME = "forester";
|
|
22
|
-
exports.SURFPOOL_VERSION = "1.
|
|
23
|
-
exports.SURFPOOL_RELEASE_TAG = "v1.
|
|
22
|
+
exports.SURFPOOL_VERSION = "1.1.1";
|
|
23
|
+
exports.SURFPOOL_RELEASE_TAG = "v1.1.1-light";
|
|
24
24
|
// PHOTON_VERSION, PHOTON_GIT_COMMIT, and PHOTON_GIT_REPO are auto-generated
|
|
25
25
|
// from the external/photon submodule at build time. See photonVersion.generated.ts.
|
|
26
26
|
exports.LIGHT_PROTOCOL_PROGRAMS_DIR_ENV = "LIGHT_PROTOCOL_PROGRAMS_DIR";
|
package/oclif.manifest.json
CHANGED
|
@@ -131,56 +131,60 @@
|
|
|
131
131
|
"index.js"
|
|
132
132
|
]
|
|
133
133
|
},
|
|
134
|
-
"
|
|
134
|
+
"config:config": {
|
|
135
135
|
"aliases": [],
|
|
136
136
|
"args": {},
|
|
137
|
+
"description": "Initialize or update the configuration values. The default config path is ~/.config/light/config.json you can set up a custom path with an environment variable export LIGHT_PROTOCOL_CONFIG=path/to/config.json",
|
|
137
138
|
"examples": [
|
|
138
|
-
"$ light
|
|
139
|
+
"$ light config --solanaRpcUrl https://solana-api.example.com"
|
|
139
140
|
],
|
|
140
141
|
"flags": {
|
|
141
|
-
"
|
|
142
|
-
"description": "
|
|
143
|
-
"name": "
|
|
144
|
-
"required": true,
|
|
142
|
+
"solanaRpcUrl": {
|
|
143
|
+
"description": "Solana RPC url",
|
|
144
|
+
"name": "solanaRpcUrl",
|
|
145
145
|
"hasDynamicHelp": false,
|
|
146
146
|
"multiple": false,
|
|
147
147
|
"type": "option"
|
|
148
148
|
},
|
|
149
|
-
"
|
|
150
|
-
"description": "
|
|
151
|
-
"name": "
|
|
152
|
-
"required": true,
|
|
149
|
+
"indexerUrl": {
|
|
150
|
+
"description": "Indexer url",
|
|
151
|
+
"name": "indexerUrl",
|
|
153
152
|
"hasDynamicHelp": false,
|
|
154
153
|
"multiple": false,
|
|
155
154
|
"type": "option"
|
|
156
155
|
},
|
|
157
|
-
"
|
|
158
|
-
"description": "
|
|
159
|
-
"name": "
|
|
160
|
-
"required": true,
|
|
156
|
+
"proverUrl": {
|
|
157
|
+
"description": "Prover url",
|
|
158
|
+
"name": "proverUrl",
|
|
161
159
|
"hasDynamicHelp": false,
|
|
162
160
|
"multiple": false,
|
|
163
161
|
"type": "option"
|
|
162
|
+
},
|
|
163
|
+
"get": {
|
|
164
|
+
"description": "Gets the current config values",
|
|
165
|
+
"name": "get",
|
|
166
|
+
"required": false,
|
|
167
|
+
"allowNo": false,
|
|
168
|
+
"type": "boolean"
|
|
164
169
|
}
|
|
165
170
|
},
|
|
166
171
|
"hasDynamicHelp": false,
|
|
167
172
|
"hiddenAliases": [],
|
|
168
|
-
"id": "
|
|
173
|
+
"id": "config:config",
|
|
169
174
|
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
170
175
|
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
171
176
|
"pluginType": "core",
|
|
172
177
|
"strict": true,
|
|
173
|
-
"summary": "Compress SPL tokens.",
|
|
174
178
|
"enableJsonFlag": false,
|
|
175
179
|
"isESM": false,
|
|
176
180
|
"relativePath": [
|
|
177
181
|
"dist",
|
|
178
182
|
"commands",
|
|
179
|
-
"
|
|
183
|
+
"config",
|
|
180
184
|
"index.js"
|
|
181
185
|
]
|
|
182
186
|
},
|
|
183
|
-
"config
|
|
187
|
+
"config": {
|
|
184
188
|
"aliases": [],
|
|
185
189
|
"args": {},
|
|
186
190
|
"description": "Initialize or update the configuration values. The default config path is ~/.config/light/config.json you can set up a custom path with an environment variable export LIGHT_PROTOCOL_CONFIG=path/to/config.json",
|
|
@@ -219,7 +223,7 @@
|
|
|
219
223
|
},
|
|
220
224
|
"hasDynamicHelp": false,
|
|
221
225
|
"hiddenAliases": [],
|
|
222
|
-
"id": "config
|
|
226
|
+
"id": "config",
|
|
223
227
|
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
224
228
|
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
225
229
|
"pluginType": "core",
|
|
@@ -233,56 +237,52 @@
|
|
|
233
237
|
"index.js"
|
|
234
238
|
]
|
|
235
239
|
},
|
|
236
|
-
"
|
|
240
|
+
"compress-spl": {
|
|
237
241
|
"aliases": [],
|
|
238
242
|
"args": {},
|
|
239
|
-
"description": "Initialize or update the configuration values. The default config path is ~/.config/light/config.json you can set up a custom path with an environment variable export LIGHT_PROTOCOL_CONFIG=path/to/config.json",
|
|
240
243
|
"examples": [
|
|
241
|
-
"$ light
|
|
244
|
+
"$ light compress-spl --mint PublicKey --to PublicKey --amount 10"
|
|
242
245
|
],
|
|
243
246
|
"flags": {
|
|
244
|
-
"
|
|
245
|
-
"description": "
|
|
246
|
-
"name": "
|
|
247
|
+
"mint": {
|
|
248
|
+
"description": "Specify the mint address.",
|
|
249
|
+
"name": "mint",
|
|
250
|
+
"required": true,
|
|
247
251
|
"hasDynamicHelp": false,
|
|
248
252
|
"multiple": false,
|
|
249
253
|
"type": "option"
|
|
250
254
|
},
|
|
251
|
-
"
|
|
252
|
-
"description": "
|
|
253
|
-
"name": "
|
|
255
|
+
"to": {
|
|
256
|
+
"description": "Specify the recipient address (owner of destination compressed token account).",
|
|
257
|
+
"name": "to",
|
|
258
|
+
"required": true,
|
|
254
259
|
"hasDynamicHelp": false,
|
|
255
260
|
"multiple": false,
|
|
256
261
|
"type": "option"
|
|
257
262
|
},
|
|
258
|
-
"
|
|
259
|
-
"description": "
|
|
260
|
-
"name": "
|
|
263
|
+
"amount": {
|
|
264
|
+
"description": "Amount to compress, in tokens.",
|
|
265
|
+
"name": "amount",
|
|
266
|
+
"required": true,
|
|
261
267
|
"hasDynamicHelp": false,
|
|
262
268
|
"multiple": false,
|
|
263
269
|
"type": "option"
|
|
264
|
-
},
|
|
265
|
-
"get": {
|
|
266
|
-
"description": "Gets the current config values",
|
|
267
|
-
"name": "get",
|
|
268
|
-
"required": false,
|
|
269
|
-
"allowNo": false,
|
|
270
|
-
"type": "boolean"
|
|
271
270
|
}
|
|
272
271
|
},
|
|
273
272
|
"hasDynamicHelp": false,
|
|
274
273
|
"hiddenAliases": [],
|
|
275
|
-
"id": "
|
|
274
|
+
"id": "compress-spl",
|
|
276
275
|
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
277
276
|
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
278
277
|
"pluginType": "core",
|
|
279
278
|
"strict": true,
|
|
279
|
+
"summary": "Compress SPL tokens.",
|
|
280
280
|
"enableJsonFlag": false,
|
|
281
281
|
"isESM": false,
|
|
282
282
|
"relativePath": [
|
|
283
283
|
"dist",
|
|
284
284
|
"commands",
|
|
285
|
-
"
|
|
285
|
+
"compress-spl",
|
|
286
286
|
"index.js"
|
|
287
287
|
]
|
|
288
288
|
},
|
|
@@ -543,86 +543,6 @@
|
|
|
543
543
|
"index.js"
|
|
544
544
|
]
|
|
545
545
|
},
|
|
546
|
-
"start-prover": {
|
|
547
|
-
"aliases": [],
|
|
548
|
-
"args": {},
|
|
549
|
-
"description": "Start gnark prover",
|
|
550
|
-
"flags": {
|
|
551
|
-
"prover-port": {
|
|
552
|
-
"description": "Enable Light Prover server on this port.",
|
|
553
|
-
"name": "prover-port",
|
|
554
|
-
"required": false,
|
|
555
|
-
"default": 3001,
|
|
556
|
-
"hasDynamicHelp": false,
|
|
557
|
-
"multiple": false,
|
|
558
|
-
"type": "option"
|
|
559
|
-
},
|
|
560
|
-
"redisUrl": {
|
|
561
|
-
"description": "Redis URL to use for the prover (e.g. redis://localhost:6379)",
|
|
562
|
-
"name": "redisUrl",
|
|
563
|
-
"required": false,
|
|
564
|
-
"hasDynamicHelp": false,
|
|
565
|
-
"multiple": false,
|
|
566
|
-
"type": "option"
|
|
567
|
-
}
|
|
568
|
-
},
|
|
569
|
-
"hasDynamicHelp": false,
|
|
570
|
-
"hiddenAliases": [],
|
|
571
|
-
"id": "start-prover",
|
|
572
|
-
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
573
|
-
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
574
|
-
"pluginType": "core",
|
|
575
|
-
"strict": true,
|
|
576
|
-
"enableJsonFlag": false,
|
|
577
|
-
"isESM": false,
|
|
578
|
-
"relativePath": [
|
|
579
|
-
"dist",
|
|
580
|
-
"commands",
|
|
581
|
-
"start-prover",
|
|
582
|
-
"index.js"
|
|
583
|
-
]
|
|
584
|
-
},
|
|
585
|
-
"merge-token-accounts": {
|
|
586
|
-
"aliases": [],
|
|
587
|
-
"args": {},
|
|
588
|
-
"examples": [
|
|
589
|
-
"$ light merge-token-accounts --mint PublicKey"
|
|
590
|
-
],
|
|
591
|
-
"flags": {
|
|
592
|
-
"mint": {
|
|
593
|
-
"description": "Mint to merge accounts for",
|
|
594
|
-
"name": "mint",
|
|
595
|
-
"required": true,
|
|
596
|
-
"hasDynamicHelp": false,
|
|
597
|
-
"multiple": false,
|
|
598
|
-
"type": "option"
|
|
599
|
-
},
|
|
600
|
-
"fee-payer": {
|
|
601
|
-
"description": "Specify the fee-payer account. Defaults to the client keypair.",
|
|
602
|
-
"name": "fee-payer",
|
|
603
|
-
"required": false,
|
|
604
|
-
"hasDynamicHelp": false,
|
|
605
|
-
"multiple": false,
|
|
606
|
-
"type": "option"
|
|
607
|
-
}
|
|
608
|
-
},
|
|
609
|
-
"hasDynamicHelp": false,
|
|
610
|
-
"hiddenAliases": [],
|
|
611
|
-
"id": "merge-token-accounts",
|
|
612
|
-
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
613
|
-
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
614
|
-
"pluginType": "core",
|
|
615
|
-
"strict": true,
|
|
616
|
-
"summary": "Merge all token accounts for a specific mint.",
|
|
617
|
-
"enableJsonFlag": false,
|
|
618
|
-
"isESM": false,
|
|
619
|
-
"relativePath": [
|
|
620
|
-
"dist",
|
|
621
|
-
"commands",
|
|
622
|
-
"merge-token-accounts",
|
|
623
|
-
"index.js"
|
|
624
|
-
]
|
|
625
|
-
},
|
|
626
546
|
"token-balance": {
|
|
627
547
|
"aliases": [],
|
|
628
548
|
"args": {},
|
|
@@ -954,7 +874,87 @@
|
|
|
954
874
|
"test-validator",
|
|
955
875
|
"index.js"
|
|
956
876
|
]
|
|
877
|
+
},
|
|
878
|
+
"merge-token-accounts": {
|
|
879
|
+
"aliases": [],
|
|
880
|
+
"args": {},
|
|
881
|
+
"examples": [
|
|
882
|
+
"$ light merge-token-accounts --mint PublicKey"
|
|
883
|
+
],
|
|
884
|
+
"flags": {
|
|
885
|
+
"mint": {
|
|
886
|
+
"description": "Mint to merge accounts for",
|
|
887
|
+
"name": "mint",
|
|
888
|
+
"required": true,
|
|
889
|
+
"hasDynamicHelp": false,
|
|
890
|
+
"multiple": false,
|
|
891
|
+
"type": "option"
|
|
892
|
+
},
|
|
893
|
+
"fee-payer": {
|
|
894
|
+
"description": "Specify the fee-payer account. Defaults to the client keypair.",
|
|
895
|
+
"name": "fee-payer",
|
|
896
|
+
"required": false,
|
|
897
|
+
"hasDynamicHelp": false,
|
|
898
|
+
"multiple": false,
|
|
899
|
+
"type": "option"
|
|
900
|
+
}
|
|
901
|
+
},
|
|
902
|
+
"hasDynamicHelp": false,
|
|
903
|
+
"hiddenAliases": [],
|
|
904
|
+
"id": "merge-token-accounts",
|
|
905
|
+
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
906
|
+
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
907
|
+
"pluginType": "core",
|
|
908
|
+
"strict": true,
|
|
909
|
+
"summary": "Merge all token accounts for a specific mint.",
|
|
910
|
+
"enableJsonFlag": false,
|
|
911
|
+
"isESM": false,
|
|
912
|
+
"relativePath": [
|
|
913
|
+
"dist",
|
|
914
|
+
"commands",
|
|
915
|
+
"merge-token-accounts",
|
|
916
|
+
"index.js"
|
|
917
|
+
]
|
|
918
|
+
},
|
|
919
|
+
"start-prover": {
|
|
920
|
+
"aliases": [],
|
|
921
|
+
"args": {},
|
|
922
|
+
"description": "Start gnark prover",
|
|
923
|
+
"flags": {
|
|
924
|
+
"prover-port": {
|
|
925
|
+
"description": "Enable Light Prover server on this port.",
|
|
926
|
+
"name": "prover-port",
|
|
927
|
+
"required": false,
|
|
928
|
+
"default": 3001,
|
|
929
|
+
"hasDynamicHelp": false,
|
|
930
|
+
"multiple": false,
|
|
931
|
+
"type": "option"
|
|
932
|
+
},
|
|
933
|
+
"redisUrl": {
|
|
934
|
+
"description": "Redis URL to use for the prover (e.g. redis://localhost:6379)",
|
|
935
|
+
"name": "redisUrl",
|
|
936
|
+
"required": false,
|
|
937
|
+
"hasDynamicHelp": false,
|
|
938
|
+
"multiple": false,
|
|
939
|
+
"type": "option"
|
|
940
|
+
}
|
|
941
|
+
},
|
|
942
|
+
"hasDynamicHelp": false,
|
|
943
|
+
"hiddenAliases": [],
|
|
944
|
+
"id": "start-prover",
|
|
945
|
+
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
946
|
+
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
947
|
+
"pluginType": "core",
|
|
948
|
+
"strict": true,
|
|
949
|
+
"enableJsonFlag": false,
|
|
950
|
+
"isESM": false,
|
|
951
|
+
"relativePath": [
|
|
952
|
+
"dist",
|
|
953
|
+
"commands",
|
|
954
|
+
"start-prover",
|
|
955
|
+
"index.js"
|
|
956
|
+
]
|
|
957
957
|
}
|
|
958
958
|
},
|
|
959
|
-
"version": "0.28.0-beta.
|
|
959
|
+
"version": "0.28.0-beta.12"
|
|
960
960
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lightprotocol/zk-compression-cli",
|
|
3
|
-
"version": "0.28.0-beta.
|
|
3
|
+
"version": "0.28.0-beta.12",
|
|
4
4
|
"description": "ZK Compression: Secure Scaling on Solana",
|
|
5
5
|
"maintainers": [
|
|
6
6
|
{
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
"tweetnacl": "^1.0.3",
|
|
50
50
|
"wait-on": "^7.2.0",
|
|
51
51
|
"which": "^5.0.0",
|
|
52
|
-
"@lightprotocol/compressed-token": "0.23.0-beta.
|
|
53
|
-
"@lightprotocol/stateless.js": "0.23.0-beta.
|
|
52
|
+
"@lightprotocol/compressed-token": "0.23.0-beta.12",
|
|
53
|
+
"@lightprotocol/stateless.js": "0.23.0-beta.12"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@eslint/js": "9.36.0",
|