@lightprotocol/zk-compression-cli 0.14.0 → 0.15.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.
- package/bin/account_compression.so +0 -0
- package/bin/{forester → cargo-generate} +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 +212 -150
- package/package.json +9 -9
- 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,20 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"commands": {
|
|
3
|
-
"
|
|
3
|
+
"compress-spl": {
|
|
4
4
|
"aliases": [],
|
|
5
5
|
"args": {},
|
|
6
6
|
"examples": [
|
|
7
|
-
"$ light
|
|
7
|
+
"$ light compress-spl --mint PublicKey --to PublicKey --amount 10"
|
|
8
8
|
],
|
|
9
9
|
"flags": {
|
|
10
|
-
"mint-authority": {
|
|
11
|
-
"description": "Specify the filepath of the mint authority keypair. Defaults to your local solana wallet.",
|
|
12
|
-
"name": "mint-authority",
|
|
13
|
-
"required": false,
|
|
14
|
-
"hasDynamicHelp": false,
|
|
15
|
-
"multiple": false,
|
|
16
|
-
"type": "option"
|
|
17
|
-
},
|
|
18
10
|
"mint": {
|
|
19
11
|
"description": "Specify the mint address.",
|
|
20
12
|
"name": "mint",
|
|
@@ -24,7 +16,7 @@
|
|
|
24
16
|
"type": "option"
|
|
25
17
|
},
|
|
26
18
|
"to": {
|
|
27
|
-
"description": "Specify the recipient address.",
|
|
19
|
+
"description": "Specify the recipient address (owner of destination compressed token account).",
|
|
28
20
|
"name": "to",
|
|
29
21
|
"required": true,
|
|
30
22
|
"hasDynamicHelp": false,
|
|
@@ -32,7 +24,7 @@
|
|
|
32
24
|
"type": "option"
|
|
33
25
|
},
|
|
34
26
|
"amount": {
|
|
35
|
-
"description": "Amount to
|
|
27
|
+
"description": "Amount to compress, in tokens.",
|
|
36
28
|
"name": "amount",
|
|
37
29
|
"required": true,
|
|
38
30
|
"hasDynamicHelp": false,
|
|
@@ -42,100 +34,124 @@
|
|
|
42
34
|
},
|
|
43
35
|
"hasDynamicHelp": false,
|
|
44
36
|
"hiddenAliases": [],
|
|
45
|
-
"id": "
|
|
37
|
+
"id": "compress-spl",
|
|
46
38
|
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
47
39
|
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
48
40
|
"pluginType": "core",
|
|
49
41
|
"strict": true,
|
|
50
|
-
"summary": "
|
|
42
|
+
"summary": "Compress SPL tokens.",
|
|
51
43
|
"enableJsonFlag": false,
|
|
52
44
|
"isESM": false,
|
|
53
45
|
"relativePath": [
|
|
54
46
|
"dist",
|
|
55
47
|
"commands",
|
|
56
|
-
"
|
|
48
|
+
"compress-spl",
|
|
57
49
|
"index.js"
|
|
58
50
|
]
|
|
59
51
|
},
|
|
60
|
-
"
|
|
52
|
+
"config:config": {
|
|
61
53
|
"aliases": [],
|
|
62
54
|
"args": {},
|
|
55
|
+
"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
56
|
"examples": [
|
|
64
|
-
"$ light
|
|
57
|
+
"$ light config --solanaRpcUrl https://solana-api.example.com"
|
|
65
58
|
],
|
|
66
59
|
"flags": {
|
|
67
|
-
"
|
|
68
|
-
"description": "
|
|
69
|
-
"name": "
|
|
70
|
-
"required": true,
|
|
60
|
+
"solanaRpcUrl": {
|
|
61
|
+
"description": "Solana RPC url",
|
|
62
|
+
"name": "solanaRpcUrl",
|
|
71
63
|
"hasDynamicHelp": false,
|
|
72
64
|
"multiple": false,
|
|
73
65
|
"type": "option"
|
|
74
66
|
},
|
|
75
|
-
"
|
|
76
|
-
"description": "
|
|
77
|
-
"name": "
|
|
78
|
-
"required": true,
|
|
67
|
+
"indexerUrl": {
|
|
68
|
+
"description": "Indexer url",
|
|
69
|
+
"name": "indexerUrl",
|
|
79
70
|
"hasDynamicHelp": false,
|
|
80
71
|
"multiple": false,
|
|
81
72
|
"type": "option"
|
|
73
|
+
},
|
|
74
|
+
"proverUrl": {
|
|
75
|
+
"description": "Prover url",
|
|
76
|
+
"name": "proverUrl",
|
|
77
|
+
"hasDynamicHelp": false,
|
|
78
|
+
"multiple": false,
|
|
79
|
+
"type": "option"
|
|
80
|
+
},
|
|
81
|
+
"get": {
|
|
82
|
+
"description": "Gets the current config values",
|
|
83
|
+
"name": "get",
|
|
84
|
+
"required": false,
|
|
85
|
+
"allowNo": false,
|
|
86
|
+
"type": "boolean"
|
|
82
87
|
}
|
|
83
88
|
},
|
|
84
89
|
"hasDynamicHelp": false,
|
|
85
90
|
"hiddenAliases": [],
|
|
86
|
-
"id": "
|
|
91
|
+
"id": "config:config",
|
|
87
92
|
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
88
93
|
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
89
94
|
"pluginType": "core",
|
|
90
95
|
"strict": true,
|
|
91
|
-
"summary": "Get balance",
|
|
92
96
|
"enableJsonFlag": false,
|
|
93
97
|
"isESM": false,
|
|
94
98
|
"relativePath": [
|
|
95
99
|
"dist",
|
|
96
100
|
"commands",
|
|
97
|
-
"
|
|
101
|
+
"config",
|
|
98
102
|
"index.js"
|
|
99
103
|
]
|
|
100
104
|
},
|
|
101
|
-
"
|
|
105
|
+
"config": {
|
|
102
106
|
"aliases": [],
|
|
103
107
|
"args": {},
|
|
108
|
+
"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
109
|
"examples": [
|
|
105
|
-
"$ light
|
|
110
|
+
"$ light config --solanaRpcUrl https://solana-api.example.com"
|
|
106
111
|
],
|
|
107
112
|
"flags": {
|
|
108
|
-
"
|
|
109
|
-
"description": "
|
|
110
|
-
"name": "
|
|
111
|
-
"required": true,
|
|
113
|
+
"solanaRpcUrl": {
|
|
114
|
+
"description": "Solana RPC url",
|
|
115
|
+
"name": "solanaRpcUrl",
|
|
112
116
|
"hasDynamicHelp": false,
|
|
113
117
|
"multiple": false,
|
|
114
118
|
"type": "option"
|
|
115
119
|
},
|
|
116
|
-
"
|
|
117
|
-
"description": "
|
|
118
|
-
"name": "
|
|
119
|
-
"
|
|
120
|
+
"indexerUrl": {
|
|
121
|
+
"description": "Indexer url",
|
|
122
|
+
"name": "indexerUrl",
|
|
123
|
+
"hasDynamicHelp": false,
|
|
124
|
+
"multiple": false,
|
|
125
|
+
"type": "option"
|
|
126
|
+
},
|
|
127
|
+
"proverUrl": {
|
|
128
|
+
"description": "Prover url",
|
|
129
|
+
"name": "proverUrl",
|
|
120
130
|
"hasDynamicHelp": false,
|
|
121
131
|
"multiple": false,
|
|
122
132
|
"type": "option"
|
|
133
|
+
},
|
|
134
|
+
"get": {
|
|
135
|
+
"description": "Gets the current config values",
|
|
136
|
+
"name": "get",
|
|
137
|
+
"required": false,
|
|
138
|
+
"allowNo": false,
|
|
139
|
+
"type": "boolean"
|
|
123
140
|
}
|
|
124
141
|
},
|
|
125
142
|
"hasDynamicHelp": false,
|
|
126
143
|
"hiddenAliases": [],
|
|
127
|
-
"id": "
|
|
144
|
+
"id": "config",
|
|
128
145
|
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
129
146
|
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
130
147
|
"pluginType": "core",
|
|
131
148
|
"strict": true,
|
|
132
|
-
"summary": "Compress SOL.",
|
|
133
149
|
"enableJsonFlag": false,
|
|
134
150
|
"isESM": false,
|
|
135
151
|
"relativePath": [
|
|
136
152
|
"dist",
|
|
137
153
|
"commands",
|
|
138
|
-
"
|
|
154
|
+
"config",
|
|
139
155
|
"index.js"
|
|
140
156
|
]
|
|
141
157
|
},
|
|
@@ -189,13 +205,29 @@
|
|
|
189
205
|
"index.js"
|
|
190
206
|
]
|
|
191
207
|
},
|
|
192
|
-
"
|
|
208
|
+
"approve-and-mint-to": {
|
|
193
209
|
"aliases": [],
|
|
194
210
|
"args": {},
|
|
195
211
|
"examples": [
|
|
196
|
-
"$ light
|
|
212
|
+
"$ light approve-and-mint-to --mint PublicKey --to PublicKey --amount 1000"
|
|
197
213
|
],
|
|
198
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
|
+
},
|
|
199
231
|
"to": {
|
|
200
232
|
"description": "Specify the recipient address.",
|
|
201
233
|
"name": "to",
|
|
@@ -205,7 +237,7 @@
|
|
|
205
237
|
"type": "option"
|
|
206
238
|
},
|
|
207
239
|
"amount": {
|
|
208
|
-
"description": "Amount to
|
|
240
|
+
"description": "Amount to mint, in tokens.",
|
|
209
241
|
"name": "amount",
|
|
210
242
|
"required": true,
|
|
211
243
|
"hasDynamicHelp": false,
|
|
@@ -215,47 +247,72 @@
|
|
|
215
247
|
},
|
|
216
248
|
"hasDynamicHelp": false,
|
|
217
249
|
"hiddenAliases": [],
|
|
218
|
-
"id": "
|
|
250
|
+
"id": "approve-and-mint-to",
|
|
219
251
|
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
220
252
|
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
221
253
|
"pluginType": "core",
|
|
222
254
|
"strict": true,
|
|
223
|
-
"summary": "
|
|
255
|
+
"summary": "Mint tokens to a compressed account via external mint authority",
|
|
224
256
|
"enableJsonFlag": false,
|
|
225
257
|
"isESM": false,
|
|
226
258
|
"relativePath": [
|
|
227
259
|
"dist",
|
|
228
260
|
"commands",
|
|
229
|
-
"
|
|
261
|
+
"approve-and-mint-to",
|
|
230
262
|
"index.js"
|
|
231
263
|
]
|
|
232
264
|
},
|
|
233
|
-
"
|
|
265
|
+
"create-token-pool": {
|
|
234
266
|
"aliases": [],
|
|
235
267
|
"args": {},
|
|
236
268
|
"examples": [
|
|
237
|
-
"$ light
|
|
269
|
+
"$ light create-token-pool --mint-decimals 5"
|
|
238
270
|
],
|
|
239
271
|
"flags": {
|
|
240
272
|
"mint": {
|
|
241
|
-
"description": "
|
|
273
|
+
"description": "Provide a base58 encoded mint address to register",
|
|
242
274
|
"name": "mint",
|
|
243
275
|
"required": true,
|
|
244
276
|
"hasDynamicHelp": false,
|
|
245
277
|
"multiple": false,
|
|
246
278
|
"type": "option"
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
279
|
+
}
|
|
280
|
+
},
|
|
281
|
+
"hasDynamicHelp": false,
|
|
282
|
+
"hiddenAliases": [],
|
|
283
|
+
"id": "create-token-pool",
|
|
284
|
+
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
285
|
+
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
286
|
+
"pluginType": "core",
|
|
287
|
+
"strict": true,
|
|
288
|
+
"summary": "Register an existing mint with the CompressedToken program",
|
|
289
|
+
"enableJsonFlag": false,
|
|
290
|
+
"isESM": false,
|
|
291
|
+
"relativePath": [
|
|
292
|
+
"dist",
|
|
293
|
+
"commands",
|
|
294
|
+
"create-token-pool",
|
|
295
|
+
"index.js"
|
|
296
|
+
]
|
|
297
|
+
},
|
|
298
|
+
"balance": {
|
|
299
|
+
"aliases": [],
|
|
300
|
+
"args": {},
|
|
301
|
+
"examples": [
|
|
302
|
+
"$ light balance --mint=<ADDRESS> --owner=<ADDRESS>"
|
|
303
|
+
],
|
|
304
|
+
"flags": {
|
|
305
|
+
"owner": {
|
|
306
|
+
"description": "Address of the compressed token owner.",
|
|
307
|
+
"name": "owner",
|
|
251
308
|
"required": true,
|
|
252
309
|
"hasDynamicHelp": false,
|
|
253
310
|
"multiple": false,
|
|
254
311
|
"type": "option"
|
|
255
312
|
},
|
|
256
|
-
"
|
|
257
|
-
"description": "
|
|
258
|
-
"name": "
|
|
313
|
+
"mint": {
|
|
314
|
+
"description": "Mint address of the compressed token account.",
|
|
315
|
+
"name": "mint",
|
|
259
316
|
"required": true,
|
|
260
317
|
"hasDynamicHelp": false,
|
|
261
318
|
"multiple": false,
|
|
@@ -264,124 +321,100 @@
|
|
|
264
321
|
},
|
|
265
322
|
"hasDynamicHelp": false,
|
|
266
323
|
"hiddenAliases": [],
|
|
267
|
-
"id": "
|
|
324
|
+
"id": "balance",
|
|
268
325
|
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
269
326
|
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
270
327
|
"pluginType": "core",
|
|
271
328
|
"strict": true,
|
|
272
|
-
"summary": "
|
|
329
|
+
"summary": "Get balance",
|
|
273
330
|
"enableJsonFlag": false,
|
|
274
331
|
"isESM": false,
|
|
275
332
|
"relativePath": [
|
|
276
333
|
"dist",
|
|
277
334
|
"commands",
|
|
278
|
-
"
|
|
335
|
+
"balance",
|
|
279
336
|
"index.js"
|
|
280
337
|
]
|
|
281
338
|
},
|
|
282
|
-
"
|
|
339
|
+
"decompress-sol": {
|
|
283
340
|
"aliases": [],
|
|
284
341
|
"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
342
|
"examples": [
|
|
287
|
-
"$ light
|
|
343
|
+
"$ light decompress-sol --to PublicKey --amount 10"
|
|
288
344
|
],
|
|
289
345
|
"flags": {
|
|
290
|
-
"
|
|
291
|
-
"description": "
|
|
292
|
-
"name": "
|
|
293
|
-
"
|
|
294
|
-
"multiple": false,
|
|
295
|
-
"type": "option"
|
|
296
|
-
},
|
|
297
|
-
"indexerUrl": {
|
|
298
|
-
"description": "Indexer url",
|
|
299
|
-
"name": "indexerUrl",
|
|
346
|
+
"to": {
|
|
347
|
+
"description": "Specify the recipient address.",
|
|
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 decompress, in lamports.",
|
|
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": "decompress-sol",
|
|
322
366
|
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
323
367
|
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
324
368
|
"pluginType": "core",
|
|
325
369
|
"strict": true,
|
|
370
|
+
"summary": "Decompress SOL.",
|
|
326
371
|
"enableJsonFlag": false,
|
|
327
372
|
"isESM": false,
|
|
328
373
|
"relativePath": [
|
|
329
374
|
"dist",
|
|
330
375
|
"commands",
|
|
331
|
-
"
|
|
376
|
+
"decompress-sol",
|
|
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,41 +467,52 @@
|
|
|
434
467
|
"index.js"
|
|
435
468
|
]
|
|
436
469
|
},
|
|
437
|
-
"
|
|
470
|
+
"init": {
|
|
471
|
+
"aliases": [],
|
|
472
|
+
"args": {
|
|
473
|
+
"name": {
|
|
474
|
+
"description": "The name of the project",
|
|
475
|
+
"name": "name",
|
|
476
|
+
"required": true
|
|
477
|
+
}
|
|
478
|
+
},
|
|
479
|
+
"description": "Initialize a compressed account project.",
|
|
480
|
+
"flags": {},
|
|
481
|
+
"hasDynamicHelp": false,
|
|
482
|
+
"hiddenAliases": [],
|
|
483
|
+
"id": "init",
|
|
484
|
+
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
485
|
+
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
486
|
+
"pluginType": "core",
|
|
487
|
+
"strict": true,
|
|
488
|
+
"enableJsonFlag": false,
|
|
489
|
+
"isESM": false,
|
|
490
|
+
"relativePath": [
|
|
491
|
+
"dist",
|
|
492
|
+
"commands",
|
|
493
|
+
"init",
|
|
494
|
+
"index.js"
|
|
495
|
+
]
|
|
496
|
+
},
|
|
497
|
+
"merge-token-accounts": {
|
|
438
498
|
"aliases": [],
|
|
439
499
|
"args": {},
|
|
440
500
|
"examples": [
|
|
441
|
-
"$ light
|
|
501
|
+
"$ light merge-token-accounts --mint PublicKey"
|
|
442
502
|
],
|
|
443
503
|
"flags": {
|
|
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
504
|
"mint": {
|
|
453
|
-
"description": "
|
|
505
|
+
"description": "Mint to merge accounts for",
|
|
454
506
|
"name": "mint",
|
|
455
507
|
"required": true,
|
|
456
508
|
"hasDynamicHelp": false,
|
|
457
509
|
"multiple": false,
|
|
458
510
|
"type": "option"
|
|
459
511
|
},
|
|
460
|
-
"
|
|
461
|
-
"description": "Specify the
|
|
462
|
-
"name": "
|
|
463
|
-
"required":
|
|
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,
|
|
512
|
+
"fee-payer": {
|
|
513
|
+
"description": "Specify the fee-payer account. Defaults to the client keypair.",
|
|
514
|
+
"name": "fee-payer",
|
|
515
|
+
"required": false,
|
|
472
516
|
"hasDynamicHelp": false,
|
|
473
517
|
"multiple": false,
|
|
474
518
|
"type": "option"
|
|
@@ -476,51 +520,75 @@
|
|
|
476
520
|
},
|
|
477
521
|
"hasDynamicHelp": false,
|
|
478
522
|
"hiddenAliases": [],
|
|
479
|
-
"id": "
|
|
523
|
+
"id": "merge-token-accounts",
|
|
480
524
|
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
481
525
|
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
482
526
|
"pluginType": "core",
|
|
483
527
|
"strict": true,
|
|
484
|
-
"summary": "
|
|
528
|
+
"summary": "Merge all token accounts for a specific mint.",
|
|
485
529
|
"enableJsonFlag": false,
|
|
486
530
|
"isESM": false,
|
|
487
531
|
"relativePath": [
|
|
488
532
|
"dist",
|
|
489
533
|
"commands",
|
|
490
|
-
"
|
|
534
|
+
"merge-token-accounts",
|
|
491
535
|
"index.js"
|
|
492
536
|
]
|
|
493
537
|
},
|
|
494
|
-
"
|
|
538
|
+
"mint-to": {
|
|
495
539
|
"aliases": [],
|
|
496
540
|
"args": {},
|
|
497
541
|
"examples": [
|
|
498
|
-
"$ light
|
|
542
|
+
"$ light mint-to --mint PublicKey --to PublicKey --amount 1000"
|
|
499
543
|
],
|
|
500
544
|
"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
|
+
},
|
|
501
553
|
"mint": {
|
|
502
|
-
"description": "
|
|
554
|
+
"description": "Specify the mint address.",
|
|
503
555
|
"name": "mint",
|
|
504
556
|
"required": true,
|
|
505
557
|
"hasDynamicHelp": false,
|
|
506
558
|
"multiple": false,
|
|
507
559
|
"type": "option"
|
|
560
|
+
},
|
|
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"
|
|
508
576
|
}
|
|
509
577
|
},
|
|
510
578
|
"hasDynamicHelp": false,
|
|
511
579
|
"hiddenAliases": [],
|
|
512
|
-
"id": "
|
|
580
|
+
"id": "mint-to",
|
|
513
581
|
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
514
582
|
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
515
583
|
"pluginType": "core",
|
|
516
584
|
"strict": true,
|
|
517
|
-
"summary": "
|
|
585
|
+
"summary": "Mint tokens to an account.",
|
|
518
586
|
"enableJsonFlag": false,
|
|
519
587
|
"isESM": false,
|
|
520
588
|
"relativePath": [
|
|
521
589
|
"dist",
|
|
522
590
|
"commands",
|
|
523
|
-
"
|
|
591
|
+
"mint-to",
|
|
524
592
|
"index.js"
|
|
525
593
|
]
|
|
526
594
|
},
|
|
@@ -586,12 +654,6 @@
|
|
|
586
654
|
"allowNo": false,
|
|
587
655
|
"type": "boolean"
|
|
588
656
|
},
|
|
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
657
|
"skip-system-accounts": {
|
|
596
658
|
"description": "Runs a test validator without initialized light system accounts.",
|
|
597
659
|
"name": "skip-system-accounts",
|
|
@@ -688,7 +750,7 @@
|
|
|
688
750
|
"type": "option"
|
|
689
751
|
},
|
|
690
752
|
"stop": {
|
|
691
|
-
"description": "Stops the test validator and dependent processes. Use with --skip-indexer, --skip-prover
|
|
753
|
+
"description": "Stops the test validator and dependent processes. Use with --skip-indexer, --skip-prover to keep specific services running.",
|
|
692
754
|
"name": "stop",
|
|
693
755
|
"required": false,
|
|
694
756
|
"allowNo": false,
|
|
@@ -769,5 +831,5 @@
|
|
|
769
831
|
]
|
|
770
832
|
}
|
|
771
833
|
},
|
|
772
|
-
"version": "0.
|
|
834
|
+
"version": "0.15.0"
|
|
773
835
|
}
|