@lightprotocol/zk-compression-cli 0.15.0 → 0.15.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.
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -1,12 +1,61 @@
1
1
  {
2
2
  "commands": {
3
- "compress-spl": {
3
+ "balance": {
4
4
  "aliases": [],
5
5
  "args": {},
6
6
  "examples": [
7
- "$ light compress-spl --mint PublicKey --to PublicKey --amount 10"
7
+ "$ light balance --mint=<ADDRESS> --owner=<ADDRESS>"
8
8
  ],
9
9
  "flags": {
10
+ "owner": {
11
+ "description": "Address of the compressed token owner.",
12
+ "name": "owner",
13
+ "required": true,
14
+ "hasDynamicHelp": false,
15
+ "multiple": false,
16
+ "type": "option"
17
+ },
18
+ "mint": {
19
+ "description": "Mint address of the compressed token account.",
20
+ "name": "mint",
21
+ "required": true,
22
+ "hasDynamicHelp": false,
23
+ "multiple": false,
24
+ "type": "option"
25
+ }
26
+ },
27
+ "hasDynamicHelp": false,
28
+ "hiddenAliases": [],
29
+ "id": "balance",
30
+ "pluginAlias": "@lightprotocol/zk-compression-cli",
31
+ "pluginName": "@lightprotocol/zk-compression-cli",
32
+ "pluginType": "core",
33
+ "strict": true,
34
+ "summary": "Get balance",
35
+ "enableJsonFlag": false,
36
+ "isESM": false,
37
+ "relativePath": [
38
+ "dist",
39
+ "commands",
40
+ "balance",
41
+ "index.js"
42
+ ]
43
+ },
44
+ "approve-and-mint-to": {
45
+ "aliases": [],
46
+ "args": {},
47
+ "examples": [
48
+ "$ light approve-and-mint-to --mint PublicKey --to PublicKey --amount 1000"
49
+ ],
50
+ "flags": {
51
+ "mint-authority": {
52
+ "description": "Specify the filepath of the mint authority keypair. Defaults to your local solana wallet.",
53
+ "name": "mint-authority",
54
+ "required": false,
55
+ "hasDynamicHelp": false,
56
+ "multiple": false,
57
+ "type": "option"
58
+ },
10
59
  "mint": {
11
60
  "description": "Specify the mint address.",
12
61
  "name": "mint",
@@ -16,7 +65,7 @@
16
65
  "type": "option"
17
66
  },
18
67
  "to": {
19
- "description": "Specify the recipient address (owner of destination compressed token account).",
68
+ "description": "Specify the recipient address.",
20
69
  "name": "to",
21
70
  "required": true,
22
71
  "hasDynamicHelp": false,
@@ -24,7 +73,7 @@
24
73
  "type": "option"
25
74
  },
26
75
  "amount": {
27
- "description": "Amount to compress, in tokens.",
76
+ "description": "Amount to mint, in tokens.",
28
77
  "name": "amount",
29
78
  "required": true,
30
79
  "hasDynamicHelp": false,
@@ -34,18 +83,18 @@
34
83
  },
35
84
  "hasDynamicHelp": false,
36
85
  "hiddenAliases": [],
37
- "id": "compress-spl",
86
+ "id": "approve-and-mint-to",
38
87
  "pluginAlias": "@lightprotocol/zk-compression-cli",
39
88
  "pluginName": "@lightprotocol/zk-compression-cli",
40
89
  "pluginType": "core",
41
90
  "strict": true,
42
- "summary": "Compress SPL tokens.",
91
+ "summary": "Mint tokens to a compressed account via external mint authority",
43
92
  "enableJsonFlag": false,
44
93
  "isESM": false,
45
94
  "relativePath": [
46
95
  "dist",
47
96
  "commands",
48
- "compress-spl",
97
+ "approve-and-mint-to",
49
98
  "index.js"
50
99
  ]
51
100
  },
@@ -205,63 +254,6 @@
205
254
  "index.js"
206
255
  ]
207
256
  },
208
- "approve-and-mint-to": {
209
- "aliases": [],
210
- "args": {},
211
- "examples": [
212
- "$ light approve-and-mint-to --mint PublicKey --to PublicKey --amount 1000"
213
- ],
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
- },
231
- "to": {
232
- "description": "Specify the recipient address.",
233
- "name": "to",
234
- "required": true,
235
- "hasDynamicHelp": false,
236
- "multiple": false,
237
- "type": "option"
238
- },
239
- "amount": {
240
- "description": "Amount to mint, in tokens.",
241
- "name": "amount",
242
- "required": true,
243
- "hasDynamicHelp": false,
244
- "multiple": false,
245
- "type": "option"
246
- }
247
- },
248
- "hasDynamicHelp": false,
249
- "hiddenAliases": [],
250
- "id": "approve-and-mint-to",
251
- "pluginAlias": "@lightprotocol/zk-compression-cli",
252
- "pluginName": "@lightprotocol/zk-compression-cli",
253
- "pluginType": "core",
254
- "strict": true,
255
- "summary": "Mint tokens to a compressed account via external mint authority",
256
- "enableJsonFlag": false,
257
- "isESM": false,
258
- "relativePath": [
259
- "dist",
260
- "commands",
261
- "approve-and-mint-to",
262
- "index.js"
263
- ]
264
- },
265
257
  "create-token-pool": {
266
258
  "aliases": [],
267
259
  "args": {},
@@ -295,24 +287,24 @@
295
287
  "index.js"
296
288
  ]
