@lightprotocol/zk-compression-cli 0.28.0-beta.1 → 0.28.0-beta.3

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 +147 -147
  2. package/package.json +3 -3
@@ -131,60 +131,56 @@
131
131
  "index.js"
132
132
  ]
133
133
  },
134
- "config:config": {
134
+ "compress-spl": {
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",
138
137
  "examples": [
139
- "$ light config --solanaRpcUrl https://solana-api.example.com"
138
+ "$ light compress-spl --mint PublicKey --to PublicKey --amount 10"
140
139
  ],
141
140
  "flags": {
142
- "solanaRpcUrl": {
143
- "description": "Solana RPC url",
144
- "name": "solanaRpcUrl",
141
+ "mint": {
142
+ "description": "Specify the mint address.",
143
+ "name": "mint",
144
+ "required": true,
145
145
  "hasDynamicHelp": false,
146
146
  "multiple": false,
147
147
  "type": "option"
148
148
  },
149
- "indexerUrl": {
150
- "description": "Indexer url",
151
- "name": "indexerUrl",
149
+ "to": {
150
+ "description": "Specify the recipient address (owner of destination compressed token account).",
151
+ "name": "to",
152
+ "required": true,
152
153
  "hasDynamicHelp": false,
153
154
  "multiple": false,
154
155
  "type": "option"
155
156
  },
156
- "proverUrl": {
157
- "description": "Prover url",
158
- "name": "proverUrl",
157
+ "amount": {
158
+ "description": "Amount to compress, in tokens.",
159
+ "name": "amount",
160
+ "required": true,
159
161
  "hasDynamicHelp": false,
160
162
  "multiple": false,
161
163
  "type": "option"
162
- },
163
- "get": {
164
- "description": "Gets the current config values",
165
- "name": "get",
166
- "required": false,
167
- "allowNo": false,
168
- "type": "boolean"
169
164
  }
170
165
  },
171
166
  "hasDynamicHelp": false,
172
167
  "hiddenAliases": [],
173
- "id": "config:config",
168
+ "id": "compress-spl",
174
169
  "pluginAlias": "@lightprotocol/zk-compression-cli",
175
170
  "pluginName": "@lightprotocol/zk-compression-cli",
176
171
  "pluginType": "core",
177
172
  "strict": true,
173
+ "summary": "Compress SPL tokens.",
178
174
  "enableJsonFlag": false,
179
175
  "isESM": false,
180
176
  "relativePath": [
181
177
  "dist",
182
178
  "commands",
183
- "config",
179
+ "compress-spl",
184
180
  "index.js"
185
181
  ]
186
182
  },
187
- "config": {
183
+ "config:config": {
188
184
  "aliases": [],
189
185
  "args": {},
190
186
  "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",
@@ -223,7 +219,7 @@
223
219
  },
224
220
  "hasDynamicHelp": false,
225
221
  "hiddenAliases": [],
226
- "id": "config",
222
+ "id": "config:config",
227
223
  "pluginAlias": "@lightprotocol/zk-compression-cli",
228
224
  "pluginName": "@lightprotocol/zk-compression-cli",
229
225
  "pluginType": "core",
@@ -237,52 +233,56 @@
237
233
  "index.js"
238
234
  ]
239
235
  },
240
- "compress-spl": {
236
+ "config": {
241
237
  "aliases": [],
242
238
  "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",
243
240
  "examples": [
244
- "$ light compress-spl --mint PublicKey --to PublicKey --amount 10"
241
+ "$ light config --solanaRpcUrl https://solana-api.example.com"
245
242
  ],
246
243
  "flags": {
247
- "mint": {
248
- "description": "Specify the mint address.",
249
- "name": "mint",
250
- "required": true,
244
+ "solanaRpcUrl": {
245
+ "description": "Solana RPC url",
246
+ "name": "solanaRpcUrl",
251
247
  "hasDynamicHelp": false,
252
248
  "multiple": false,
253
249
  "type": "option"
254
250
  },
255
- "to": {
256
- "description": "Specify the recipient address (owner of destination compressed token account).",
257
- "name": "to",
258
- "required": true,
251
+ "indexerUrl": {
252
+ "description": "Indexer url",
253
+ "name": "indexerUrl",
259
254
  "hasDynamicHelp": false,
260
255
  "multiple": false,
261
256
  "type": "option"
262
257
  },
263
- "amount": {
264
- "description": "Amount to compress, in tokens.",
265
- "name": "amount",
266
- "required": true,
258
+ "proverUrl": {
259
+ "description": "Prover url",
260
+ "name": "proverUrl",
267
261
  "hasDynamicHelp": false,
268
262
  "multiple": false,
269
263
  "type": "option"
264
+ },
265
+ "get": {
266
+ "description": "Gets the current config values",
267
+ "name": "get",
268
+ "required": false,
269
+ "allowNo": false,
270
+ "type": "boolean"
270
271
  }
271
272
  },
272
273
  "hasDynamicHelp": false,
273
274
  "hiddenAliases": [],
274
- "id": "compress-spl",
275
+ "id": "config",
275
276
  "pluginAlias": "@lightprotocol/zk-compression-cli",
276
277
  "pluginName": "@lightprotocol/zk-compression-cli",
277
278
  "pluginType": "core",
278
279
  "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
- "compress-spl",
285
+ "config",
286
286
  "index.js"
287
287
  ]
288
288
  },
@@ -527,102 +527,6 @@
527
527
  "index.js"
528
528
  ]
529
529
  },
530
- "mint-to": {
531
- "aliases": [],
532
- "args": {},
533
- "examples": [
534
- "$ light mint-to --mint PublicKey --to PublicKey --amount 1000"
535
- ],
536
- "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,
541
- "hasDynamicHelp": false,
542
- "multiple": false,
543
- "type": "option"
544
- },
545
- "mint": {
546
- "description": "Specify the mint address.",
547
- "name": "mint",
548
- "required": true,
549
- "hasDynamicHelp": false,
550
- "multiple": false,
551
- "type": "option"
552
- },
553
- "to": {
554
- "description": "Specify the recipient address.",
555
- "name": "to",
556
- "required": true,
557
- "hasDynamicHelp": false,
558
- "multiple": false,
559
- "type": "option"
560
- },
561
- "amount": {
562
- "description": "Amount to mint, in tokens.",
563
- "name": "amount",
564
- "required": true,
565
- "hasDynamicHelp": false,
566
- "multiple": false,
567
- "type": "option"
568
- }
569
- },
570
- "hasDynamicHelp": false,
571
- "hiddenAliases": [],
572
- "id": "mint-to",
573
- "pluginAlias": "@lightprotocol/zk-compression-cli",
574
- "pluginName": "@lightprotocol/zk-compression-cli",
575
- "pluginType": "core",
576
- "strict": true,
577
- "summary": "Mint tokens to an account.",
578
- "enableJsonFlag": false,
579
- "isESM": false,
580
- "relativePath": [
581
- "dist",
582
- "commands",
583
- "mint-to",
584
- "index.js"
585
- ]
586
- },
587
- "start-prover": {
588
- "aliases": [],
589
- "args": {},
590
- "description": "Start gnark prover",
591
- "flags": {
592
- "prover-port": {
593
- "description": "Enable Light Prover server on this port.",
594
- "name": "prover-port",
595
- "required": false,
596
- "default": 3001,
597
- "hasDynamicHelp": false,
598
- "multiple": false,
599
- "type": "option"
600
- },
601
- "redisUrl": {
602
- "description": "Redis URL to use for the prover (e.g. redis://localhost:6379)",
603
- "name": "redisUrl",
604
- "required": false,
605
- "hasDynamicHelp": false,
606
- "multiple": false,
607
- "type": "option"
608
- }
609
- },
610
- "hasDynamicHelp": false,
611
- "hiddenAliases": [],
612
- "id": "start-prover",
613
- "pluginAlias": "@lightprotocol/zk-compression-cli",
614
- "pluginName": "@lightprotocol/zk-compression-cli",
615
- "pluginType": "core",
616
- "strict": true,
617
- "enableJsonFlag": false,
618
- "isESM": false,
619
- "relativePath": [
620
- "dist",
621
- "commands",
622
- "start-prover",
623
- "index.js"
624
- ]
625
- },
626
530
  "test-validator": {
627
531
  "aliases": [],
628
532
  "args": {},
@@ -819,44 +723,99 @@
819
723
  "index.js"
820
724
  ]
821
725
  },
822
- "token-balance": {
726
+ "mint-to": {
823
727
  "aliases": [],
824
728
  "args": {},
825
729
  "examples": [
826
- "$ light token-balance --mint=<ADDRESS> --owner=<ADDRESS>"
730
+ "$ light mint-to --mint PublicKey --to PublicKey --amount 1000"
827
731
  ],
828
732
  "flags": {
829
- "owner": {
830
- "description": "Address of the compressed token owner.",
831
- "name": "owner",
832
- "required": true,
733
+ "mint-authority": {
734
+ "description": "Specify the filepath of the mint authority keypair. Defaults to your local solana wallet.",
735
+ "name": "mint-authority",
736
+ "required": false,
833
737
  "hasDynamicHelp": false,
834
738
  "multiple": false,
835
739
  "type": "option"
836
740
  },
837
741
  "mint": {
838
- "description": "Mint address of the compressed token account.",
742
+ "description": "Specify the mint address.",
839
743
  "name": "mint",
840
744
  "required": true,
841
745
  "hasDynamicHelp": false,
842
746
  "multiple": false,
843
747
  "type": "option"
748
+ },
749
+ "to": {
750
+ "description": "Specify the recipient address.",
751
+ "name": "to",
752
+ "required": true,
753
+ "hasDynamicHelp": false,
754
+ "multiple": false,
755
+ "type": "option"
756
+ },
757
+ "amount": {
758
+ "description": "Amount to mint, in tokens.",
759
+ "name": "amount",
760
+ "required": true,
761
+ "hasDynamicHelp": false,
762
+ "multiple": false,
763
+ "type": "option"
844
764
  }
845
765
  },
846
766
  "hasDynamicHelp": false,
847
767
  "hiddenAliases": [],
848
- "id": "token-balance",
768
+ "id": "mint-to",
849
769
  "pluginAlias": "@lightprotocol/zk-compression-cli",
850
770
  "pluginName": "@lightprotocol/zk-compression-cli",
851
771
  "pluginType": "core",
852
772
  "strict": true,
853
- "summary": "Get balance",
773
+ "summary": "Mint tokens to an account.",
854
774
  "enableJsonFlag": false,
855
775
  "isESM": false,
856
776
  "relativePath": [
857
777
  "dist",
858
778
  "commands",
859
- "token-balance",
779
+ "mint-to",
780
+ "index.js"
781
+ ]
782
+ },
783
+ "start-prover": {
784
+ "aliases": [],
785
+ "args": {},
786
+ "description": "Start gnark prover",
787
+ "flags": {
788
+ "prover-port": {
789
+ "description": "Enable Light Prover server on this port.",
790
+ "name": "prover-port",
791
+ "required": false,
792
+ "default": 3001,
793
+ "hasDynamicHelp": false,
794
+ "multiple": false,
795
+ "type": "option"
796
+ },
797
+ "redisUrl": {
798
+ "description": "Redis URL to use for the prover (e.g. redis://localhost:6379)",
799
+ "name": "redisUrl",
800
+ "required": false,
801
+ "hasDynamicHelp": false,
802
+ "multiple": false,
803
+ "type": "option"
804
+ }
805
+ },
806
+ "hasDynamicHelp": false,
807
+ "hiddenAliases": [],
808
+ "id": "start-prover",
809
+ "pluginAlias": "@lightprotocol/zk-compression-cli",
810
+ "pluginName": "@lightprotocol/zk-compression-cli",
811
+ "pluginType": "core",
812
+ "strict": true,
813
+ "enableJsonFlag": false,
814
+ "isESM": false,
815
+ "relativePath": [
816
+ "dist",
817
+ "commands",
818
+ "start-prover",
860
819
  "index.js"
861
820
  ]
862
821
  },
@@ -916,7 +875,48 @@
916
875
  "transfer",
917
876
  "index.js"
918
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.1"
921
+ "version": "0.28.0-beta.3"
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.1",
3
+ "version": "0.28.0-beta.3",
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.1",
53
- "@lightprotocol/stateless.js": "0.23.0-beta.1"
52
+ "@lightprotocol/compressed-token": "0.23.0-beta.3",
53
+ "@lightprotocol/stateless.js": "0.23.0-beta.3"
54
54
  },
55
55
  "devDependencies": {
56
56
  "@eslint/js": "9.36.0",