@lightprotocol/zk-compression-cli 0.28.0-beta.8 → 0.28.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.
|
Binary file
|
|
@@ -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";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export declare const PHOTON_VERSION = "0.51.2";
|
|
2
|
-
export declare const PHOTON_GIT_COMMIT = "
|
|
2
|
+
export declare const PHOTON_GIT_COMMIT = "7a649f9c45a138ef47b090445163abe84775145c";
|
|
3
3
|
export declare const PHOTON_GIT_REPO = "https://github.com/lightprotocol/photon.git";
|
|
@@ -3,5 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.PHOTON_GIT_REPO = exports.PHOTON_GIT_COMMIT = exports.PHOTON_VERSION = void 0;
|
|
4
4
|
// Auto-generated from external/photon submodule - do not edit manually
|
|
5
5
|
exports.PHOTON_VERSION = "0.51.2";
|
|
6
|
-
exports.PHOTON_GIT_COMMIT = "
|
|
6
|
+
exports.PHOTON_GIT_COMMIT = "7a649f9c45a138ef47b090445163abe84775145c";
|
|
7
7
|
exports.PHOTON_GIT_REPO = "https://github.com/lightprotocol/photon.git";
|
package/oclif.manifest.json
CHANGED
|
@@ -57,16 +57,24 @@
|
|
|
57
57
|
"index.js"
|
|
58
58
|
]
|
|
59
59
|
},
|
|
60
|
-
"
|
|
60
|
+
"compress-sol": {
|
|
61
61
|
"aliases": [],
|
|
62
62
|
"args": {},
|
|
63
63
|
"examples": [
|
|
64
|
-
"$ light
|
|
64
|
+
"$ light compress-sol --to PublicKey --amount 10"
|
|
65
65
|
],
|
|
66
66
|
"flags": {
|
|
67
|
-
"
|
|
68
|
-
"description": "
|
|
69
|
-
"name": "
|
|
67
|
+
"to": {
|
|
68
|
+
"description": "Specify the recipient address.",
|
|
69
|
+
"name": "to",
|
|
70
|
+
"required": true,
|
|
71
|
+
"hasDynamicHelp": false,
|
|
72
|
+
"multiple": false,
|
|
73
|
+
"type": "option"
|
|
74
|
+
},
|
|
75
|
+
"amount": {
|
|
76
|
+
"description": "Amount to compress, in lamports.",
|
|
77
|
+
"name": "amount",
|
|
70
78
|
"required": true,
|
|
71
79
|
"hasDynamicHelp": false,
|
|
72
80
|
"multiple": false,
|
|
@@ -75,39 +83,31 @@
|
|
|
75
83
|
},
|
|
76
84
|
"hasDynamicHelp": false,
|
|
77
85
|
"hiddenAliases": [],
|
|
78
|
-
"id": "
|
|
86
|
+
"id": "compress-sol",
|
|
79
87
|
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
80
88
|
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
81
89
|
"pluginType": "core",
|
|
82
90
|
"strict": true,
|
|
83
|
-
"summary": "
|
|
91
|
+
"summary": "Compress SOL.",
|
|
84
92
|
"enableJsonFlag": false,
|
|
85
93
|
"isESM": false,
|
|
86
94
|
"relativePath": [
|
|
87
95
|
"dist",
|
|
88
96
|
"commands",
|
|
89
|
-
"
|
|
97
|
+
"compress-sol",
|
|
90
98
|
"index.js"
|
|
91
99
|
]
|
|
92
100
|
},
|
|
93
|
-
"
|
|
101
|
+
"balance": {
|
|
94
102
|
"aliases": [],
|
|
95
103
|
"args": {},
|
|
96
104
|
"examples": [
|
|
97
|
-
"$ light
|
|
105
|
+
"$ light balance --owner=<ADDRESS>"
|
|
98
106
|
],
|
|
99
107
|
"flags": {
|
|
100
|
-
"
|
|
101
|
-
"description": "
|
|
102
|
-
"name": "
|
|
103
|
-
"required": true,
|
|
104
|
-
"hasDynamicHelp": false,
|
|
105
|
-
"multiple": false,
|
|
106
|
-
"type": "option"
|
|
107
|
-
},
|
|
108
|
-
"amount": {
|
|
109
|
-
"description": "Amount to compress, in lamports.",
|
|
110
|
-
"name": "amount",
|
|
108
|
+
"owner": {
|
|
109
|
+
"description": "Address of the owner.",
|
|
110
|
+
"name": "owner",
|
|
111
111
|
"required": true,
|
|
112
112
|
"hasDynamicHelp": false,
|
|
113
113
|
"multiple": false,
|
|
@@ -116,18 +116,18 @@
|
|
|
116
116
|
},
|
|
117
117
|
"hasDynamicHelp": false,
|
|
118
118
|
"hiddenAliases": [],
|
|
119
|
-
"id": "
|
|
119
|
+
"id": "balance",
|
|
120
120
|
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
121
121
|
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
122
122
|
"pluginType": "core",
|
|
123
123
|
"strict": true,
|
|
124
|
-
"summary": "
|
|
124
|
+
"summary": "Get compressed SOL balance",
|
|
125
125
|
"enableJsonFlag": false,
|
|
126
126
|
"isESM": false,
|
|
127
127
|
"relativePath": [
|
|
128
128
|
"dist",
|
|
129
129
|
"commands",
|
|
130
|
-
"
|
|
130
|
+
"balance",
|
|
131
131
|
"index.js"
|
|
132
132
|
]
|
|
133
133
|
},
|
|
@@ -369,23 +369,15 @@
|
|
|
369
369
|
"index.js"
|
|
370
370
|
]
|
|
371
371
|
},
|
|
372
|
-
"decompress-
|
|
372
|
+
"decompress-sol": {
|
|
373
373
|
"aliases": [],
|
|
374
374
|
"args": {},
|
|
375
375
|
"examples": [
|
|
376
|
-
"$ light decompress-
|
|
376
|
+
"$ light decompress-sol --to PublicKey --amount 10"
|
|
377
377
|
],
|
|
378
378
|
"flags": {
|
|
379
|
-
"mint": {
|
|
380
|
-
"description": "Specify the mint address.",
|
|
381
|
-
"name": "mint",
|
|
382
|
-
"required": true,
|
|
383
|
-
"hasDynamicHelp": false,
|
|
384
|
-
"multiple": false,
|
|
385
|
-
"type": "option"
|
|
386
|
-
},
|
|
387
379
|
"to": {
|
|
388
|
-
"description": "Specify the recipient address.
|
|
380
|
+
"description": "Specify the recipient address.",
|
|
389
381
|
"name": "to",
|
|
390
382
|
"required": true,
|
|
391
383
|
"hasDynamicHelp": false,
|
|
@@ -393,7 +385,7 @@
|
|
|
393
385
|
"type": "option"
|
|
394
386
|
},
|
|
395
387
|
"amount": {
|
|
396
|
-
"description": "Amount to decompress, in
|
|
388
|
+
"description": "Amount to decompress, in lamports.",
|
|
397
389
|
"name": "amount",
|
|
398
390
|
"required": true,
|
|
399
391
|
"hasDynamicHelp": false,
|
|
@@ -403,30 +395,38 @@
|
|
|
403
395
|
},
|
|
404
396
|
"hasDynamicHelp": false,
|
|
405
397
|
"hiddenAliases": [],
|
|
406
|
-
"id": "decompress-
|
|
398
|
+
"id": "decompress-sol",
|
|
407
399
|
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
408
400
|
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
409
401
|
"pluginType": "core",
|
|
410
402
|
"strict": true,
|
|
411
|
-
"summary": "Decompress
|
|
403
|
+
"summary": "Decompress SOL.",
|
|
412
404
|
"enableJsonFlag": false,
|
|
413
405
|
"isESM": false,
|
|
414
406
|
"relativePath": [
|
|
415
407
|
"dist",
|
|
416
408
|
"commands",
|
|
417
|
-
"decompress-
|
|
409
|
+
"decompress-sol",
|
|
418
410
|
"index.js"
|
|
419
411
|
]
|
|
420
412
|
},
|
|
421
|
-
"decompress-
|
|
413
|
+
"decompress-spl": {
|
|
422
414
|
"aliases": [],
|
|
423
415
|
"args": {},
|
|
424
416
|
"examples": [
|
|
425
|
-
"$ light decompress-
|
|
417
|
+
"$ light decompress-spl --mint PublicKey --to PublicKey --amount 10"
|
|
426
418
|
],
|
|
427
419
|
"flags": {
|
|
420
|
+
"mint": {
|
|
421
|
+
"description": "Specify the mint address.",
|
|
422
|
+
"name": "mint",
|
|
423
|
+
"required": true,
|
|
424
|
+
"hasDynamicHelp": false,
|
|
425
|
+
"multiple": false,
|
|
426
|
+
"type": "option"
|
|
427
|
+
},
|
|
428
428
|
"to": {
|
|
429
|
-
"description": "Specify the recipient address.",
|
|
429
|
+
"description": "Specify the recipient address. (owner of destination token account)",
|
|
430
430
|
"name": "to",
|
|
431
431
|
"required": true,
|
|
432
432
|
"hasDynamicHelp": false,
|
|
@@ -434,7 +434,7 @@
|
|
|
434
434
|
"type": "option"
|
|
435
435
|
},
|
|
436
436
|
"amount": {
|
|
437
|
-
"description": "Amount to decompress, in
|
|
437
|
+
"description": "Amount to decompress, in tokens.",
|
|
438
438
|
"name": "amount",
|
|
439
439
|
"required": true,
|
|
440
440
|
"hasDynamicHelp": false,
|
|
@@ -444,18 +444,18 @@
|
|
|
444
444
|
},
|
|
445
445
|
"hasDynamicHelp": false,
|
|
446
446
|
"hiddenAliases": [],
|
|
447
|
-
"id": "decompress-
|
|
447
|
+
"id": "decompress-spl",
|
|
448
448
|
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
449
449
|
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
450
450
|
"pluginType": "core",
|
|
451
451
|
"strict": true,
|
|
452
|
-
"summary": "Decompress
|
|
452
|
+
"summary": "Decompress into SPL tokens.",
|
|
453
453
|
"enableJsonFlag": false,
|
|
454
454
|
"isESM": false,
|
|
455
455
|
"relativePath": [
|
|
456
456
|
"dist",
|
|
457
457
|
"commands",
|
|
458
|
-
"decompress-
|
|
458
|
+
"decompress-spl",
|
|
459
459
|
"index.js"
|
|
460
460
|
]
|
|
461
461
|
},
|
|
@@ -527,63 +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
530
|
"start-prover": {
|
|
588
531
|
"aliases": [],
|
|
589
532
|
"args": {},
|
|
@@ -898,6 +841,63 @@
|
|
|
898
841
|
"index.js"
|
|
899
842
|
]
|
|
900
843
|
},
|
|
844
|
+
"mint-to": {
|
|
845
|
+
"aliases": [],
|
|
846
|
+
"args": {},
|
|
847
|
+
"examples": [
|
|
848
|
+
"$ light mint-to --mint PublicKey --to PublicKey --amount 1000"
|
|
849
|
+
],
|
|
850
|
+
"flags": {
|
|
851
|
+
"mint-authority": {
|
|
852
|
+
"description": "Specify the filepath of the mint authority keypair. Defaults to your local solana wallet.",
|
|
853
|
+
"name": "mint-authority",
|
|
854
|
+
"required": false,
|
|
855
|
+
"hasDynamicHelp": false,
|
|
856
|
+
"multiple": false,
|
|
857
|
+
"type": "option"
|
|
858
|
+
},
|
|
859
|
+
"mint": {
|
|
860
|
+
"description": "Specify the mint address.",
|
|
861
|
+
"name": "mint",
|
|
862
|
+
"required": true,
|
|
863
|
+
"hasDynamicHelp": false,
|
|
864
|
+
"multiple": false,
|
|
865
|
+
"type": "option"
|
|
866
|
+
},
|
|
867
|
+
"to": {
|
|
868
|
+
"description": "Specify the recipient address.",
|
|
869
|
+
"name": "to",
|
|
870
|
+
"required": true,
|
|
871
|
+
"hasDynamicHelp": false,
|
|
872
|
+
"multiple": false,
|
|
873
|
+
"type": "option"
|
|
874
|
+
},
|
|
875
|
+
"amount": {
|
|
876
|
+
"description": "Amount to mint, in tokens.",
|
|
877
|
+
"name": "amount",
|
|
878
|
+
"required": true,
|
|
879
|
+
"hasDynamicHelp": false,
|
|
880
|
+
"multiple": false,
|
|
881
|
+
"type": "option"
|
|
882
|
+
}
|
|
883
|
+
},
|
|
884
|
+
"hasDynamicHelp": false,
|
|
885
|
+
"hiddenAliases": [],
|
|
886
|
+
"id": "mint-to",
|
|
887
|
+
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
888
|
+
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
889
|
+
"pluginType": "core",
|
|
890
|
+
"strict": true,
|
|
891
|
+
"summary": "Mint tokens to an account.",
|
|
892
|
+
"enableJsonFlag": false,
|
|
893
|
+
"isESM": false,
|
|
894
|
+
"relativePath": [
|
|
895
|
+
"dist",
|
|
896
|
+
"commands",
|
|
897
|
+
"mint-to",
|
|
898
|
+
"index.js"
|
|
899
|
+
]
|
|
900
|
+
},
|
|
901
901
|
"transfer": {
|
|
902
902
|
"aliases": [],
|
|
903
903
|
"args": {},
|
|
@@ -956,5 +956,5 @@
|
|
|
956
956
|
]
|
|
957
957
|
}
|
|
958
958
|
},
|
|
959
|
-
"version": "0.28.0
|
|
959
|
+
"version": "0.28.0"
|
|
960
960
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lightprotocol/zk-compression-cli",
|
|
3
|
-
"version": "0.28.0
|
|
3
|
+
"version": "0.28.0",
|
|
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/
|
|
53
|
-
"@lightprotocol/
|
|
52
|
+
"@lightprotocol/compressed-token": "0.23.0",
|
|
53
|
+
"@lightprotocol/stateless.js": "0.23.0"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@eslint/js": "9.36.0",
|