@lightprotocol/zk-compression-cli 0.27.1-alpha.1 → 0.27.1-alpha.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.
- package/accounts/address_merkle_tree_amt1Ayt45jfbdw5YSo7iz6WZxUmnZsQTYXy82hVwyC2.json +1 -1
- package/accounts/address_merkle_tree_queue_aq1S9z4reTSQAdgWHGD2zDaS39sjGrAxbR31vxJ2F4F.json +1 -1
- package/accounts/batch_address_merkle_tree_EzKE84aVTkCUhDHLELqyJaq1Y7UVVmqxXqZjVHwHY3rK.json +14 -1
- package/accounts/{batch_state_merkle_tree_2_2Yb3fGo2E9aWLjY8KuESaqurYpGGhEeJr7eynKrSgXwS.json → batch_address_merkle_tree_amt2kaJA14v3urZbZvnc5v2np8jqvc4Z8zDep5wbtzx.json} +1 -1
- package/accounts/{batch_state_merkle_tree_HLKs5NJ8FXkJg8BrzJt56adFYYuwg5etzDtBbQYTsixu.json → batch_state_merkle_tree_bmt1LryLZUMmF7ZtqESaw7wifBXLfXHQYoE4GAmrahU.json} +1 -1
- package/accounts/batch_state_merkle_tree_bmt2UxoBxB9xWev4BkLvkGdapsz6sZGkzViPNph7VFi.json +1 -0
- package/accounts/batch_state_merkle_tree_bmt3ccLd4bqSVZVeCJnH1F6C8jNygAhaDfxDwePyyGb.json +1 -0
- package/accounts/batch_state_merkle_tree_bmt4d3p1a4YQgk9PeZv5s4DBUmbF5NxqYpk9HGjQsd8.json +1 -0
- package/accounts/batch_state_merkle_tree_bmt5yU97jC88YXTuSukYHa8Z5Bi2ZDUtmzfkDTA2mG2.json +1 -0
- package/accounts/{batched_output_queue_2_12wJT3xYd46rtjeqDU6CrtT8unqLjPiheggzqhN9YsyB.json → batched_output_queue_oq1na8gojfdUhsfCpyjNt6h4JaDWtHf1yQj4koBWfto.json} +1 -1
- package/accounts/{batched_output_queue_6L7SzhYB3anwEQ9cphpJ1U7Scwj57bx2xueReg7R9cKU.json → batched_output_queue_oq2UkeMsJLfXt2QHzim242SUi3nvjJs8Pn7Eac9H9vg.json} +1 -1
- package/accounts/batched_output_queue_oq3AxjekBWgo64gpauB6QtuZNesuv19xrhaC1ZM1THQ.json +1 -0
- package/accounts/batched_output_queue_oq4ypwvVGzCUMoiKKHWh4S1SgZJ9vCvKpcz6RT6A8dq.json +1 -0
- package/accounts/batched_output_queue_oq5oh5ZR3yGomuQgFduNDzjtGvVWfDRGLuDVjv9a96P.json +1 -0
- package/accounts/compressible_config_pda_ACXg8a7VaqecBWrSbdu73W4Pg9gsqXJ3EXAqkHyhvVXg.json +1 -0
- package/accounts/config_counter_pda_8gH9tmziWsS8Wc4fnoN5ax3jsSumNYoRDuSBvmH2GMH8.json +1 -0
- package/accounts/{test_batched_cpi_context_7Hp52chxaew8bW1ApR4fck2bh6Y8qA1pu3qwH6N9zaLj.json → cpi_context_cpi15BoVPKgEPw5o8wc2T816GE7b378nMXnhH3Xbq4y.json} +1 -1
- package/accounts/cpi_context_cpi1uHzrEhBG733DoEJNgHCyRS3XmmyVNZx5fonubE4.json +1 -1
- package/accounts/cpi_context_cpi2cdhkH5roePvcudTgUL8ppEBfTay1desGh8G8QxK.json +1 -1
- package/accounts/{cpi_context_batched_2_HwtjxDvFEXiWnzeMeWkMBzpQN45A95rTJNZmz1Z3pe8R.json → cpi_context_cpi2yGapXUR3As5SjnHBAVvmApNiLsbeZpF3euWnW6B.json} +1 -14
- package/accounts/cpi_context_cpi3mbwMpSX8FAGMZVP85AwxqCaQMfEk9Em1v8QK9Rf.json +1 -0
- package/accounts/cpi_context_cpi4yyPDc4bCgHAnsenunGA8Y77j3XEDyjgfyCKgcoc.json +1 -0
- package/accounts/cpi_context_cpi5ZTjdgYpZ1Xr7B1cMLLUE81oTtJbNNAyKary2nV6.json +1 -0
- package/accounts/epoch_pda_34w7KcLBXabMkHuXE2fY368vFe6kP3v5EJn8nPvQ8SKn.json +1 -1
- package/accounts/forester_epoch_pda_3FBt1BPQHCQkS8k3wrUXMfB6JBhtMhEqQXueHRw2ojZV.json +1 -1
- package/accounts/governance_authority_pda_CuEtcKkkbTn6qy2qxqDswq5U2ADsqoipYDAYfRvxPjcp.json +1 -1
- package/accounts/group_pda_24rt4RgeyjUCWGS2eF7L7gyNMuz6JWdqYpAvb1KRoHxs.json +1 -1
- package/accounts/merkle_tree_pubkey_smt1NamzXdq4AMqS2fS2F1i5KTYPZRhoHgWx38d8WsT.json +1 -1
- package/accounts/merkle_tree_pubkey_smt2rJAFdyJJupwMKAqTNAJwvjhmiZ4JYGZmbVRw1Ho.json +1 -1
- package/accounts/nullifier_queue_pubkey_nfq1NvQDJ2GEgnS8zt9prAe8rjjpAW1zFkrvZoBR148.json +1 -1
- package/accounts/nullifier_queue_pubkey_nfq2hgS7NYemXsFaFUCe3EMXSDSfnZnAe27jC6aPP1X.json +1 -1
- package/accounts/registered_forester_pda_2KNqEh23Se8AHecuzR1UkxL26euq2qXSpQPTH1jH7VqU.json +1 -1
- package/accounts/rent_sponsor_pda_r18WwUxfG8kQ69bQPAB2jV6zGNKy3GosFGctjQoV4ti.json +1 -0
- 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_pinocchio.so +0 -0
- package/dist/commands/approve-and-mint-to/index.js +26 -29
- package/dist/commands/balance/index.js +12 -11
- package/dist/commands/compress-sol/index.js +13 -13
- package/dist/commands/compress-spl/index.js +19 -19
- package/dist/commands/config/config.js +67 -33
- package/dist/commands/create-mint/index.js +19 -20
- package/dist/commands/create-token-pool/index.js +9 -9
- package/dist/commands/decompress-sol/index.js +13 -13
- package/dist/commands/decompress-spl/index.js +19 -19
- package/dist/commands/init/index.js +8 -8
- package/dist/commands/merge-token-accounts/index.js +13 -14
- package/dist/commands/mint-to/index.js +24 -25
- package/dist/commands/start-prover/index.d.ts +0 -3
- package/dist/commands/start-prover/index.js +13 -58
- package/dist/commands/test-validator/index.d.ts +4 -2
- package/dist/commands/test-validator/index.js +107 -109
- package/dist/commands/token-balance/index.js +15 -15
- package/dist/commands/transfer/index.js +23 -24
- package/dist/psp-utils/download.js +1 -1
- package/dist/utils/constants.d.ts +2 -2
- package/dist/utils/constants.js +2 -3
- package/dist/utils/downloadProverBinary.d.ts +7 -0
- package/dist/utils/downloadProverBinary.js +108 -0
- package/dist/utils/initTestEnv.d.ts +12 -5
- package/dist/utils/initTestEnv.js +84 -15
- package/dist/utils/process.js +8 -6
- package/dist/utils/processPhotonIndexer.js +3 -3
- package/dist/utils/processProverServer.d.ts +1 -2
- package/dist/utils/processProverServer.js +70 -86
- package/dist/utils/utils.d.ts +4 -0
- package/dist/utils/utils.js +44 -3
- package/oclif.manifest.json +226 -274
- package/package.json +61 -63
- package/test_bin/dev +4 -7
- package/test_bin/run +2 -2
- package/bin/forester +0 -0
- package/bin/forester.toml +0 -15
- 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/proving-keys/combined_26_1_1.key +0 -0
- package/bin/proving-keys/combined_26_1_2.key +0 -0
- package/bin/proving-keys/combined_26_2_1.key +0 -0
- package/bin/proving-keys/combined_32_40_1_1.key +0 -0
- package/bin/proving-keys/combined_32_40_1_2.key +0 -0
- package/bin/proving-keys/combined_32_40_2_1.key +0 -0
- package/bin/proving-keys/inclusion_32_1.key +0 -0
- package/bin/proving-keys/inclusion_32_2.key +0 -0
- package/bin/proving-keys/inclusion_32_3.key +0 -0
- package/bin/proving-keys/inclusion_32_4.key +0 -0
- package/bin/proving-keys/mainnet_inclusion_26_1.key +0 -0
- package/bin/proving-keys/mainnet_inclusion_26_2.key +0 -0
- package/bin/proving-keys/mainnet_inclusion_26_3.key +0 -0
- package/bin/proving-keys/mainnet_inclusion_26_4.key +0 -0
- package/bin/proving-keys/non-inclusion_26_1.key +0 -0
- package/bin/proving-keys/non-inclusion_26_2.key +0 -0
- package/bin/proving-keys/non-inclusion_40_1.key +0 -0
- package/bin/proving-keys/non-inclusion_40_2.key +0 -0
- package/bin/proving-keys/non-inclusion_40_3.key +0 -0
- package/bin/proving-keys/non-inclusion_40_4.key +0 -0
- package/test_bin/lut.json +0 -1
package/oclif.manifest.json
CHANGED
|
@@ -57,55 +57,6 @@
|
|
|
57
57
|
"index.js"
|
|
58
58
|
]
|
|
59
59
|
},
|
|
60
|
-
"compress-spl": {
|
|
61
|
-
"aliases": [],
|
|
62
|
-
"args": {},
|
|
63
|
-
"examples": [
|
|
64
|
-
"$ light compress-spl --mint PublicKey --to PublicKey --amount 10"
|
|
65
|
-
],
|
|
66
|
-
"flags": {
|
|
67
|
-
"mint": {
|
|
68
|
-
"description": "Specify the mint address.",
|
|
69
|
-
"name": "mint",
|
|
70
|
-
"required": true,
|
|
71
|
-
"hasDynamicHelp": false,
|
|
72
|
-
"multiple": false,
|
|
73
|
-
"type": "option"
|
|
74
|
-
},
|
|
75
|
-
"to": {
|
|
76
|
-
"description": "Specify the recipient address (owner of destination compressed token account).",
|
|
77
|
-
"name": "to",
|
|
78
|
-
"required": true,
|
|
79
|
-
"hasDynamicHelp": false,
|
|
80
|
-
"multiple": false,
|
|
81
|
-
"type": "option"
|
|
82
|
-
},
|
|
83
|
-
"amount": {
|
|
84
|
-
"description": "Amount to compress, in tokens.",
|
|
85
|
-
"name": "amount",
|
|
86
|
-
"required": true,
|
|
87
|
-
"hasDynamicHelp": false,
|
|
88
|
-
"multiple": false,
|
|
89
|
-
"type": "option"
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
|
-
"hasDynamicHelp": false,
|
|
93
|
-
"hiddenAliases": [],
|
|
94
|
-
"id": "compress-spl",
|
|
95
|
-
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
96
|
-
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
97
|
-
"pluginType": "core",
|
|
98
|
-
"strict": true,
|
|
99
|
-
"summary": "Compress SPL tokens.",
|
|
100
|
-
"enableJsonFlag": false,
|
|
101
|
-
"isESM": false,
|
|
102
|
-
"relativePath": [
|
|
103
|
-
"dist",
|
|
104
|
-
"commands",
|
|
105
|
-
"compress-spl",
|
|
106
|
-
"index.js"
|
|
107
|
-
]
|
|
108
|
-
},
|
|
109
60
|
"balance": {
|
|
110
61
|
"aliases": [],
|
|
111
62
|
"args": {},
|
|
@@ -180,66 +131,32 @@
|
|
|
180
131
|
"index.js"
|
|
181
132
|
]
|
|
182
133
|
},
|
|
183
|
-
"
|
|
134
|
+
"compress-spl": {
|
|
184
135
|
"aliases": [],
|
|
185
136
|
"args": {},
|
|
186
137
|
"examples": [
|
|
187
|
-
"$ light
|
|
138
|
+
"$ light compress-spl --mint PublicKey --to PublicKey --amount 10"
|
|
188
139
|
],
|
|
189
140
|
"flags": {
|
|
190
|
-
"mint
|
|
191
|
-
"description": "
|
|
192
|
-
"name": "mint
|
|
193
|
-
"required":
|
|
141
|
+
"mint": {
|
|
142
|
+
"description": "Specify the mint address.",
|
|
143
|
+
"name": "mint",
|
|
144
|
+
"required": true,
|
|
194
145
|
"hasDynamicHelp": false,
|
|
195
146
|
"multiple": false,
|
|
196
147
|
"type": "option"
|
|
197
148
|
},
|
|
198
|
-
"
|
|
199
|
-
"description": "
|
|
200
|
-
"name": "
|
|
201
|
-
"required":
|
|
149
|
+
"to": {
|
|
150
|
+
"description": "Specify the recipient address (owner of destination compressed token account).",
|
|
151
|
+
"name": "to",
|
|
152
|
+
"required": true,
|
|
202
153
|
"hasDynamicHelp": false,
|
|
203
154
|
"multiple": false,
|
|
204
155
|
"type": "option"
|
|
205
156
|
},
|
|
206
|
-
"
|
|
207
|
-
"description": "
|
|
208
|
-
"name": "
|
|
209
|
-
"required": false,
|
|
210
|
-
"default": 9,
|
|
211
|
-
"hasDynamicHelp": false,
|
|
212
|
-
"multiple": false,
|
|
213
|
-
"type": "option"
|
|
214
|
-
}
|
|
215
|
-
},
|
|
216
|
-
"hasDynamicHelp": false,
|
|
217
|
-
"hiddenAliases": [],
|
|
218
|
-
"id": "create-mint",
|
|
219
|
-
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
220
|
-
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
221
|
-
"pluginType": "core",
|
|
222
|
-
"strict": true,
|
|
223
|
-
"summary": "Create a new compressed token mint",
|
|
224
|
-
"enableJsonFlag": false,
|
|
225
|
-
"isESM": false,
|
|
226
|
-
"relativePath": [
|
|
227
|
-
"dist",
|
|
228
|
-
"commands",
|
|
229
|
-
"create-mint",
|
|
230
|
-
"index.js"
|
|
231
|
-
]
|
|
232
|
-
},
|
|
233
|
-
"create-token-pool": {
|
|
234
|
-
"aliases": [],
|
|
235
|
-
"args": {},
|
|
236
|
-
"examples": [
|
|
237
|
-
"$ light create-token-pool --mint-decimals 5"
|
|
238
|
-
],
|
|
239
|
-
"flags": {
|
|
240
|
-
"mint": {
|
|
241
|
-
"description": "Provide a base58 encoded mint address to register",
|
|
242
|
-
"name": "mint",
|
|
157
|
+
"amount": {
|
|
158
|
+
"description": "Amount to compress, in tokens.",
|
|
159
|
+
"name": "amount",
|
|
243
160
|
"required": true,
|
|
244
161
|
"hasDynamicHelp": false,
|
|
245
162
|
"multiple": false,
|
|
@@ -248,18 +165,18 @@
|
|
|
248
165
|
},
|
|
249
166
|
"hasDynamicHelp": false,
|
|
250
167
|
"hiddenAliases": [],
|
|
251
|
-
"id": "
|
|
168
|
+
"id": "compress-spl",
|
|
252
169
|
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
253
170
|
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
254
171
|
"pluginType": "core",
|
|
255
172
|
"strict": true,
|
|
256
|
-
"summary": "
|
|
173
|
+
"summary": "Compress SPL tokens.",
|
|
257
174
|
"enableJsonFlag": false,
|
|
258
175
|
"isESM": false,
|
|
259
176
|
"relativePath": [
|
|
260
177
|
"dist",
|
|
261
178
|
"commands",
|
|
262
|
-
"
|
|
179
|
+
"compress-spl",
|
|
263
180
|
"index.js"
|
|
264
181
|
]
|
|
265
182
|
},
|
|
@@ -369,6 +286,89 @@
|
|
|
369
286
|
"index.js"
|
|
370
287
|
]
|
|
371
288
|
},
|
|
289
|
+
"create-mint": {
|
|
290
|
+
"aliases": [],
|
|
291
|
+
"args": {},
|
|
292
|
+
"examples": [
|
|
293
|
+
"$ light create-mint --mint-decimals 5"
|
|
294
|
+
],
|
|
295
|
+
"flags": {
|
|
296
|
+
"mint-keypair": {
|
|
297
|
+
"description": "Provide a path to a mint keypair file. Defaults to a random keypair",
|
|
298
|
+
"name": "mint-keypair",
|
|
299
|
+
"required": false,
|
|
300
|
+
"hasDynamicHelp": false,
|
|
301
|
+
"multiple": false,
|
|
302
|
+
"type": "option"
|
|
303
|
+
},
|
|
304
|
+
"mint-authority": {
|
|
305
|
+
"description": "Address of the mint authority. Defaults to the fee payer",
|
|
306
|
+
"name": "mint-authority",
|
|
307
|
+
"required": false,
|
|
308
|
+
"hasDynamicHelp": false,
|
|
309
|
+
"multiple": false,
|
|
310
|
+
"type": "option"
|
|
311
|
+
},
|
|
312
|
+
"mint-decimals": {
|
|
313
|
+
"description": "Number of base 10 digits to the right of the decimal place [default: 9]",
|
|
314
|
+
"name": "mint-decimals",
|
|
315
|
+
"required": false,
|
|
316
|
+
"default": 9,
|
|
317
|
+
"hasDynamicHelp": false,
|
|
318
|
+
"multiple": false,
|
|
319
|
+
"type": "option"
|
|
320
|
+
}
|
|
321
|
+
},
|
|
322
|
+
"hasDynamicHelp": false,
|
|
323
|
+
"hiddenAliases": [],
|
|
324
|
+
"id": "create-mint",
|
|
325
|
+
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
326
|
+
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
327
|
+
"pluginType": "core",
|
|
328
|
+
"strict": true,
|
|
329
|
+
"summary": "Create a new compressed token mint",
|
|
330
|
+
"enableJsonFlag": false,
|
|
331
|
+
"isESM": false,
|
|
332
|
+
"relativePath": [
|
|
333
|
+
"dist",
|
|
334
|
+
"commands",
|
|
335
|
+
"create-mint",
|
|
336
|
+
"index.js"
|
|
337
|
+
]
|
|
338
|
+
},
|
|
339
|
+
"create-token-pool": {
|
|
340
|
+
"aliases": [],
|
|
341
|
+
"args": {},
|
|
342
|
+
"examples": [
|
|
343
|
+
"$ light create-token-pool --mint-decimals 5"
|
|
344
|
+
],
|
|
345
|
+
"flags": {
|
|
346
|
+
"mint": {
|
|
347
|
+
"description": "Provide a base58 encoded mint address to register",
|
|
348
|
+
"name": "mint",
|
|
349
|
+
"required": true,
|
|
350
|
+
"hasDynamicHelp": false,
|
|
351
|
+
"multiple": false,
|
|
352
|
+
"type": "option"
|
|
353
|
+
}
|
|
354
|
+
},
|
|
355
|
+
"hasDynamicHelp": false,
|
|
356
|
+
"hiddenAliases": [],
|
|
357
|
+
"id": "create-token-pool",
|
|
358
|
+
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
359
|
+
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
360
|
+
"pluginType": "core",
|
|
361
|
+
"strict": true,
|
|
362
|
+
"summary": "Register an existing mint with the CompressedToken program",
|
|
363
|
+
"enableJsonFlag": false,
|
|
364
|
+
"isESM": false,
|
|
365
|
+
"relativePath": [
|
|
366
|
+
"dist",
|
|
367
|
+
"commands",
|
|
368
|
+
"create-token-pool",
|
|
369
|
+
"index.js"
|
|
370
|
+
]
|
|
371
|
+
},
|
|
372
372
|
"decompress-sol": {
|
|
373
373
|
"aliases": [],
|
|
374
374
|
"args": {},
|
|
@@ -598,51 +598,106 @@
|
|
|
598
598
|
"multiple": false,
|
|
599
599
|
"type": "option"
|
|
600
600
|
},
|
|
601
|
-
"
|
|
602
|
-
"description": "
|
|
603
|
-
"name": "
|
|
601
|
+
"redisUrl": {
|
|
602
|
+
"description": "Redis URL to use for the prover (e.g. redis://localhost:6379)",
|
|
603
|
+
"name": "redisUrl",
|
|
604
604
|
"required": false,
|
|
605
605
|
"hasDynamicHelp": false,
|
|
606
606
|
"multiple": false,
|
|
607
|
-
"
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
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
|
+
"token-balance": {
|
|
627
|
+
"aliases": [],
|
|
628
|
+
"args": {},
|
|
629
|
+
"examples": [
|
|
630
|
+
"$ light token-balance --mint=<ADDRESS> --owner=<ADDRESS>"
|
|
631
|
+
],
|
|
632
|
+
"flags": {
|
|
633
|
+
"owner": {
|
|
634
|
+
"description": "Address of the compressed token owner.",
|
|
635
|
+
"name": "owner",
|
|
636
|
+
"required": true,
|
|
637
|
+
"hasDynamicHelp": false,
|
|
638
|
+
"multiple": false,
|
|
615
639
|
"type": "option"
|
|
616
640
|
},
|
|
617
|
-
"
|
|
618
|
-
"description": "
|
|
619
|
-
"name": "
|
|
620
|
-
"required":
|
|
641
|
+
"mint": {
|
|
642
|
+
"description": "Mint address of the compressed token account.",
|
|
643
|
+
"name": "mint",
|
|
644
|
+
"required": true,
|
|
621
645
|
"hasDynamicHelp": false,
|
|
622
|
-
"multiple":
|
|
623
|
-
"
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
646
|
+
"multiple": false,
|
|
647
|
+
"type": "option"
|
|
648
|
+
}
|
|
649
|
+
},
|
|
650
|
+
"hasDynamicHelp": false,
|
|
651
|
+
"hiddenAliases": [],
|
|
652
|
+
"id": "token-balance",
|
|
653
|
+
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
654
|
+
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
655
|
+
"pluginType": "core",
|
|
656
|
+
"strict": true,
|
|
657
|
+
"summary": "Get balance",
|
|
658
|
+
"enableJsonFlag": false,
|
|
659
|
+
"isESM": false,
|
|
660
|
+
"relativePath": [
|
|
661
|
+
"dist",
|
|
662
|
+
"commands",
|
|
663
|
+
"token-balance",
|
|
664
|
+
"index.js"
|
|
665
|
+
]
|
|
666
|
+
},
|
|
667
|
+
"transfer": {
|
|
668
|
+
"aliases": [],
|
|
669
|
+
"args": {},
|
|
670
|
+
"examples": [
|
|
671
|
+
"$ light transfer --mint PublicKey --to PublicKey --amount 1000"
|
|
672
|
+
],
|
|
673
|
+
"flags": {
|
|
674
|
+
"mint": {
|
|
675
|
+
"description": "Mint to transfer",
|
|
676
|
+
"name": "mint",
|
|
677
|
+
"required": true,
|
|
678
|
+
"hasDynamicHelp": false,
|
|
679
|
+
"multiple": false,
|
|
634
680
|
"type": "option"
|
|
635
681
|
},
|
|
636
|
-
"
|
|
637
|
-
"description": "
|
|
638
|
-
"name": "
|
|
639
|
-
"required":
|
|
640
|
-
"
|
|
641
|
-
"
|
|
682
|
+
"to": {
|
|
683
|
+
"description": "Recipient address",
|
|
684
|
+
"name": "to",
|
|
685
|
+
"required": true,
|
|
686
|
+
"hasDynamicHelp": false,
|
|
687
|
+
"multiple": false,
|
|
688
|
+
"type": "option"
|
|
642
689
|
},
|
|
643
|
-
"
|
|
644
|
-
"description": "
|
|
645
|
-
"name": "
|
|
690
|
+
"amount": {
|
|
691
|
+
"description": "Amount to send, in tokens",
|
|
692
|
+
"name": "amount",
|
|
693
|
+
"required": true,
|
|
694
|
+
"hasDynamicHelp": false,
|
|
695
|
+
"multiple": false,
|
|
696
|
+
"type": "option"
|
|
697
|
+
},
|
|
698
|
+
"fee-payer": {
|
|
699
|
+
"description": "Specify the fee-payer account. Defaults to the client keypair.",
|
|
700
|
+
"name": "fee-payer",
|
|
646
701
|
"required": false,
|
|
647
702
|
"hasDynamicHelp": false,
|
|
648
703
|
"multiple": false,
|
|
@@ -651,17 +706,18 @@
|
|
|
651
706
|
},
|
|
652
707
|
"hasDynamicHelp": false,
|
|
653
708
|
"hiddenAliases": [],
|
|
654
|
-
"id": "
|
|
709
|
+
"id": "transfer",
|
|
655
710
|
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
656
711
|
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
657
712
|
"pluginType": "core",
|
|
658
713
|
"strict": true,
|
|
714
|
+
"summary": "Transfer tokens from one account to another.",
|
|
659
715
|
"enableJsonFlag": false,
|
|
660
716
|
"isESM": false,
|
|
661
717
|
"relativePath": [
|
|
662
718
|
"dist",
|
|
663
719
|
"commands",
|
|
664
|
-
"
|
|
720
|
+
"transfer",
|
|
665
721
|
"index.js"
|
|
666
722
|
]
|
|
667
723
|
},
|
|
@@ -674,7 +730,9 @@
|
|
|
674
730
|
"$ light test-validator --skip-indexer",
|
|
675
731
|
"$ light test-validator --geyser-config ./config.json",
|
|
676
732
|
"$ light test-validator --validator-args \"--limit-ledger-size 50000000\"",
|
|
677
|
-
"$ light test-validator --sbf-program <address> <path/program>"
|
|
733
|
+
"$ light test-validator --sbf-program <address> <path/program>",
|
|
734
|
+
"$ light test-validator --devnet",
|
|
735
|
+
"$ light test-validator --mainnet"
|
|
678
736
|
],
|
|
679
737
|
"flags": {
|
|
680
738
|
"skip-indexer": {
|
|
@@ -748,45 +806,6 @@
|
|
|
748
806
|
"multiple": false,
|
|
749
807
|
"type": "option"
|
|
750
808
|
},
|
|
751
|
-
"prover-run-mode": {
|
|
752
|
-
"description": "Specify the running mode for the prover (local-rpc, forester, forester-test, rpc, or full). Default: local-rpc",
|
|
753
|
-
"exclusive": [
|
|
754
|
-
"skip-prover"
|
|
755
|
-
],
|
|
756
|
-
"name": "prover-run-mode",
|
|
757
|
-
"required": false,
|
|
758
|
-
"hasDynamicHelp": false,
|
|
759
|
-
"multiple": false,
|
|
760
|
-
"options": [
|
|
761
|
-
"local-rpc",
|
|
762
|
-
"rpc",
|
|
763
|
-
"forester",
|
|
764
|
-
"forester-test",
|
|
765
|
-
"full",
|
|
766
|
-
"full-test"
|
|
767
|
-
],
|
|
768
|
-
"type": "option"
|
|
769
|
-
},
|
|
770
|
-
"circuit": {
|
|
771
|
-
"description": "Specify individual circuits to enable.",
|
|
772
|
-
"exclusive": [
|
|
773
|
-
"skip-prover"
|
|
774
|
-
],
|
|
775
|
-
"name": "circuit",
|
|
776
|
-
"required": false,
|
|
777
|
-
"hasDynamicHelp": false,
|
|
778
|
-
"multiple": true,
|
|
779
|
-
"options": [
|
|
780
|
-
"inclusion",
|
|
781
|
-
"non-inclusion",
|
|
782
|
-
"combined",
|
|
783
|
-
"append",
|
|
784
|
-
"update",
|
|
785
|
-
"append-test",
|
|
786
|
-
"update-test"
|
|
787
|
-
],
|
|
788
|
-
"type": "option"
|
|
789
|
-
},
|
|
790
809
|
"limit-ledger-size": {
|
|
791
810
|
"description": "Keep this amount of shreds in root slots.",
|
|
792
811
|
"name": "limit-ledger-size",
|
|
@@ -839,122 +858,55 @@
|
|
|
839
858
|
"hasDynamicHelp": false,
|
|
840
859
|
"multiple": true,
|
|
841
860
|
"type": "option"
|
|
842
|
-
}
|
|
843
|
-
},
|
|
844
|
-
"hasDynamicHelp": false,
|
|
845
|
-
"hiddenAliases": [],
|
|
846
|
-
"id": "test-validator",
|
|
847
|
-
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
848
|
-
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
849
|
-
"pluginType": "core",
|
|
850
|
-
"strict": true,
|
|
851
|
-
"enableJsonFlag": false,
|
|
852
|
-
"isESM": false,
|
|
853
|
-
"relativePath": [
|
|
854
|
-
"dist",
|
|
855
|
-
"commands",
|
|
856
|
-
"test-validator",
|
|
857
|
-
"index.js"
|
|
858
|
-
]
|
|
859
|
-
},
|
|
860
|
-
"token-balance": {
|
|
861
|
-
"aliases": [],
|
|
862
|
-
"args": {},
|
|
863
|
-
"examples": [
|
|
864
|
-
"$ light token-balance --mint=<ADDRESS> --owner=<ADDRESS>"
|
|
865
|
-
],
|
|
866
|
-
"flags": {
|
|
867
|
-
"owner": {
|
|
868
|
-
"description": "Address of the compressed token owner.",
|
|
869
|
-
"name": "owner",
|
|
870
|
-
"required": true,
|
|
871
|
-
"hasDynamicHelp": false,
|
|
872
|
-
"multiple": false,
|
|
873
|
-
"type": "option"
|
|
874
861
|
},
|
|
875
|
-
"
|
|
876
|
-
"description": "
|
|
877
|
-
"
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
"
|
|
881
|
-
"
|
|
882
|
-
|
|
883
|
-
},
|
|
884
|
-
"hasDynamicHelp": false,
|
|
885
|
-
"hiddenAliases": [],
|
|
886
|
-
"id": "token-balance",
|
|
887
|
-
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
888
|
-
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
889
|
-
"pluginType": "core",
|
|
890
|
-
"strict": true,
|
|
891
|
-
"summary": "Get balance",
|
|
892
|
-
"enableJsonFlag": false,
|
|
893
|
-
"isESM": false,
|
|
894
|
-
"relativePath": [
|
|
895
|
-
"dist",
|
|
896
|
-
"commands",
|
|
897
|
-
"token-balance",
|
|
898
|
-
"index.js"
|
|
899
|
-
]
|
|
900
|
-
},
|
|
901
|
-
"transfer": {
|
|
902
|
-
"aliases": [],
|
|
903
|
-
"args": {},
|
|
904
|
-
"examples": [
|
|
905
|
-
"$ light transfer --mint PublicKey --to PublicKey --amount 1000"
|
|
906
|
-
],
|
|
907
|
-
"flags": {
|
|
908
|
-
"mint": {
|
|
909
|
-
"description": "Mint to transfer",
|
|
910
|
-
"name": "mint",
|
|
911
|
-
"required": true,
|
|
912
|
-
"hasDynamicHelp": false,
|
|
913
|
-
"multiple": false,
|
|
914
|
-
"type": "option"
|
|
862
|
+
"devnet": {
|
|
863
|
+
"description": "Clone Light Protocol programs and accounts from devnet instead of loading local binaries.",
|
|
864
|
+
"exclusive": [
|
|
865
|
+
"mainnet"
|
|
866
|
+
],
|
|
867
|
+
"name": "devnet",
|
|
868
|
+
"allowNo": false,
|
|
869
|
+
"type": "boolean"
|
|
915
870
|
},
|
|
916
|
-
"
|
|
917
|
-
"description": "
|
|
918
|
-
"
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
"
|
|
922
|
-
"
|
|
871
|
+
"mainnet": {
|
|
872
|
+
"description": "Clone Light Protocol programs and accounts from mainnet instead of loading local binaries.",
|
|
873
|
+
"exclusive": [
|
|
874
|
+
"devnet"
|
|
875
|
+
],
|
|
876
|
+
"name": "mainnet",
|
|
877
|
+
"allowNo": false,
|
|
878
|
+
"type": "boolean"
|
|
923
879
|
},
|
|
924
|
-
"
|
|
925
|
-
"
|
|
926
|
-
"
|
|
927
|
-
"
|
|
928
|
-
"
|
|
929
|
-
"
|
|
930
|
-
"type": "option"
|
|
880
|
+
"verbose": {
|
|
881
|
+
"char": "v",
|
|
882
|
+
"description": "Enable verbose logging.",
|
|
883
|
+
"name": "verbose",
|
|
884
|
+
"allowNo": false,
|
|
885
|
+
"type": "boolean"
|
|
931
886
|
},
|
|
932
|
-
"
|
|
933
|
-
"description": "
|
|
934
|
-
"name": "
|
|
935
|
-
"
|
|
936
|
-
"
|
|
937
|
-
"multiple": false,
|
|
938
|
-
"type": "option"
|
|
887
|
+
"skip-reset": {
|
|
888
|
+
"description": "Skip resetting the ledger.",
|
|
889
|
+
"name": "skip-reset",
|
|
890
|
+
"allowNo": false,
|
|
891
|
+
"type": "boolean"
|
|
939
892
|
}
|
|
940
893
|
},
|
|
941
894
|
"hasDynamicHelp": false,
|
|
942
895
|
"hiddenAliases": [],
|
|
943
|
-
"id": "
|
|
896
|
+
"id": "test-validator",
|
|
944
897
|
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
945
898
|
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
946
899
|
"pluginType": "core",
|
|
947
900
|
"strict": true,
|
|
948
|
-
"summary": "Transfer tokens from one account to another.",
|
|
949
901
|
"enableJsonFlag": false,
|
|
950
902
|
"isESM": false,
|
|
951
903
|
"relativePath": [
|
|
952
904
|
"dist",
|
|
953
905
|
"commands",
|
|
954
|
-
"
|
|
906
|
+
"test-validator",
|
|
955
907
|
"index.js"
|
|
956
908
|
]
|
|
957
909
|
}
|
|
958
910
|
},
|
|
959
|
-
"version": "0.27.1-alpha.
|
|
911
|
+
"version": "0.27.1-alpha.3"
|
|
960
912
|
}
|