@lightprotocol/zk-compression-cli 0.14.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.
- package/bin/account_compression.so +0 -0
- package/bin/light_compressed_token.so +0 -0
- package/bin/light_registry.so +0 -0
- package/bin/light_system_program.so +0 -0
- package/bin/prover-darwin-arm64 +0 -0
- package/bin/prover-darwin-x64 +0 -0
- package/bin/prover-linux-arm64 +0 -0
- package/bin/prover-linux-x64 +0 -0
- package/bin/prover-windows-arm64.exe +0 -0
- package/bin/prover-windows-x64.exe +0 -0
- package/dist/commands/{register-mint → create-token-pool}/index.js +4 -4
- package/dist/commands/init/index.d.ts +26 -0
- package/dist/commands/init/index.js +180 -0
- package/dist/commands/merge-token-accounts/index.d.ts +11 -0
- package/dist/commands/merge-token-accounts/index.js +41 -0
- package/dist/commands/test-validator/index.d.ts +0 -1
- package/dist/commands/test-validator/index.js +1 -7
- package/dist/utils/constants.d.ts +19 -6
- package/dist/utils/constants.js +20 -7
- package/dist/utils/initTestEnv.d.ts +4 -5
- package/dist/utils/initTestEnv.js +4 -12
- package/dist/utils/process.d.ts +1 -1
- package/dist/utils/process.js +26 -13
- package/dist/utils/processProverServer.d.ts +1 -0
- package/dist/utils/processProverServer.js +6 -1
- package/oclif.manifest.json +245 -183
- package/package.json +9 -9
- package/bin/forester +0 -0
- package/bin/forester.toml +0 -15
- package/dist/utils/processForester.d.ts +0 -3
- package/dist/utils/processForester.js +0 -24
- /package/dist/commands/{register-mint → create-token-pool}/index.d.ts +0 -0
package/oclif.manifest.json
CHANGED
|
@@ -1,5 +1,46 @@
|
|
|
1
1
|
{
|
|
2
2
|
"commands": {
|
|
3
|
+
"balance": {
|
|
4
|
+
"aliases": [],
|
|
5
|
+
"args": {},
|
|
6
|
+
"examples": [
|
|
7
|
+
"$ light balance --mint=<ADDRESS> --owner=<ADDRESS>"
|
|
8
|
+
],
|
|
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
|
+
},
|
|
3
44
|
"approve-and-mint-to": {
|
|
4
45
|
"aliases": [],
|
|
5
46
|
"args": {},
|
|
@@ -57,85 +98,109 @@
|
|
|
57
98
|
"index.js"
|
|
58
99
|
]
|
|
59
100
|
},
|
|
60
|
-
"
|
|
101
|
+
"config:config": {
|
|
61
102
|
"aliases": [],
|
|
62
103
|
"args": {},
|
|
104
|
+
"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
105
|
"examples": [
|
|
64
|
-
"$ light
|
|
106
|
+
"$ light config --solanaRpcUrl https://solana-api.example.com"
|
|
65
107
|
],
|
|
66
108
|
"flags": {
|
|
67
|
-
"
|
|
68
|
-
"description": "
|
|
69
|
-
"name": "
|
|
70
|
-
"required": true,
|
|
109
|
+
"solanaRpcUrl": {
|
|
110
|
+
"description": "Solana RPC url",
|
|
111
|
+
"name": "solanaRpcUrl",
|
|
71
112
|
"hasDynamicHelp": false,
|
|
72
113
|
"multiple": false,
|
|
73
114
|
"type": "option"
|
|
74
115
|
},
|
|
75
|
-
"
|
|
76
|
-
"description": "
|
|
77
|
-
"name": "
|
|
78
|
-
"required": true,
|
|
116
|
+
"indexerUrl": {
|
|
117
|
+
"description": "Indexer url",
|
|
118
|
+
"name": "indexerUrl",
|
|
79
119
|
"hasDynamicHelp": false,
|
|
80
120
|
"multiple": false,
|
|
81
121
|
"type": "option"
|
|
122
|
+
},
|
|
123
|
+
"proverUrl": {
|
|
124
|
+
"description": "Prover url",
|
|
125
|
+
"name": "proverUrl",
|
|
126
|
+
"hasDynamicHelp": false,
|
|
127
|
+
"multiple": false,
|
|
128
|
+
"type": "option"
|
|
129
|
+
},
|
|
130
|
+
"get": {
|
|
131
|
+
"description": "Gets the current config values",
|
|
132
|
+
"name": "get",
|
|
133
|
+
"required": false,
|
|
134
|
+
"allowNo": false,
|
|
135
|
+
"type": "boolean"
|
|
82
136
|
}
|
|
83
137
|
},
|
|
84
138
|
"hasDynamicHelp": false,
|
|
85
139
|
"hiddenAliases": [],
|
|
86
|
-
"id": "
|
|
140
|
+
"id": "config:config",
|
|
87
141
|
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
88
142
|
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
89
143
|
"pluginType": "core",
|
|
90
144
|
"strict": true,
|
|
91
|
-
"summary": "Get balance",
|
|
92
145
|
"enableJsonFlag": false,
|
|
93
146
|
"isESM": false,
|
|
94
147
|
"relativePath": [
|
|
95
148
|
"dist",
|
|
96
149
|
"commands",
|
|
97
|
-
"
|
|
150
|
+
"config",
|
|
98
151
|
"index.js"
|
|
99
152
|
]
|
|
100
153
|
},
|
|
101
|
-
"
|
|
154
|
+
"config": {
|
|
102
155
|
"aliases": [],
|
|
103
156
|
"args": {},
|
|
157
|
+
"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",
|
|
104
158
|
"examples": [
|
|
105
|
-
"$ light
|
|
159
|
+
"$ light config --solanaRpcUrl https://solana-api.example.com"
|
|
106
160
|
],
|
|
107
161
|
"flags": {
|
|
108
|
-
"
|
|
109
|
-
"description": "
|
|
110
|
-
"name": "
|
|
111
|
-
"required": true,
|
|
162
|
+
"solanaRpcUrl": {
|
|
163
|
+
"description": "Solana RPC url",
|
|
164
|
+
"name": "solanaRpcUrl",
|
|
112
165
|
"hasDynamicHelp": false,
|
|
113
166
|
"multiple": false,
|
|
114
167
|
"type": "option"
|
|
115
168
|
},
|
|
116
|
-
"
|
|
117
|
-
"description": "
|
|
118
|
-
"name": "
|
|
119
|
-
"required": true,
|
|
169
|
+
"indexerUrl": {
|
|
170
|
+
"description": "Indexer url",
|
|
171
|
+
"name": "indexerUrl",
|
|
120
172
|
"hasDynamicHelp": false,
|
|
121
173
|
"multiple": false,
|
|
122
174
|
"type": "option"
|
|
175
|
+
},
|
|
176
|
+
"proverUrl": {
|
|
177
|
+
"description": "Prover url",
|
|
178
|
+
"name": "proverUrl",
|
|
179
|
+
"hasDynamicHelp": false,
|
|
180
|
+
"multiple": false,
|
|
181
|
+
"type": "option"
|
|
182
|
+
},
|
|
183
|
+
"get": {
|
|
184
|
+
"description": "Gets the current config values",
|
|
185
|
+
"name": "get",
|
|
186
|
+
"required": false,
|
|
187
|
+
"allowNo": false,
|
|
188
|
+
"type": "boolean"
|
|
123
189
|
}
|
|
124
190
|
},
|
|
125
191
|
"hasDynamicHelp": false,
|
|
126
192
|
"hiddenAliases": [],
|
|
127
|
-
"id": "
|
|
193
|
+
"id": "config",
|
|
128
194
|
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
129
195
|
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
130
196
|
"pluginType": "core",
|
|
131
197
|
"strict": true,
|
|
132
|
-
"summary": "Compress SOL.",
|
|
133
198
|
"enableJsonFlag": false,
|
|
134
199
|
"isESM": false,
|
|
135
200
|
"relativePath": [
|
|
136
201
|
"dist",
|
|
137
202
|
"commands",
|
|
138
|
-
"
|
|
203
|
+
"config",
|
|
139
204
|
"index.js"
|
|
140
205
|
]
|
|
141
206
|
},
|
|
@@ -189,24 +254,16 @@
|
|
|
189
254
|
"index.js"
|
|
190
255
|
]
|
|
191
256
|
},
|
|
192
|
-
"
|
|
257
|
+
"create-token-pool": {
|
|
193
258
|
"aliases": [],
|
|
194
259
|
"args": {},
|
|
195
260
|
"examples": [
|
|
196
|
-
"$ light
|
|
261
|
+
"$ light create-token-pool --mint-decimals 5"
|
|
197
262
|
],
|
|
198
263
|
"flags": {
|
|
199
|
-
"
|
|
200
|
-
"description": "
|
|
201
|
-
"name": "
|
|
202
|
-
"required": true,
|
|
203
|
-
"hasDynamicHelp": false,
|
|
204
|
-
"multiple": false,
|
|
205
|
-
"type": "option"
|
|
206
|
-
},
|
|
207
|
-
"amount": {
|
|
208
|
-
"description": "Amount to decompress, in lamports.",
|
|
209
|
-
"name": "amount",
|
|
264
|
+
"mint": {
|
|
265
|
+
"description": "Provide a base58 encoded mint address to register",
|
|
266
|
+
"name": "mint",
|
|
210
267
|
"required": true,
|
|
211
268
|
"hasDynamicHelp": false,
|
|
212
269
|
"multiple": false,
|
|
@@ -215,38 +272,30 @@
|
|
|
215
272
|
},
|
|
216
273
|
"hasDynamicHelp": false,
|
|
217
274
|
"hiddenAliases": [],
|
|
218
|
-
"id": "
|
|
275
|
+
"id": "create-token-pool",
|
|
219
276
|
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
220
277
|
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
221
278
|
"pluginType": "core",
|
|
222
279
|
"strict": true,
|
|
223
|
-
"summary": "
|
|
280
|
+
"summary": "Register an existing mint with the CompressedToken program",
|
|
224
281
|
"enableJsonFlag": false,
|
|
225
282
|
"isESM": false,
|
|
226
283
|
"relativePath": [
|
|
227
284
|
"dist",
|
|
228
285
|
"commands",
|
|
229
|
-
"
|
|
286
|
+
"create-token-pool",
|
|
230
287
|
"index.js"
|
|
231
288
|
]
|
|
232
289
|
},
|
|
233
|
-
"
|
|
290
|
+
"decompress-sol": {
|
|
234
291
|
"aliases": [],
|
|
235
292
|
"args": {},
|
|
236
293
|
"examples": [
|
|
237
|
-
"$ light
|
|
294
|
+
"$ light decompress-sol --to PublicKey --amount 10"
|
|
238
295
|
],
|
|
239
296
|
"flags": {
|
|
240
|
-
"mint": {
|
|
241
|
-
"description": "Specify the mint address.",
|
|
242
|
-
"name": "mint",
|
|
243
|
-
"required": true,
|
|
244
|
-
"hasDynamicHelp": false,
|
|
245
|
-
"multiple": false,
|
|
246
|
-
"type": "option"
|
|
247
|
-
},
|
|
248
297
|
"to": {
|
|
249
|
-
"description": "Specify the recipient address
|
|
298
|
+
"description": "Specify the recipient address.",
|
|
250
299
|
"name": "to",
|
|
251
300
|
"required": true,
|
|
252
301
|
"hasDynamicHelp": false,
|
|
@@ -254,7 +303,7 @@
|
|
|
254
303
|
"type": "option"
|
|
255
304
|
},
|
|
256
305
|
"amount": {
|
|
257
|
-
"description": "Amount to
|
|
306
|
+
"description": "Amount to decompress, in lamports.",
|
|
258
307
|
"name": "amount",
|
|
259
308
|
"required": true,
|
|
260
309
|
"hasDynamicHelp": false,
|
|
@@ -264,124 +313,108 @@
|
|
|
264
313
|
},
|
|
265
314
|
"hasDynamicHelp": false,
|
|
266
315
|
"hiddenAliases": [],
|
|
267
|
-
"id": "
|
|
316
|
+
"id": "decompress-sol",
|
|
268
317
|
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
269
318
|
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
270
319
|
"pluginType": "core",
|
|
271
320
|
"strict": true,
|
|
272
|
-
"summary": "
|
|
321
|
+
"summary": "Decompress SOL.",
|
|
273
322
|
"enableJsonFlag": false,
|
|
274
323
|
"isESM": false,
|
|
275
324
|
"relativePath": [
|
|
276
325
|
"dist",
|
|
277
326
|
"commands",
|
|
278
|
-
"
|
|
327
|
+
"decompress-sol",
|
|
279
328
|
"index.js"
|
|
280
329
|
]
|
|
281
330
|
},
|
|
282
|
-
"
|
|
331
|
+
"compress-spl": {
|
|
283
332
|
"aliases": [],
|
|
284
333
|
"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
334
|
"examples": [
|
|
287
|
-
"$ light
|
|
335
|
+
"$ light compress-spl --mint PublicKey --to PublicKey --amount 10"
|
|
288
336
|
],
|
|
289
337
|
"flags": {
|
|
290
|
-
"
|
|
291
|
-
"description": "
|
|
292
|
-
"name": "
|
|
338
|
+
"mint": {
|
|
339
|
+
"description": "Specify the mint address.",
|
|
340
|
+
"name": "mint",
|
|
341
|
+
"required": true,
|
|
293
342
|
"hasDynamicHelp": false,
|
|
294
343
|
"multiple": false,
|
|
295
344
|
"type": "option"
|
|
296
345
|
},
|
|
297
|
-
"
|
|
298
|
-
"description": "
|
|
299
|
-
"name": "
|
|
346
|
+
"to": {
|
|
347
|
+
"description": "Specify the recipient address (owner of destination compressed token account).",
|
|
348
|
+
"name": "to",
|
|
349
|
+
"required": true,
|
|
300
350
|
"hasDynamicHelp": false,
|
|
301
351
|
"multiple": false,
|
|
302
352
|
"type": "option"
|
|
303
353
|
},
|
|
304
|
-
"
|
|
305
|
-
"description": "
|
|
306
|
-
"name": "
|
|
354
|
+
"amount": {
|
|
355
|
+
"description": "Amount to compress, in tokens.",
|
|
356
|
+
"name": "amount",
|
|
357
|
+
"required": true,
|
|
307
358
|
"hasDynamicHelp": false,
|
|
308
359
|
"multiple": false,
|
|
309
360
|
"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
361
|
}
|
|
318
362
|
},
|
|
319
363
|
"hasDynamicHelp": false,
|
|
320
364
|
"hiddenAliases": [],
|
|
321
|
-
"id": "
|
|
365
|
+
"id": "compress-spl",
|
|
322
366
|
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
323
367
|
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
324
368
|
"pluginType": "core",
|
|
325
369
|
"strict": true,
|
|
370
|
+
"summary": "Compress SPL tokens.",
|
|
326
371
|
"enableJsonFlag": false,
|
|
327
372
|
"isESM": false,
|
|
328
373
|
"relativePath": [
|
|
329
374
|
"dist",
|
|
330
375
|
"commands",
|
|
331
|
-
"
|
|
376
|
+
"compress-spl",
|
|
332
377
|
"index.js"
|
|
333
378
|
]
|
|
334
379
|
},
|
|
335
|
-
"
|
|
380
|
+
"compress-sol": {
|
|
336
381
|
"aliases": [],
|
|
337
382
|
"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
383
|
"examples": [
|
|
340
|
-
"$ light
|
|
384
|
+
"$ light compress-sol --to PublicKey --amount 10"
|
|
341
385
|
],
|
|
342
386
|
"flags": {
|
|
343
|
-
"
|
|
344
|
-
"description": "
|
|
345
|
-
"name": "
|
|
346
|
-
"
|
|
347
|
-
"multiple": false,
|
|
348
|
-
"type": "option"
|
|
349
|
-
},
|
|
350
|
-
"indexerUrl": {
|
|
351
|
-
"description": "Indexer url",
|
|
352
|
-
"name": "indexerUrl",
|
|
387
|
+
"to": {
|
|
388
|
+
"description": "Specify the recipient address.",
|
|
389
|
+
"name": "to",
|
|
390
|
+
"required": true,
|
|
353
391
|
"hasDynamicHelp": false,
|
|
354
392
|
"multiple": false,
|
|
355
393
|
"type": "option"
|
|
356
394
|
},
|
|
357
|
-
"
|
|
358
|
-
"description": "
|
|
359
|
-
"name": "
|
|
395
|
+
"amount": {
|
|
396
|
+
"description": "Amount to compress, in lamports.",
|
|
397
|
+
"name": "amount",
|
|
398
|
+
"required": true,
|
|
360
399
|
"hasDynamicHelp": false,
|
|
361
400
|
"multiple": false,
|
|
362
401
|
"type": "option"
|
|
363
|
-
},
|
|
364
|
-
"get": {
|
|
365
|
-
"description": "Gets the current config values",
|
|
366
|
-
"name": "get",
|
|
367
|
-
"required": false,
|
|
368
|
-
"allowNo": false,
|
|
369
|
-
"type": "boolean"
|
|
370
402
|
}
|
|
371
403
|
},
|
|
372
404
|
"hasDynamicHelp": false,
|
|
373
405
|
"hiddenAliases": [],
|
|
374
|
-
"id": "
|
|
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
|
-
"
|
|
417
|
+
"compress-sol",
|
|
385
418
|
"index.js"
|
|
386
419
|
]
|
|
387
420
|
},
|
|
@@ -434,74 +467,57 @@
|
|
|
434
467
|
"index.js"
|
|
435
468
|
]
|
|
436
469
|
},
|
|
437
|
-
"
|
|
470
|
+
"init": {
|
|
438
471
|
"aliases": [],
|
|
439
|
-
"args": {
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
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
|
-
"mint": {
|
|
453
|
-
"description": "Specify the mint address.",
|
|
454
|
-
"name": "mint",
|
|
455
|
-
"required": true,
|
|
456
|
-
"hasDynamicHelp": false,
|
|
457
|
-
"multiple": false,
|
|
458
|
-
"type": "option"
|
|
459
|
-
},
|
|
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,
|
|
472
|
-
"hasDynamicHelp": false,
|
|
473
|
-
"multiple": false,
|
|
474
|
-
"type": "option"
|
|
472
|
+
"args": {
|
|
473
|
+
"name": {
|
|
474
|
+
"description": "The name of the project",
|
|
475
|
+
"name": "name",
|
|
476
|
+
"required": true
|
|
475
477
|
}
|
|
476
478
|
},
|
|
479
|
+
"description": "Initialize a compressed account project.",
|
|
480
|
+
"flags": {},
|
|
477
481
|
"hasDynamicHelp": false,
|
|
478
482
|
"hiddenAliases": [],
|
|
479
|
-
"id": "
|
|
483
|
+
"id": "init",
|
|
480
484
|
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
481
485
|
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
482
486
|
"pluginType": "core",
|
|
483
487
|
"strict": true,
|
|
484
|
-
"summary": "Mint tokens to an account.",
|
|
485
488
|
"enableJsonFlag": false,
|
|
486
489
|
"isESM": false,
|
|
487
490
|
"relativePath": [
|
|
488
491
|
"dist",
|
|
489
492
|
"commands",
|
|
490
|
-
"
|
|
493
|
+
"init",
|
|
491
494
|
"index.js"
|
|
492
495
|
]
|
|
493
496
|
},
|
|
494
|
-
"
|
|
497
|
+
"start-prover": {
|
|
495
498
|
"aliases": [],
|
|
496
499
|
"args": {},
|
|
497
|
-
"
|
|
498
|
-
"$ light register-mint --mint-decimals 5"
|
|
499
|
-
],
|
|
500
|
+
"description": "Start gnark prover",
|
|
500
501
|
"flags": {
|
|
501
|
-
"
|
|
502
|
-
"
|
|
503
|
-
"
|
|
504
|
-
"
|
|
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"
|
|
508
|
+
},
|
|
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",
|
|
519
|
+
"required": false,
|
|
520
|
+
"default": 3001,
|
|
505
521
|
"hasDynamicHelp": false,
|
|
506
522
|
"multiple": false,
|
|
507
523
|
"type": "option"
|
|
@@ -509,45 +525,39 @@
|
|
|
509
525
|
},
|
|
510
526
|
"hasDynamicHelp": false,
|
|
511
527
|
"hiddenAliases": [],
|
|
512
|
-
"id": "
|
|
528
|
+
"id": "start-prover",
|
|
513
529
|
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
514
530
|
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
515
531
|
"pluginType": "core",
|
|
516
532
|
"strict": true,
|
|
517
|
-
"summary": "Register an existing mint with the CompressedToken program",
|
|
518
533
|
"enableJsonFlag": false,
|
|
519
534
|
"isESM": false,
|
|
520
535
|
"relativePath": [
|
|
521
536
|
"dist",
|
|
522
537
|
"commands",
|
|
523
|
-
"
|
|
538
|
+
"start-prover",
|
|
524
539
|
"index.js"
|
|
525
540
|
]
|
|
526
541
|
},
|
|
527
|
-
"
|
|
542
|
+
"merge-token-accounts": {
|
|
528
543
|
"aliases": [],
|
|
529
544
|
"args": {},
|
|
530
|
-
"
|
|
545
|
+
"examples": [
|
|
546
|
+
"$ light merge-token-accounts --mint PublicKey"
|
|
547
|
+
],
|
|
531
548
|
"flags": {
|
|
532
|
-
"
|
|
533
|
-
"
|
|
534
|
-
"
|
|
535
|
-
"
|
|
536
|
-
"
|
|
537
|
-
"
|
|
538
|
-
|
|
539
|
-
"skip-prove-new-addresses": {
|
|
540
|
-
"char": "n",
|
|
541
|
-
"description": "Skip proving of new addresses.",
|
|
542
|
-
"name": "skip-prove-new-addresses",
|
|
543
|
-
"allowNo": false,
|
|
544
|
-
"type": "boolean"
|
|
549
|
+
"mint": {
|
|
550
|
+
"description": "Mint to merge accounts for",
|
|
551
|
+
"name": "mint",
|
|
552
|
+
"required": true,
|
|
553
|
+
"hasDynamicHelp": false,
|
|
554
|
+
"multiple": false,
|
|
555
|
+
"type": "option"
|
|
545
556
|
},
|
|
546
|
-
"
|
|
547
|
-
"description": "
|
|
548
|
-
"name": "
|
|
557
|
+
"fee-payer": {
|
|
558
|
+
"description": "Specify the fee-payer account. Defaults to the client keypair.",
|
|
559
|
+
"name": "fee-payer",
|
|
549
560
|
"required": false,
|
|
550
|
-
"default": 3001,
|
|
551
561
|
"hasDynamicHelp": false,
|
|
552
562
|
"multiple": false,
|
|
553
563
|
"type": "option"
|
|
@@ -555,17 +565,18 @@
|
|
|
555
565
|
},
|
|
556
566
|
"hasDynamicHelp": false,
|
|
557
567
|
"hiddenAliases": [],
|
|
558
|
-
"id": "
|
|
568
|
+
"id": "merge-token-accounts",
|
|
559
569
|
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
560
570
|
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
561
571
|
"pluginType": "core",
|
|
562
572
|
"strict": true,
|
|
573
|
+
"summary": "Merge all token accounts for a specific mint.",
|
|
563
574
|
"enableJsonFlag": false,
|
|
564
575
|
"isESM": false,
|
|
565
576
|
"relativePath": [
|
|
566
577
|
"dist",
|
|
567
578
|
"commands",
|
|
568
|
-
"
|
|
579
|
+
"merge-token-accounts",
|
|
569
580
|
"index.js"
|
|
570
581
|
]
|
|
571
582
|
},
|
|
@@ -586,12 +597,6 @@
|
|
|
586
597
|
"allowNo": false,
|
|
587
598
|
"type": "boolean"
|
|
588
599
|
},
|
|
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
600
|
"skip-system-accounts": {
|
|
596
601
|
"description": "Runs a test validator without initialized light system accounts.",
|
|
597
602
|
"name": "skip-system-accounts",
|
|
@@ -688,7 +693,7 @@
|
|
|
688
693
|
"type": "option"
|
|
689
694
|
},
|
|
690
695
|
"stop": {
|
|
691
|
-
"description": "Stops the test validator and dependent processes. Use with --skip-indexer, --skip-prover
|
|
696
|
+
"description": "Stops the test validator and dependent processes. Use with --skip-indexer, --skip-prover to keep specific services running.",
|
|
692
697
|
"name": "stop",
|
|
693
698
|
"required": false,
|
|
694
699
|
"allowNo": false,
|
|
@@ -711,6 +716,63 @@
|
|
|
711
716
|
"index.js"
|
|
712
717
|
]
|
|
713
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
|
+
},
|
|
714
776
|
"transfer": {
|
|
715
777
|
"aliases": [],
|
|
716
778
|
"args": {},
|
|
@@ -769,5 +831,5 @@
|
|
|
769
831
|
]
|
|
770
832
|
}
|
|
771
833
|
},
|
|
772
|
-
"version": "0.
|
|
834
|
+
"version": "0.15.1"
|
|
773
835
|
}
|