297
289
  },
298
- "balance": {
290
+ "decompress-sol": {
299
291
  "aliases": [],
300
292
  "args": {},
301
293
  "examples": [
302
- "$ light balance --mint=<ADDRESS> --owner=<ADDRESS>"
294
+ "$ light decompress-sol --to PublicKey --amount 10"
303
295
  ],
304
296
  "flags": {
305
- "owner": {
306
- "description": "Address of the compressed token owner.",
307
- "name": "owner",
297
+ "to": {
298
+ "description": "Specify the recipient address.",
299
+ "name": "to",
308
300
  "required": true,
309
301
  "hasDynamicHelp": false,
310
302
  "multiple": false,
311
303
  "type": "option"
312
304
  },
313
- "mint": {
314
- "description": "Mint address of the compressed token account.",
315
- "name": "mint",
305
+ "amount": {
306
+ "description": "Amount to decompress, in lamports.",
307
+ "name": "amount",
316
308
  "required": true,
317
309
  "hasDynamicHelp": false,
318
310
  "multiple": false,
@@ -321,30 +313,38 @@
321
313
  },
322
314
  "hasDynamicHelp": false,
323
315
  "hiddenAliases": [],
324
- "id": "balance",
316
+ "id": "decompress-sol",
325
317
  "pluginAlias": "@lightprotocol/zk-compression-cli",
326
318
  "pluginName": "@lightprotocol/zk-compression-cli",
327
319
  "pluginType": "core",
328
320
  "strict": true,
329
- "summary": "Get balance",
321
+ "summary": "Decompress SOL.",
330
322
  "enableJsonFlag": false,
331
323
  "isESM": false,
332
324
  "relativePath": [
333
325
  "dist",
334
326
  "commands",
335
- "balance",
327
+ "decompress-sol",
336
328
  "index.js"
337
329
  ]
338
330
  },
339
- "decompress-sol": {
331
+ "compress-spl": {
340
332
  "aliases": [],
341
333
  "args": {},
342
334
  "examples": [
343
- "$ light decompress-sol --to PublicKey --amount 10"
335
+ "$ light compress-spl --mint PublicKey --to PublicKey --amount 10"
344
336
  ],
345
337
  "flags": {
338
+ "mint": {
339
+ "description": "Specify the mint address.",
340
+ "name": "mint",
341
+ "required": true,
342
+ "hasDynamicHelp": false,
343
+ "multiple": false,
344
+ "type": "option"
345
+ },
346
346
  "to": {
347
- "description": "Specify the recipient address.",
347
+ "description": "Specify the recipient address (owner of destination compressed token account).",
348
348
  "name": "to",
349
349
  "required": true,
350
350
  "hasDynamicHelp": false,
@@ -352,7 +352,7 @@
352
352
  "type": "option"
353
353
  },
354
354
  "amount": {
355
- "description": "Amount to decompress, in lamports.",
355
+ "description": "Amount to compress, in tokens.",
356
356
  "name": "amount",
357
357
  "required": true,
358
358
  "hasDynamicHelp": false,
@@ -362,18 +362,18 @@
362
362
  },
363
363
  "hasDynamicHelp": false,
364
364
  "hiddenAliases": [],
365
- "id": "decompress-sol",
365
+ "id": "compress-spl",
366
366
  "pluginAlias": "@lightprotocol/zk-compression-cli",
367
367
  "pluginName": "@lightprotocol/zk-compression-cli",
368
368
  "pluginType": "core",
369
369
  "strict": true,
370
- "summary": "Decompress SOL.",
370
+ "summary": "Compress SPL tokens.",
371
371
  "enableJsonFlag": false,
372
372
  "isESM": false,
373
373
  "relativePath": [
374
374
  "dist",
375
375
  "commands",
376
- "decompress-sol",
376
+ "compress-spl",
377
377
  "index.js"
378
378
  ]
379
379
  },
@@ -494,25 +494,30 @@
494
494
  "index.js"
495
495
  ]
496
496
  },
497
- "merge-token-accounts": {
497
+ "start-prover": {
498
498
  "aliases": [],
499
499
  "args": {},
500
- "examples": [
501
- "$ light merge-token-accounts --mint PublicKey"
502
- ],
500
+ "description": "Start gnark prover",
503
501
  "flags": {
504
- "mint": {
505
- "description": "Mint to merge accounts for",
506
- "name": "mint",
507
- "required": true,
508
- "hasDynamicHelp": false,
509
- "multiple": false,
510
- "type": "option"
502
+ "skip-prove-compressed-accounts": {
503
+ "char": "c",
504
+ "description": "Skip proving of compressed accounts.",
505
+ "name": "skip-prove-compressed-accounts",
506
+ "allowNo": false,
507
+ "type": "boolean"
511
508
  },
512
- "fee-payer": {
513
- "description": "Specify the fee-payer account. Defaults to the client keypair.",
514
- "name": "fee-payer",
509
+ "skip-prove-new-addresses": {
510
+ "char": "n",
511
+ "description": "Skip proving of new addresses.",
512
+ "name": "skip-prove-new-addresses",
513
+ "allowNo": false,
514
+ "type": "boolean"
515
+ },
516
+ "prover-port": {
517
+ "description": "Enable Light Prover server on this port.",
518
+ "name": "prover-port",
515
519
  "required": false,
520
+ "default": 3001,
516
521
  "hasDynamicHelp": false,
517
522
  "multiple": false,
518
523
  "type": "option"
@@ -520,102 +525,39 @@
520
525
  },
521
526
  "hasDynamicHelp": false,
522
527
  "hiddenAliases": [],
523
- "id": "merge-token-accounts",
528
+ "id": "start-prover",
524
529
  "pluginAlias": "@lightprotocol/zk-compression-cli",
525
530
  "pluginName": "@lightprotocol/zk-compression-cli",
526
531
  "pluginType": "core",
527
532
  "strict": true,
528
- "summary": "Merge all token accounts for a specific mint.",
529
533
  "enableJsonFlag": false,
530
534
  "isESM": false,
531
535
  "relativePath": [
532
536
  "dist",
533
537
  "commands",
534
- "merge-token-accounts",
538
+ "start-prover",
535
539
  "index.js"
536
540
  ]
537
541
  },
538
- "mint-to": {
542
+ "merge-token-accounts": {
539
543
  "aliases": [],
540
544
  "args": {},
541
545
  "examples": [
542
- "$ light mint-to --mint PublicKey --to PublicKey --amount 1000"
546
+ "$ light merge-token-accounts --mint PublicKey"
543
547
  ],
544
548
  "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
- },
553
549
  "mint": {
554
- "description": "Specify the mint address.",
550
+ "description": "Mint to merge accounts for",
555
551
  "name": "mint",
556
552
  "required": true,
557
553
  "hasDynamicHelp": false,
558
554
  "multiple": false,
559
555
  "type": "option"
560
556
  },
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"
576
- }
577
- },
578
- "hasDynamicHelp": false,
579
- "hiddenAliases": [],
580
- "id": "mint-to",
581
- "pluginAlias": "@lightprotocol/zk-compression-cli",
582
- "pluginName": "@lightprotocol/zk-compression-cli",
583
- "pluginType": "core",
584
- "strict": true,
585
- "summary": "Mint tokens to an account.",
586
- "enableJsonFlag": false,
587
- "isESM": false,
588
- "relativePath": [
589
- "dist",
590
- "commands",
591
- "mint-to",
592
- "index.js"
593
- ]
594
- },
595
- "start-prover": {
596
- "aliases": [],
597
- "args": {},
598
- "description": "Start gnark prover",
599
- "flags": {
600
- "skip-prove-compressed-accounts": {
601
- "char": "c",
602
- "description": "Skip proving of compressed accounts.",
603
- "name": "skip-prove-compressed-accounts",
604
- "allowNo": false,
605
- "type": "boolean"
606
- },
607
- "skip-prove-new-addresses": {
608
- "char": "n",
609
- "description": "Skip proving of new addresses.",
610
- "name": "skip-prove-new-addresses",
611
- "allowNo": false,
612
- "type": "boolean"
613
- },
614
- "prover-port": {
615
- "description": "Enable Light Prover server on this port.",
616
- "name": "prover-port",
557
+ "fee-payer": {
558
+ "description": "Specify the fee-payer account. Defaults to the client keypair.",
559
+ "name": "fee-payer",
617
560
  "required": false,
618
- "default": 3001,
619
561
  "hasDynamicHelp": false,
620
562
  "multiple": false,
621
563
  "type": "option"
@@ -623,17 +565,18 @@
623
565
  },
624
566
  "hasDynamicHelp": false,
625
567
  "hiddenAliases": [],
626
- "id": "start-prover",
568
+ "id": "merge-token-accounts",
627
569
  "pluginAlias": "@lightprotocol/zk-compression-cli",
628
570
  "pluginName": "@lightprotocol/zk-compression-cli",
629
571
  "pluginType": "core",
630
572
  "strict": true,
573
+ "summary": "Merge all token accounts for a specific mint.",
631
574
  "enableJsonFlag": false,
632
575
  "isESM": false,
633
576
  "relativePath": [
634
577
  "dist",
635
578
  "commands",
636
- "start-prover",
579
+ "merge-token-accounts",
637
580
  "index.js"
638
581
  ]
639
582
  },
@@ -773,6 +716,63 @@
773
716
  "index.js"
774
717
  ]
775
718
  },
719
+ "mint-to": {
720
+ "aliases": [],
721
+ "args": {},
722
+ "examples": [
723
+ "$ light mint-to --mint PublicKey --to PublicKey --amount 1000"
724
+ ],
725
+ "flags": {
726
+ "mint-authority": {
727
+ "description": "Specify the filepath of the mint authority keypair. Defaults to your local solana wallet.",
728
+ "name": "mint-authority",
729
+ "required": false,
730
+ "hasDynamicHelp": false,
731
+ "multiple": false,
732
+ "type": "option"
733
+ },
734
+ "mint": {
735
+ "description": "Specify the mint address.",
736
+ "name": "mint",
737
+ "required": true,
738
+ "hasDynamicHelp": false,
739
+ "multiple": false,
740
+ "type": "option"
741
+ },
742
+ "to": {
743
+ "description": "Specify the recipient address.",
744
+ "name": "to",
745
+ "required": true,
746
+ "hasDynamicHelp": false,
747
+ "multiple": false,
748
+ "type": "option"
749
+ },
750
+ "amount": {
751
+ "description": "Amount to mint, in tokens.",
752
+ "name": "amount",
753
+ "required": true,
754
+ "hasDynamicHelp": false,
755
+ "multiple": false,
756
+ "type": "option"
757
+ }
758
+ },
759
+ "hasDynamicHelp": false,
760
+ "hiddenAliases": [],
761
+ "id": "mint-to",
762
+ "pluginAlias": "@lightprotocol/zk-compression-cli",
763
+ "pluginName": "@lightprotocol/zk-compression-cli",
764
+ "pluginType": "core",
765
+ "strict": true,
766
+ "summary": "Mint tokens to an account.",
767
+ "enableJsonFlag": false,
768
+ "isESM": false,
769
+ "relativePath": [
770
+ "dist",
771
+ "commands",
772
+ "mint-to",
773
+ "index.js"
774
+ ]
775
+ },
776
776
  "transfer": {
777
777
  "aliases": [],
778
778
  "args": {},
@@ -831,5 +831,5 @@
831
831
  ]
832
832
  }
833
833
  },
834
- "version": "0.15.0"
834
+ "version": "0.15.1"
835
835
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lightprotocol/zk-compression-cli",
3
- "version": "0.15.0",
3
+ "version": "0.15.1",
4
4
  "description": "ZK Compression: Secure Scaling on Solana",
5
5
  "maintainers": [
6
6
  {
Binary file