@lightprotocol/zk-compression-cli 0.10.0 → 0.15.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.
Files changed (65) hide show
  1. package/README.md +6 -6
  2. package/bin/account_compression.so +0 -0
  3. package/bin/{forester → cargo-generate} +0 -0
  4. package/bin/light_compressed_token.so +0 -0
  5. package/bin/light_registry.so +0 -0
  6. package/bin/light_system_program.so +0 -0
  7. package/bin/prover-darwin-arm64 +0 -0
  8. package/bin/prover-darwin-x64 +0 -0
  9. package/bin/prover-linux-arm64 +0 -0
  10. package/bin/prover-linux-x64 +0 -0
  11. package/bin/prover-windows-arm64.exe +0 -0
  12. package/bin/prover-windows-x64.exe +0 -0
  13. package/bin/proving-keys/combined_26_1_1.key +0 -0
  14. package/bin/proving-keys/combined_26_1_1.vkey +1 -1
  15. package/bin/proving-keys/combined_26_1_2.key +0 -0
  16. package/bin/proving-keys/combined_26_1_2.vkey +1 -1
  17. package/bin/proving-keys/combined_26_2_1.key +0 -0
  18. package/bin/proving-keys/combined_26_2_1.vkey +1 -1
  19. package/bin/proving-keys/combined_26_2_2.key +0 -0
  20. package/bin/proving-keys/combined_26_2_2.vkey +1 -1
  21. package/bin/proving-keys/combined_26_3_1.key +0 -0
  22. package/bin/proving-keys/combined_26_3_1.vkey +1 -1
  23. package/bin/proving-keys/combined_26_3_2.key +0 -0
  24. package/bin/proving-keys/combined_26_3_2.vkey +1 -1
  25. package/bin/proving-keys/combined_26_4_1.key +0 -0
  26. package/bin/proving-keys/combined_26_4_1.vkey +1 -1
  27. package/bin/proving-keys/combined_26_4_2.key +0 -0
  28. package/bin/proving-keys/combined_26_4_2.vkey +1 -1
  29. package/bin/proving-keys/inclusion_26_1.key +0 -0
  30. package/bin/proving-keys/inclusion_26_1.vkey +1 -1
  31. package/bin/proving-keys/inclusion_26_2.key +0 -0
  32. package/bin/proving-keys/inclusion_26_2.vkey +1 -1
  33. package/bin/proving-keys/inclusion_26_3.key +0 -0
  34. package/bin/proving-keys/inclusion_26_3.vkey +1 -1
  35. package/bin/proving-keys/inclusion_26_4.key +0 -0
  36. package/bin/proving-keys/inclusion_26_4.vkey +1 -1
  37. package/bin/proving-keys/inclusion_26_8.key +0 -0
  38. package/bin/proving-keys/inclusion_26_8.vkey +1 -1
  39. package/bin/proving-keys/non-inclusion_26_1.key +0 -0
  40. package/bin/proving-keys/non-inclusion_26_1.vkey +1 -1
  41. package/bin/proving-keys/non-inclusion_26_2.key +0 -0
  42. package/bin/proving-keys/non-inclusion_26_2.vkey +1 -1
  43. package/dist/commands/{register-mint → create-token-pool}/index.js +4 -4
  44. package/dist/commands/init/index.d.ts +26 -0
  45. package/dist/commands/init/index.js +180 -0
  46. package/dist/commands/merge-token-accounts/index.d.ts +11 -0
  47. package/dist/commands/merge-token-accounts/index.js +41 -0
  48. package/dist/commands/test-validator/index.d.ts +1 -1
  49. package/dist/commands/test-validator/index.js +29 -20
  50. package/dist/utils/constants.d.ts +20 -7
  51. package/dist/utils/constants.js +21 -8
  52. package/dist/utils/initTestEnv.d.ts +8 -4
  53. package/dist/utils/initTestEnv.js +31 -8
  54. package/dist/utils/process.d.ts +1 -1
  55. package/dist/utils/process.js +26 -13
  56. package/dist/utils/processPhotonIndexer.d.ts +1 -0
  57. package/dist/utils/processPhotonIndexer.js +1 -0
  58. package/dist/utils/processProverServer.d.ts +1 -0
  59. package/dist/utils/processProverServer.js +6 -1
  60. package/oclif.manifest.json +242 -173
  61. package/package.json +9 -9
  62. package/bin/forester.toml +0 -8
  63. package/dist/utils/processForester.d.ts +0 -3
  64. package/dist/utils/processForester.js +0 -24
  65. /package/dist/commands/{register-mint → create-token-pool}/index.d.ts +0 -0
