@lightprotocol/zk-compression-cli 0.28.0-beta.4 → 0.28.0-beta.5

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 (2) hide show
  1. package/oclif.manifest.json +145 -145
  2. package/package.json +3 -3
@@ -90,15 +90,23 @@
90
90
  "index.js"
91
91
  ]
92
92
  },
93
- "compress-sol": {
93
+ "compress-spl": {
94
94
  "aliases": [],
95
95
  "args": {},
96
96
  "examples": [
97
- "$ light compress-sol --to PublicKey --amount 10"
97
+ "$ light compress-spl --mint PublicKey --to PublicKey --amount 10"
98
98
  ],
99
99
  "flags": {
100
+ "mint": {
101
+ "description": "Specify the mint address.",
102
+ "name": "mint",
103
+ "required": true,
104
+ "hasDynamicHelp": false,
105
+ "multiple": false,
106
+ "type": "option"
107
+ },
100
108
  "to": {
101
- "description": "Specify the recipient address.",
109
+ "description": "Specify the recipient address (owner of destination compressed token account).",
102
110
  "name": "to",
103
111
  "required": true,
104
112
  "hasDynamicHelp": false,
@@ -106,7 +114,7 @@
106
114
  "type": "option"
107
115
  },
108
116
  "amount": {
109
- "description": "Amount to compress, in lamports.",
117
+ "description": "Amount to compress, in tokens.",
110
118
  "name": "amount",
111
119
  "required": true,
112
120
  "hasDynamicHelp": false,
@@ -116,38 +124,30 @@
116
124
  },
117
125
  "hasDynamicHelp": false,
118
126
  "hiddenAliases": [],
119
- "id": "compress-sol",
127
+ "id": "compress-spl",
120
128
  "pluginAlias": "@lightprotocol/zk-compression-cli",
121
129
  "pluginName": "@lightprotocol/zk-compression-cli",
122
130
  "pluginType": "core",
123
131
  "strict": true,
124
- "summary": "Compress SOL.",
132
+ "summary": "Compress SPL tokens.",
125
133
  "enableJsonFlag": false,
126
134
  "isESM": false,
127
135
  "relativePath": [
128
136
  "dist",
129
137
  "commands",
130
- "compress-sol",
138
+ "compress-spl",
131
139
  "index.js"
132
140
  ]
133
141
  },
134
- "compress-spl": {
142
+ "compress-sol": {
135
143
  "aliases": [],
136
144
  "args": {},
137
145
  "examples": [
138
- "$ light compress-spl --mint PublicKey --to PublicKey --amount 10"
146
+ "$ light compress-sol --to PublicKey --amount 10"
139
147
  ],
140
148
  "flags": {
141
- "mint": {
142
- "description": "Specify the mint address.",
143
- "name": "mint",
144
- "required": true,
145
- "hasDynamicHelp": false,
146
- "multiple": false,
147
- "type": "option"
148
- },
149
149
  "to": {
150
- "description": "Specify the recipient address (owner of destination compressed token account).",
150
+ "description": "Specify the recipient address.",
151
151
  "name": "to",
152
152
  "required": true,
153
153
  "hasDynamicHelp": false,
@@ -155,7 +155,7 @@
155
155
  "type": "option"
156
156
  },
157
157
  "amount": {
158
- "description": "Amount to compress, in tokens.",
158
+ "description": "Amount to compress, in lamports.",
159
159
  "name": "amount",
160
160
  "required": true,
161
161
  "hasDynamicHelp": false,
@@ -165,18 +165,18 @@
165
165
  },
166
166
  "hasDynamicHelp": false,
167
167
  "hiddenAliases": [],
168
- "id": "compress-spl",
168
+ "id": "compress-sol",
169
169
  "pluginAlias": "@lightprotocol/zk-compression-cli",
170
170
  "pluginName": "@lightprotocol/zk-compression-cli",
171
171
  "pluginType": "core",
172
172
  "strict": true,
173
- "summary": "Compress SPL tokens.",
173
+ "summary": "Compress SOL.",
174
174
  "enableJsonFlag": false,
175
175
  "isESM": false,
176
176
  "relativePath": [
177
177
  "dist",
178
178
  "commands",
179
- "compress-spl",
179
+ "compress-sol",
180
180
  "index.js"
181
181
  ]
182
182
  },
@@ -527,23 +527,95 @@
527
527
  "index.js"
528
528
  ]
529
529
  },
530
- "mint-to": {
530
+ "start-prover": {
531
+ "aliases": [],
532
+ "args": {},
533
+ "description": "Start gnark prover",
534
+ "flags": {
535
+ "prover-port": {
536
+ "description": "Enable Light Prover server on this port.",
537
+ "name": "prover-port",
538
+ "required": false,
539
+ "default": 3001,
540
+ "hasDynamicHelp": false,
541
+ "multiple": false,
542
+ "type": "option"
543
+ },
544
+ "redisUrl": {
545
+ "description": "Redis URL to use for the prover (e.g. redis://localhost:6379)",
546
+ "name": "redisUrl",
547
+ "required": false,
548
+ "hasDynamicHelp": false,
549
+ "multiple": false,
550
+ "type": "option"
551
+ }
552
+ },
553
+ "hasDynamicHelp": false,
554
+ "hiddenAliases": [],
555
+ "id": "start-prover",
556
+ "pluginAlias": "@lightprotocol/zk-compression-cli",
557
+ "pluginName": "@lightprotocol/zk-compression-cli",
558
+ "pluginType": "core",
559
+ "strict": true,
560
+ "enableJsonFlag": false,
561
+ "isESM": false,
562
+ "relativePath": [
563
+ "dist",
564
+ "commands",
565
+ "start-prover",
566
+ "index.js"
567
+ ]
568
+ },
569
+ "token-balance": {
531
570
  "aliases": [],
532
571
  "args": {},
533
572
  "examples": [
534
- "$ light mint-to --mint PublicKey --to PublicKey --amount 1000"
573
+ "$ light token-balance --mint=<ADDRESS> --owner=<ADDRESS>"
535
574
  ],
536
575
  "flags": {
537
- "mint-authority": {
538
- "description": "Specify the filepath of the mint authority keypair. Defaults to your local solana wallet.",
539
- "name": "mint-authority",
540
- "required": false,
576
+ "owner": {
577
+ "description": "Address of the compressed token owner.",
578
+ "name": "owner",
579
+ "required": true,
541
580
  "hasDynamicHelp": false,
542
581
  "multiple": false,
543
582
  "type": "option"
544
583
  },
545
584
  "mint": {
546
- "description": "Specify the mint address.",
585
+ "description": "Mint address of the compressed token account.",
586
+ "name": "mint",
587
+ "required": true,
588
+ "hasDynamicHelp": false,
589
+ "multiple": false,
590
+ "type": "option"
591
+ }
592
+ },
593
+ "hasDynamicHelp": false,
594
+ "hiddenAliases": [],
595
+ "id": "token-balance",
596
+ "pluginAlias": "@lightprotocol/zk-compression-cli",
597
+ "pluginName": "@lightprotocol/zk-compression-cli",
598
+ "pluginType": "core",
599
+ "strict": true,
600
+ "summary": "Get balance",
601
+ "enableJsonFlag": false,
602
+ "isESM": false,
603
+ "relativePath": [
604
+ "dist",
605
+ "commands",
606
+ "token-balance",
607
+ "index.js"
608
+ ]
609
+ },
610
+ "transfer": {
611
+ "aliases": [],
612
+ "args": {},
613
+ "examples": [
614
+ "$ light transfer --mint PublicKey --to PublicKey --amount 1000"
615
+ ],
616
+ "flags": {
617
+ "mint": {
618
+ "description": "Mint to transfer",
547
619
  "name": "mint",
548
620
  "required": true,
549
621
  "hasDynamicHelp": false,
@@ -551,7 +623,7 @@
551
623
  "type": "option"
552
624
  },
553
625
  "to": {
554
- "description": "Specify the recipient address.",
626
+ "description": "Recipient address",
555
627
  "name": "to",
556
628
  "required": true,
557
629
  "hasDynamicHelp": false,
@@ -559,49 +631,74 @@
559
631
  "type": "option"
560
632
  },
561
633
  "amount": {
562
- "description": "Amount to mint, in tokens.",
634
+ "description": "Amount to send, in tokens",
563
635
  "name": "amount",
564
636
  "required": true,
565
637
  "hasDynamicHelp": false,
566
638
  "multiple": false,
567
639
  "type": "option"
640
+ },
641
+ "fee-payer": {
642
+ "description": "Specify the fee-payer account. Defaults to the client keypair.",
643
+ "name": "fee-payer",
644
+ "required": false,
645
+ "hasDynamicHelp": false,
646
+ "multiple": false,
647
+ "type": "option"
568
648
  }
569
649
  },
570
650
  "hasDynamicHelp": false,
571
651
  "hiddenAliases": [],
572
- "id": "mint-to",
652
+ "id": "transfer",
573
653
  "pluginAlias": "@lightprotocol/zk-compression-cli",
574
654
  "pluginName": "@lightprotocol/zk-compression-cli",
575
655
  "pluginType": "core",
576
656
  "strict": true,
577
- "summary": "Mint tokens to an account.",
657
+ "summary": "Transfer tokens from one account to another.",
578
658
  "enableJsonFlag": false,
579
659
  "isESM": false,
580
660
  "relativePath": [
581
661
  "dist",
582
662
  "commands",
583
- "mint-to",
663
+ "transfer",
584
664
  "index.js"
585
665
  ]
586
666
  },
587
- "start-prover": {
667
+ "mint-to": {
588
668
  "aliases": [],
589
669
  "args": {},
590
- "description": "Start gnark prover",
670
+ "examples": [
671
+ "$ light mint-to --mint PublicKey --to PublicKey --amount 1000"
672
+ ],
591
673
  "flags": {
592
- "prover-port": {
593
- "description": "Enable Light Prover server on this port.",
594
- "name": "prover-port",
674
+ "mint-authority": {
675
+ "description": "Specify the filepath of the mint authority keypair. Defaults to your local solana wallet.",
676
+ "name": "mint-authority",
595
677
  "required": false,
596
- "default": 3001,
597
678
  "hasDynamicHelp": false,
598
679
  "multiple": false,
599
680
  "type": "option"
600
681
  },
601
- "redisUrl": {
602
- "description": "Redis URL to use for the prover (e.g. redis://localhost:6379)",
603
- "name": "redisUrl",
604
- "required": false,
682
+ "mint": {
683
+ "description": "Specify the mint address.",
684
+ "name": "mint",
685
+ "required": true,
686
+ "hasDynamicHelp": false,
687
+ "multiple": false,
688
+ "type": "option"
689
+ },
690
+ "to": {
691
+ "description": "Specify the recipient address.",
692
+ "name": "to",
693
+ "required": true,
694
+ "hasDynamicHelp": false,
695
+ "multiple": false,
696
+ "type": "option"
697
+ },
698
+ "amount": {
699
+ "description": "Amount to mint, in tokens.",
700
+ "name": "amount",
701
+ "required": true,
605
702
  "hasDynamicHelp": false,
606
703
  "multiple": false,
607
704
  "type": "option"
@@ -609,17 +706,18 @@
609
706
  },
610
707
  "hasDynamicHelp": false,
611
708
  "hiddenAliases": [],
612
- "id": "start-prover",
709
+ "id": "mint-to",
613
710
  "pluginAlias": "@lightprotocol/zk-compression-cli",
614
711
  "pluginName": "@lightprotocol/zk-compression-cli",
615
712
  "pluginType": "core",
616
713
  "strict": true,
714
+ "summary": "Mint tokens to an account.",
617
715
  "enableJsonFlag": false,
618
716
  "isESM": false,
619
717
  "relativePath": [
620
718
  "dist",
621
719
  "commands",
622
- "start-prover",
720
+ "mint-to",
623
721
  "index.js"
624
722
  ]
625
723
  },
@@ -818,105 +916,7 @@
818
916
  "test-validator",
819
917
  "index.js"
820
918
  ]
821
- },
822
- "transfer": {
823
- "aliases": [],
824
- "args": {},
825
- "examples": [
826
- "$ light transfer --mint PublicKey --to PublicKey --amount 1000"
827
- ],
828
- "flags": {
829
- "mint": {
830
- "description": "Mint to transfer",
831
- "name": "mint",
832
- "required": true,
833
- "hasDynamicHelp": false,
834
- "multiple": false,
835
- "type": "option"
836
- },
837
- "to": {
838
- "description": "Recipient address",
839
- "name": "to",
840
- "required": true,
841
- "hasDynamicHelp": false,
842
- "multiple": false,
843
- "type": "option"
844
- },
845
- "amount": {
846
- "description": "Amount to send, in tokens",
847
- "name": "amount",
848
- "required": true,
849
- "hasDynamicHelp": false,
850
- "multiple": false,
851
- "type": "option"
852
- },
853
- "fee-payer": {
854
- "description": "Specify the fee-payer account. Defaults to the client keypair.",
855
- "name": "fee-payer",
856
- "required": false,
857
- "hasDynamicHelp": false,
858
- "multiple": false,
859
- "type": "option"
860
- }
861
- },
862
- "hasDynamicHelp": false,
863
- "hiddenAliases": [],
864
- "id": "transfer",
865
- "pluginAlias": "@lightprotocol/zk-compression-cli",
866
- "pluginName": "@lightprotocol/zk-compression-cli",
867
- "pluginType": "core",
868
- "strict": true,
869
- "summary": "Transfer tokens from one account to another.",
870
- "enableJsonFlag": false,
871
- "isESM": false,
872
- "relativePath": [
873
- "dist",
874
- "commands",
875
- "transfer",
876
- "index.js"
877
- ]
878
- },
879
- "token-balance": {
880
- "aliases": [],
881
- "args": {},
882
- "examples": [
883
- "$ light token-balance --mint=<ADDRESS> --owner=<ADDRESS>"
884
- ],
885
- "flags": {
886
- "owner": {
887
- "description": "Address of the compressed token owner.",
888
- "name": "owner",
889
- "required": true,
890
- "hasDynamicHelp": false,
891
- "multiple": false,
892
- "type": "option"
893
- },
894
- "mint": {
895
- "description": "Mint address of the compressed token account.",
896
- "name": "mint",
897
- "required": true,
898
- "hasDynamicHelp": false,
899
- "multiple": false,
900
- "type": "option"
901
- }
902
- },
903
- "hasDynamicHelp": false,
904
- "hiddenAliases": [],
905
- "id": "token-balance",
906
- "pluginAlias": "@lightprotocol/zk-compression-cli",
907
- "pluginName": "@lightprotocol/zk-compression-cli",
908
- "pluginType": "core",
909
- "strict": true,
910
- "summary": "Get balance",
911
- "enableJsonFlag": false,
912
- "isESM": false,
913
- "relativePath": [
914
- "dist",
915
- "commands",
916
- "token-balance",
917
- "index.js"
918
- ]
919
919
  }
920
920
  },
921
- "version": "0.28.0-beta.4"
921
+ "version": "0.28.0-beta.5"
922
922
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lightprotocol/zk-compression-cli",
3
- "version": "0.28.0-beta.4",
3
+ "version": "0.28.0-beta.5",
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.4",
53
- "@lightprotocol/stateless.js": "0.23.0-beta.4"
52
+ "@lightprotocol/compressed-token": "0.23.0-beta.5",
53
+ "@lightprotocol/stateless.js": "0.23.0-beta.5"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@eslint/js": "9.36.0",