@@ -1,20 +1,12 @@
1
1
  {
2
2
  "commands": {
3
- "approve-and-mint-to": {
3
+ "compress-spl": {
4
4
  "aliases": [],
5
5
  "args": {},
6
6
  "examples": [
7
- "$ light approve-and-mint-to --mint PublicKey --to PublicKey --amount 1000"
7
+ "$ light compress-spl --mint PublicKey --to PublicKey --amount 10"
8
8
  ],
9
9
  "flags": {
10
- "mint-authority": {
11
- "description": "Specify the filepath of the mint authority keypair. Defaults to your local solana wallet.",
12
- "name": "mint-authority",
13
- "required": false,
14
- "hasDynamicHelp": false,
15
- "multiple": false,
16
- "type": "option"
17
- },
18
10
  "mint": {
19
11
  "description": "Specify the mint address.",
20
12
  "name": "mint",
@@ -24,7 +16,7 @@
24
16
  "type": "option"
25
17
  },
26
18
  "to": {
27
- "description": "Specify the recipient address.",
19
+ "description": "Specify the recipient address (owner of destination compressed token account).",
28
20
  "name": "to",
29
21
  "required": true,
30
22
  "hasDynamicHelp": false,
@@ -32,7 +24,7 @@
32
24
  "type": "option"
33
25
  },
34
26
  "amount": {
35
- "description": "Amount to mint, in tokens.",
27
+ "description": "Amount to compress, in tokens.",
36
28
  "name": "amount",
37
29
  "required": true,
38
30
  "hasDynamicHelp": false,
@@ -42,149 +34,124 @@
42
34
  },
43
35
  "hasDynamicHelp": false,
44
36
  "hiddenAliases": [],
45
- "id": "approve-and-mint-to",
37
+ "id": "compress-spl",
46
38
  "pluginAlias": "@lightprotocol/zk-compression-cli",
47
39
  "pluginName": "@lightprotocol/zk-compression-cli",
48
40
  "pluginType": "core",
49
41
  "strict": true,
50
- "summary": "Mint tokens to a compressed account via external mint authority",
42
+ "summary": "Compress SPL tokens.",
51
43
  "enableJsonFlag": false,
52
44
  "isESM": false,
53
45
  "relativePath": [
54
46
  "dist",
55
47
  "commands",
56
- "approve-and-mint-to",
48
+ "compress-spl",
57
49
  "index.js"
58
50
  ]
59
51
  },
60
- "balance": {
52
+ "config:config": {
61
53
  "aliases": [],
62
54
  "args": {},
55
+ "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",
63
56
  "examples": [
64
- "$ light balance --mint=<ADDRESS> --owner=<ADDRESS>"
57
+ "$ light config --solanaRpcUrl https://solana-api.example.com"
65
58
  ],
66
59
  "flags": {
67
- "owner": {
68
- "description": "Address of the compressed token owner.",
69
- "name": "owner",
70
- "required": true,
60
+ "solanaRpcUrl": {
61
+ "description": "Solana RPC url",
62
+ "name": "solanaRpcUrl",
71
63
  "hasDynamicHelp": false,
72
64
  "multiple": false,
73
65
  "type": "option"
74
66
  },
75
- "mint": {
76
- "description": "Mint address of the compressed token account.",
77
- "name": "mint",
78
- "required": true,
79
- "hasDynamicHelp": false,
80
- "multiple": false,
81
- "type": "option"
82
- }
83
- },
84
- "hasDynamicHelp": false,
85
- "hiddenAliases": [],
86
- "id": "balance",
87
- "pluginAlias": "@lightprotocol/zk-compression-cli",
88
- "pluginName": "@lightprotocol/zk-compression-cli",
89
- "pluginType": "core",
90
- "strict": true,
91
- "summary": "Get balance",
92
- "enableJsonFlag": false,
93
- "isESM": false,
94
- "relativePath": [
95
- "dist",
96
- "commands",
97
- "balance",
98
- "index.js"
99
- ]
100
- },
101
- "compress-spl": {
102
- "aliases": [],
103
- "args": {},
104
- "examples": [
105
- "$ light compress-spl --mint PublicKey --to PublicKey --amount 10"
106
- ],
107
- "flags": {
108
- "mint": {
109
- "description": "Specify the mint address.",
110
- "name": "mint",
111
- "required": true,
67
+ "indexerUrl": {
68
+ "description": "Indexer url",
69
+ "name": "indexerUrl",
112
70
  "hasDynamicHelp": false,
113
71
  "multiple": false,
114
72
  "type": "option"
115
73
  },
116
- "to": {
117
- "description": "Specify the recipient address (owner of destination compressed token account).",
118
- "name": "to",
119
- "required": true,
74
+ "proverUrl": {
75
+ "description": "Prover url",
76
+ "name": "proverUrl",
120
77
  "hasDynamicHelp": false,
121
78
  "multiple": false,
122
79
  "type": "option"
123
80
  },
124
- "amount": {
125
- "description": "Amount to compress, in tokens.",
126
- "name": "amount",
127
- "required": true,
128
- "hasDynamicHelp": false,
129
- "multiple": false,
130
- "type": "option"
81
+ "get": {
82
+ "description": "Gets the current config values",
83
+ "name": "get",
84
+ "required": false,
85
+ "allowNo": false,
86
+ "type": "boolean"
131
87
  }
132
88
  },
133
89
  "hasDynamicHelp": false,
134
90
  "hiddenAliases": [],
135
- "id": "compress-spl",
91
+ "id": "config:config",
136
92
  "pluginAlias": "@lightprotocol/zk-compression-cli",
137
93
  "pluginName": "@lightprotocol/zk-compression-cli",
138
94
  "pluginType": "core",
139
95
  "strict": true,
140
- "summary": "Compress SPL tokens.",
141
96
  "enableJsonFlag": false,
142
97
  "isESM": false,
143
98
  "relativePath": [
144
99
  "dist",
145
100
  "commands",
146
- "compress-spl",
101
+ "config",
147
102
  "index.js"
148
103
  ]
149
104
  },
150
- "compress-sol": {
105
+ "config": {
151
106
  "aliases": [],
152
107
  "args": {},
108
+ "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",
153
109
  "examples": [
154
- "$ light compress-sol --to PublicKey --amount 10"
110
+ "$ light config --solanaRpcUrl https://solana-api.example.com"
155
111
  ],
156
112
  "flags": {
157
- "to": {
158
- "description": "Specify the recipient address.",
159
- "name": "to",
160
- "required": true,
113
+ "solanaRpcUrl": {
114
+ "description": "Solana RPC url",
115
+ "name": "solanaRpcUrl",
161
116
  "hasDynamicHelp": false,
162
117
  "multiple": false,
163
118
  "type": "option"
164
119
  },
165
- "amount": {
166
- "description": "Amount to compress, in lamports.",
167
- "name": "amount",
168
- "required": true,
120
+ "indexerUrl": {
121
+ "description": "Indexer url",
122
+ "name": "indexerUrl",
123
+ "hasDynamicHelp": false,
124
+ "multiple": false,
125
+ "type": "option"
126
+ },
127
+ "proverUrl": {
128
+ "description": "Prover url",
129
+ "name": "proverUrl",
169
130
  "hasDynamicHelp": false,
170
131
  "multiple": false,
171
132
  "type": "option"
133
+ },
134
+ "get": {
135
+ "description": "Gets the current config values",
136
+ "name": "get",
137
+ "required": false,
138
+ "allowNo": false,
139
+ "type": "boolean"
172
140
  }
173
141
  },
174
142
  "hasDynamicHelp": false,
175
143
  "hiddenAliases": [],
176
- "id": "compress-sol",
144
+ "id": "config",
177
145
  "pluginAlias": "@lightprotocol/zk-compression-cli",
178
146
  "pluginName": "@lightprotocol/zk-compression-cli",
179
147
  "pluginType": "core",
180
148
  "strict": true,
181
- "summary": "Compress SOL.",
182
149
  "enableJsonFlag": false,
183
150
  "isESM": false,
184
151
  "relativePath": [
185
152
  "dist",
186
153
  "commands",
187
- "compress-sol",
154
+ "config",
188
155
  "index.js"
189
156
  ]
190
157
  },
@@ -238,13 +205,29 @@
238
205
  "index.js"
239
206
  ]
240
207
  },
241
- "decompress-sol": {
208
+ "approve-and-mint-to": {
242
209
  "aliases": [],
243
210
  "args": {},
244
211
  "examples": [
245
- "$ light decompress-sol --to PublicKey --amount 10"
212
+ "$ light approve-and-mint-to --mint PublicKey --to PublicKey --amount 1000"
246
213
  ],
247
214
  "flags": {
215
+ "mint-authority": {
216
+ "description": "Specify the filepath of the mint authority keypair. Defaults to your local solana wallet.",
217
+ "name": "mint-authority",
218
+ "required": false,
219
+ "hasDynamicHelp": false,
220
+ "multiple": false,
221
+ "type": "option"
222
+ },
223
+ "mint": {
224
+ "description": "Specify the mint address.",
225
+ "name": "mint",
226
+ "required": true,
227
+ "hasDynamicHelp": false,
228
+ "multiple": false,
229
+ "type": "option"
230
+ },
248
231
  "to": {
249
232
  "description": "Specify the recipient address.",
250
233
  "name": "to",
@@ -254,7 +237,7 @@
254
237
  "type": "option"
255
238
  },
256
239
  "amount": {
257
- "description": "Amount to decompress, in lamports.",
240
+ "description": "Amount to mint, in tokens.",
258
241
  "name": "amount",
259
242
  "required": true,
260
243
  "hasDynamicHelp": false,
@@ -264,124 +247,174 @@
264
247
  },
265
248
  "hasDynamicHelp": false,
266
249
  "hiddenAliases": [],
267
- "id": "decompress-sol",
250
+ "id": "approve-and-mint-to",
268
251
  "pluginAlias": "@lightprotocol/zk-compression-cli",
269
252
  "pluginName": "@lightprotocol/zk-compression-cli",
270
253
  "pluginType": "core",
271
254
  "strict": true,
272
- "summary": "Decompress SOL.",
255
+ "summary": "Mint tokens to a compressed account via external mint authority",
273
256
  "enableJsonFlag": false,
274
257
  "isESM": false,
275
258
  "relativePath": [
276
259
  "dist",
277
260
  "commands",
278
- "decompress-sol",
261
+ "approve-and-mint-to",
279
262
  "index.js"
280
263
  ]
281
264
  },
282
- "config:config": {
265
+ "create-token-pool": {
283
266
  "aliases": [],
284
267
  "args": {},
285
- "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",
286
268
  "examples": [
287
- "$ light config --solanaRpcUrl https://solana-api.example.com"
269
+ "$ light create-token-pool --mint-decimals 5"
288
270
  ],
289
271
  "flags": {
290
- "solanaRpcUrl": {
291
- "description": "Solana RPC url",
292
- "name": "solanaRpcUrl",
272
+ "mint": {
273
+ "description": "Provide a base58 encoded mint address to register",
274
+ "name": "mint",
275
+ "required": true,
293
276
  "hasDynamicHelp": false,
294
277
  "multiple": false,
295
278
  "type": "option"
296
- },
297
- "indexerUrl": {
298
- "description": "Indexer url",
299
- "name": "indexerUrl",
279
+ }
280
+ },
281
+ "hasDynamicHelp": false,
282
+ "hiddenAliases": [],
283
+ "id": "create-token-pool",
284
+ "pluginAlias": "@lightprotocol/zk-compression-cli",
285
+ "pluginName": "@lightprotocol/zk-compression-cli",
286
+ "pluginType": "core",
287
+ "strict": true,
288
+ "summary": "Register an existing mint with the CompressedToken program",
289
+ "enableJsonFlag": false,
290
+ "isESM": false,
291
+ "relativePath": [
292
+ "dist",
293
+ "commands",
294
+ "create-token-pool",
295
+ "index.js"
296
+ ]
297
+ },
298
+ "balance": {
299
+ "aliases": [],
300
+ "args": {},
301
+ "examples": [
302
+ "$ light balance --mint=<ADDRESS> --owner=<ADDRESS>"
303
+ ],
304
+ "flags": {
305
+ "owner": {
306
+ "description": "Address of the compressed token owner.",
307
+ "name": "owner",
308
+ "required": true,
300
309
  "hasDynamicHelp": false,
301
310
  "multiple": false,
302
311
  "type": "option"
303
312
  },
304
- "proverUrl": {
305
- "description": "Prover url",
306
- "name": "proverUrl",
313
+ "mint": {
314
+ "description": "Mint address of the compressed token account.",
315
+ "name": "mint",
316
+ "required": true,
307
317
  "hasDynamicHelp": false,
308
318
  "multiple": false,
309
319
  "type": "option"
310
- },
311
- "get": {
312
- "description": "Gets the current config values",
313
- "name": "get",
314
- "required": false,
315
- "allowNo": false,
316
- "type": "boolean"
317
320
  }
318
321
  },
319
322
  "hasDynamicHelp": false,
320
323
  "hiddenAliases": [],
321
- "id": "config:config",
324
+ "id": "balance",
322
325
  "pluginAlias": "@lightprotocol/zk-compression-cli",
323
326
  "pluginName": "@lightprotocol/zk-compression-cli",
324
327
  "pluginType": "core",
325
328
  "strict": true,
329
+ "summary": "Get balance",
326
330
  "enableJsonFlag": false,
327
331
  "isESM": false,
328
332
  "relativePath": [
329
333
  "dist",
330
334
  "commands",
331
- "config",
335
+ "balance",
332
336
  "index.js"
333
337
  ]
334
338
  },
335
- "config": {
339
+ "decompress-sol": {
336
340
  "aliases": [],
337
341
  "args": {},
338
- "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",
339
342
  "examples": [
340
- "$ light config --solanaRpcUrl https://solana-api.example.com"
343
+ "$ light decompress-sol --to PublicKey --amount 10"
341
344
  ],
342
345
  "flags": {
343
- "solanaRpcUrl": {
344
- "description": "Solana RPC url",
345
- "name": "solanaRpcUrl",
346
+ "to": {
347
+ "description": "Specify the recipient address.",
348
+ "name": "to",
349
+ "required": true,
346
350
  "hasDynamicHelp": false,
347
351
  "multiple": false,
348
352
  "type": "option"
349
353
  },
350
- "indexerUrl": {
351
- "description": "Indexer url",
352
- "name": "indexerUrl",
354
+ "amount": {
355
+ "description": "Amount to decompress, in lamports.",
356
+ "name": "amount",
357
+ "required": true,
353
358
  "hasDynamicHelp": false,
354
359
  "multiple": false,
355
360
  "type": "option"
356
- },
357
- "proverUrl": {
358
- "description": "Prover url",
359
- "name": "proverUrl",
361
+ }
362
+ },
363
+ "hasDynamicHelp": false,
364
+ "hiddenAliases": [],
365
+ "id": "decompress-sol",
366
+ "pluginAlias": "@lightprotocol/zk-compression-cli",
367
+ "pluginName": "@lightprotocol/zk-compression-cli",
368
+ "pluginType": "core",
369
+ "strict": true,
370
+ "summary": "Decompress SOL.",
371
+ "enableJsonFlag": false,
372
+ "isESM": false,
373
+ "relativePath": [
374
+ "dist",
375
+ "commands",
376
+ "decompress-sol",
377
+ "index.js"
378
+ ]
379
+ },
380
+ "compress-sol": {
381
+ "aliases": [],
382
+ "args": {},
383
+ "examples": [
384
+ "$ light compress-sol --to PublicKey --amount 10"
385
+ ],
386
+ "flags": {
387
+ "to": {
388
+ "description": "Specify the recipient address.",
389
+ "name": "to",
390
+ "required": true,
360
391
  "hasDynamicHelp": false,
361
392
  "multiple": false,
362
393
  "type": "option"
363
394
  },
364
- "get": {
365
- "description": "Gets the current config values",
366
- "name": "get",
367
- "required": false,
368
- "allowNo": false,
369
- "type": "boolean"
395
+ "amount": {
396
+ "description": "Amount to compress, in lamports.",
397
+ "name": "amount",
398
+ "required": true,
399
+ "hasDynamicHelp": false,
400
+ "multiple": false,
401
+ "type": "option"
370
402
  }
371
403
  },
372
404
  "hasDynamicHelp": false,
373
405
  "hiddenAliases": [],
374
- "id": "config",
406
+ "id": "compress-sol",
375
407
  "pluginAlias": "@lightprotocol/zk-compression-cli",
376
408
  "pluginName": "@lightprotocol/zk-compression-cli",
377
409
  "pluginType": "core",
378
410
  "strict": true,
411
+ "summary": "Compress SOL.",
379
412
  "enableJsonFlag": false,
380
413
  "isESM": false,
381
414
  "relativePath": [
382
415
  "dist",
383
416
  "commands",
384
- "config",
417
+ "compress-sol",
385
418
  "index.js"
386
419
  ]
387
420
  },
@@ -434,41 +467,52 @@
434
467
  "index.js"
435
468
  ]
436
469
  },
437
- "mint-to": {
470
+ "init": {
471
+ "aliases": [],
472
+ "args": {
473
+ "name": {
474
+ "description": "The name of the project",
475
+ "name": "name",
476
+ "required": true
477
+ }
478
+ },
479
+ "description": "Initialize a compressed account project.",
480
+ "flags": {},
481
+ "hasDynamicHelp": false,
482
+ "hiddenAliases": [],
483
+ "id": "init",
484
+ "pluginAlias": "@lightprotocol/zk-compression-cli",
485
+ "pluginName": "@lightprotocol/zk-compression-cli",
486
+ "pluginType": "core",
487
+ "strict": true,
488
+ "enableJsonFlag": false,
489
+ "isESM": false,
490
+ "relativePath": [
491
+ "dist",
492
+ "commands",
493
+ "init",
494
+ "index.js"
495
+ ]
496
+ },
497
+ "merge-token-accounts": {
438
498
  "aliases": [],
439
499
  "args": {},
440
500
  "examples": [
441
- "$ light mint-to --mint PublicKey --to PublicKey --amount 1000"
501
+ "$ light merge-token-accounts --mint PublicKey"
442
502
  ],
443
503
  "flags": {
444
- "mint-authority": {
445
- "description": "Specify the filepath of the mint authority keypair. Defaults to your local solana wallet.",
446
- "name": "mint-authority",
447
- "required": false,
448
- "hasDynamicHelp": false,
449
- "multiple": false,
450
- "type": "option"
451
- },
452
504
  "mint": {
453
- "description": "Specify the mint address.",
505
+ "description": "Mint to merge accounts for",
454
506
  "name": "mint",
455
507
  "required": true,
456
508
  "hasDynamicHelp": false,
457
509
  "multiple": false,
458
510
  "type": "option"
459
511
  },
460
- "to": {
461
- "description": "Specify the recipient address.",
462
- "name": "to",
463
- "required": true,
464
- "hasDynamicHelp": false,
465
- "multiple": false,
466
- "type": "option"
467
- },
468
- "amount": {
469
- "description": "Amount to mint, in tokens.",
470
- "name": "amount",
471
- "required": true,
512
+ "fee-payer": {
513
+ "description": "Specify the fee-payer account. Defaults to the client keypair.",
514
+ "name": "fee-payer",
515
+ "required": false,
472
516
  "hasDynamicHelp": false,
473
517
  "multiple": false,
474
518
  "type": "option"
@@ -476,51 +520,75 @@
476
520
  },
477
521
  "hasDynamicHelp": false,
478
522
  "hiddenAliases": [],
479
- "id": "mint-to",
523
+ "id": "merge-token-accounts",
480
524
  "pluginAlias": "@lightprotocol/zk-compression-cli",
481
525
  "pluginName": "@lightprotocol/zk-compression-cli",
482
526
  "pluginType": "core",
483
527
  "strict": true,
484
- "summary": "Mint tokens to an account.",
528
+ "summary": "Merge all token accounts for a specific mint.",
485
529
  "enableJsonFlag": false,
486
530
  "isESM": false,
487
531
  "relativePath": [
488
532
  "dist",
489
533
  "commands",
490
- "mint-to",
534
+ "merge-token-accounts",
491
535
  "index.js"
492
536
  ]
493
537
  },
494
- "register-mint": {
538
+ "mint-to": {
495
539
  "aliases": [],
496
540
  "args": {},
497
541
  "examples": [
498
- "$ light register-mint --mint-decimals 5"
542
+ "$ light mint-to --mint PublicKey --to PublicKey --amount 1000"
499
543
  ],
500
544
  "flags": {
545
+ "mint-authority": {
546
+ "description": "Specify the filepath of the mint authority keypair. Defaults to your local solana wallet.",
547
+ "name": "mint-authority",
548
+ "required": false,
549
+ "hasDynamicHelp": false,
550
+ "multiple": false,
551
+ "type": "option"
552
+ },
501
553
  "mint": {
502
- "description": "Provide a base58 encoded mint address to register",
554
+ "description": "Specify the mint address.",
503
555
  "name": "mint",
504
556
  "required": true,
505
557
  "hasDynamicHelp": false,
506
558
  "multiple": false,
507
559
  "type": "option"
560
+ },
561
+ "to": {
562
+ "description": "Specify the recipient address.",
563
+ "name": "to",
564
+ "required": true,
565
+ "hasDynamicHelp": false,
566
+ "multiple": false,
567
+ "type": "option"
568
+ },
569
+ "amount": {
570
+ "description": "Amount to mint, in tokens.",
571
+ "name": "amount",
572
+ "required": true,
573
+ "hasDynamicHelp": false,
574
+ "multiple": false,
575
+ "type": "option"
508
576
  }
509
577
  },
510
578
  "hasDynamicHelp": false,
511
579
  "hiddenAliases": [],
512
- "id": "register-mint",
580
+ "id": "mint-to",
513
581
  "pluginAlias": "@lightprotocol/zk-compression-cli",
514
582
  "pluginName": "@lightprotocol/zk-compression-cli",
515
583
  "pluginType": "core",
516
584
  "strict": true,
517
- "summary": "Register an existing mint with the CompressedToken program",
585
+ "summary": "Mint tokens to an account.",
518
586
  "enableJsonFlag": false,
519
587
  "isESM": false,
520
588
  "relativePath": [
521
589
  "dist",
522
590
  "commands",
523
- "register-mint",
591
+ "mint-to",
524
592
  "index.js"
525
593
  ]
526
594
  },
@@ -586,12 +654,6 @@
586
654
  "allowNo": false,
587
655
  "type": "boolean"
588
656
  },
589
- "skip-forester": {
590
- "description": "Runs a test validator without starting a new forester service.",
591
- "name": "skip-forester",
592
- "allowNo": false,
593
- "type": "boolean"
594
- },
595
657
  "skip-system-accounts": {
596
658
  "description": "Runs a test validator without initialized light system accounts.",
597
659
  "name": "skip-system-accounts",
@@ -686,6 +748,13 @@
686
748
  "hasDynamicHelp": false,
687
749
  "multiple": false,
688
750
  "type": "option"
751
+ },
752
+ "stop": {
753
+ "description": "Stops the test validator and dependent processes. Use with --skip-indexer, --skip-prover to keep specific services running.",
754
+ "name": "stop",
755
+ "required": false,
756
+ "allowNo": false,
757
+ "type": "boolean"
689
758
  }
690
759
  },
691
760
  "hasDynamicHelp": false,
@@ -762,5 +831,5 @@
762
831
  ]
763
832
  }
764
833
  },
765
- "version": "0.10.0"
834
+ "version": "0.15.0"
766
835
  }