@lightprotocol/zk-compression-cli 0.20.3 → 0.20.4
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/prover-darwin-arm64
CHANGED
|
Binary file
|
package/bin/prover-darwin-x64
CHANGED
|
Binary file
|
package/bin/prover-linux-arm64
CHANGED
|
Binary file
|
package/bin/prover-linux-x64
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/oclif.manifest.json
CHANGED
|
@@ -98,15 +98,23 @@
|
|
|
98
98
|
"index.js"
|
|
99
99
|
]
|
|
100
100
|
},
|
|
101
|
-
"compress-
|
|
101
|
+
"compress-spl": {
|
|
102
102
|
"aliases": [],
|
|
103
103
|
"args": {},
|
|
104
104
|
"examples": [
|
|
105
|
-
"$ light compress-
|
|
105
|
+
"$ light compress-spl --mint PublicKey --to PublicKey --amount 10"
|
|
106
106
|
],
|
|
107
107
|
"flags": {
|
|
108
|
+
"mint": {
|
|
109
|
+
"description": "Specify the mint address.",
|
|
110
|
+
"name": "mint",
|
|
111
|
+
"required": true,
|
|
112
|
+
"hasDynamicHelp": false,
|
|
113
|
+
"multiple": false,
|
|
114
|
+
"type": "option"
|
|
115
|
+
},
|
|
108
116
|
"to": {
|
|
109
|
-
"description": "Specify the recipient address.",
|
|
117
|
+
"description": "Specify the recipient address (owner of destination compressed token account).",
|
|
110
118
|
"name": "to",
|
|
111
119
|
"required": true,
|
|
112
120
|
"hasDynamicHelp": false,
|
|
@@ -114,7 +122,7 @@
|
|
|
114
122
|
"type": "option"
|
|
115
123
|
},
|
|
116
124
|
"amount": {
|
|
117
|
-
"description": "Amount to compress, in
|
|
125
|
+
"description": "Amount to compress, in tokens.",
|
|
118
126
|
"name": "amount",
|
|
119
127
|
"required": true,
|
|
120
128
|
"hasDynamicHelp": false,
|
|
@@ -124,38 +132,30 @@
|
|
|
124
132
|
},
|
|
125
133
|
"hasDynamicHelp": false,
|
|
126
134
|
"hiddenAliases": [],
|
|
127
|
-
"id": "compress-
|
|
135
|
+
"id": "compress-spl",
|
|
128
136
|
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
129
137
|
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
130
138
|
"pluginType": "core",
|
|
131
139
|
"strict": true,
|
|
132
|
-
"summary": "Compress
|
|
140
|
+
"summary": "Compress SPL tokens.",
|
|
133
141
|
"enableJsonFlag": false,
|
|
134
142
|
"isESM": false,
|
|
135
143
|
"relativePath": [
|
|
136
144
|
"dist",
|
|
137
145
|
"commands",
|
|
138
|
-
"compress-
|
|
146
|
+
"compress-spl",
|
|
139
147
|
"index.js"
|
|
140
148
|
]
|
|
141
149
|
},
|
|
142
|
-
"compress-
|
|
150
|
+
"compress-sol": {
|
|
143
151
|
"aliases": [],
|
|
144
152
|
"args": {},
|
|
145
153
|
"examples": [
|
|
146
|
-
"$ light compress-
|
|
154
|
+
"$ light compress-sol --to PublicKey --amount 10"
|
|
147
155
|
],
|
|
148
156
|
"flags": {
|
|
149
|
-
"mint": {
|
|
150
|
-
"description": "Specify the mint address.",
|
|
151
|
-
"name": "mint",
|
|
152
|
-
"required": true,
|
|
153
|
-
"hasDynamicHelp": false,
|
|
154
|
-
"multiple": false,
|
|
155
|
-
"type": "option"
|
|
156
|
-
},
|
|
157
157
|
"to": {
|
|
158
|
-
"description": "Specify the recipient address
|
|
158
|
+
"description": "Specify the recipient address.",
|
|
159
159
|
"name": "to",
|
|
160
160
|
"required": true,
|
|
161
161
|
"hasDynamicHelp": false,
|
|
@@ -163,7 +163,7 @@
|
|
|
163
163
|
"type": "option"
|
|
164
164
|
},
|
|
165
165
|
"amount": {
|
|
166
|
-
"description": "Amount to compress, in
|
|
166
|
+
"description": "Amount to compress, in lamports.",
|
|
167
167
|
"name": "amount",
|
|
168
168
|
"required": true,
|
|
169
169
|
"hasDynamicHelp": false,
|
|
@@ -173,75 +173,105 @@
|
|
|
173
173
|
},
|
|
174
174
|
"hasDynamicHelp": false,
|
|
175
175
|
"hiddenAliases": [],
|
|
176
|
-
"id": "compress-
|
|
176
|
+
"id": "compress-sol",
|
|
177
177
|
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
178
178
|
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
179
179
|
"pluginType": "core",
|
|
180
180
|
"strict": true,
|
|
181
|
-
"summary": "Compress
|
|
181
|
+
"summary": "Compress SOL.",
|
|
182
182
|
"enableJsonFlag": false,
|
|
183
183
|
"isESM": false,
|
|
184
184
|
"relativePath": [
|
|
185
185
|
"dist",
|
|
186
186
|
"commands",
|
|
187
|
-
"compress-
|
|
187
|
+
"compress-sol",
|
|
188
188
|
"index.js"
|
|
189
189
|
]
|
|
190
190
|
},
|
|
191
|
-
"
|
|
191
|
+
"create-mint": {
|
|
192
192
|
"aliases": [],
|
|
193
193
|
"args": {},
|
|
194
|
-
"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",
|
|
195
194
|
"examples": [
|
|
196
|
-
"$ light
|
|
195
|
+
"$ light create-mint --mint-decimals 5"
|
|
197
196
|
],
|
|
198
197
|
"flags": {
|
|
199
|
-
"
|
|
200
|
-
"description": "
|
|
201
|
-
"name": "
|
|
198
|
+
"mint-keypair": {
|
|
199
|
+
"description": "Provide a path to a mint keypair file. Defaults to a random keypair",
|
|
200
|
+
"name": "mint-keypair",
|
|
201
|
+
"required": false,
|
|
202
202
|
"hasDynamicHelp": false,
|
|
203
203
|
"multiple": false,
|
|
204
204
|
"type": "option"
|
|
205
205
|
},
|
|
206
|
-
"
|
|
207
|
-
"description": "
|
|
208
|
-
"name": "
|
|
206
|
+
"mint-authority": {
|
|
207
|
+
"description": "Address of the mint authority. Defaults to the fee payer",
|
|
208
|
+
"name": "mint-authority",
|
|
209
|
+
"required": false,
|
|
209
210
|
"hasDynamicHelp": false,
|
|
210
211
|
"multiple": false,
|
|
211
212
|
"type": "option"
|
|
212
213
|
},
|
|
213
|
-
"
|
|
214
|
-
"description": "
|
|
215
|
-
"name": "
|
|
214
|
+
"mint-decimals": {
|
|
215
|
+
"description": "Number of base 10 digits to the right of the decimal place [default: 9]",
|
|
216
|
+
"name": "mint-decimals",
|
|
217
|
+
"required": false,
|
|
218
|
+
"default": 9,
|
|
216
219
|
"hasDynamicHelp": false,
|
|
217
220
|
"multiple": false,
|
|
218
221
|
"type": "option"
|
|
219
|
-
},
|
|
220
|
-
"get": {
|
|
221
|
-
"description": "Gets the current config values",
|
|
222
|
-
"name": "get",
|
|
223
|
-
"required": false,
|
|
224
|
-
"allowNo": false,
|
|
225
|
-
"type": "boolean"
|
|
226
222
|
}
|
|
227
223
|
},
|
|
228
224
|
"hasDynamicHelp": false,
|
|
229
225
|
"hiddenAliases": [],
|
|
230
|
-
"id": "
|
|
226
|
+
"id": "create-mint",
|
|
231
227
|
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
232
228
|
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
233
229
|
"pluginType": "core",
|
|
234
230
|
"strict": true,
|
|
231
|
+
"summary": "Create a new compressed token mint",
|
|
235
232
|
"enableJsonFlag": false,
|
|
236
233
|
"isESM": false,
|
|
237
234
|
"relativePath": [
|
|
238
235
|
"dist",
|
|
239
236
|
"commands",
|
|
240
|
-
"
|
|
237
|
+
"create-mint",
|
|
241
238
|
"index.js"
|
|
242
239
|
]
|
|
243
240
|
},
|
|
244
|
-
"
|
|
241
|
+
"create-token-pool": {
|
|
242
|
+
"aliases": [],
|
|
243
|
+
"args": {},
|
|
244
|
+
"examples": [
|
|
245
|
+
"$ light create-token-pool --mint-decimals 5"
|
|
246
|
+
],
|
|
247
|
+
"flags": {
|
|
248
|
+
"mint": {
|
|
249
|
+
"description": "Provide a base58 encoded mint address to register",
|
|
250
|
+
"name": "mint",
|
|
251
|
+
"required": true,
|
|
252
|
+
"hasDynamicHelp": false,
|
|
253
|
+
"multiple": false,
|
|
254
|
+
"type": "option"
|
|
255
|
+
}
|
|
256
|
+
},
|
|
257
|
+
"hasDynamicHelp": false,
|
|
258
|
+
"hiddenAliases": [],
|
|
259
|
+
"id": "create-token-pool",
|
|
260
|
+
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
261
|
+
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
262
|
+
"pluginType": "core",
|
|
263
|
+
"strict": true,
|
|
264
|
+
"summary": "Register an existing mint with the CompressedToken program",
|
|
265
|
+
"enableJsonFlag": false,
|
|
266
|
+
"isESM": false,
|
|
267
|
+
"relativePath": [
|
|
268
|
+
"dist",
|
|
269
|
+
"commands",
|
|
270
|
+
"create-token-pool",
|
|
271
|
+
"index.js"
|
|
272
|
+
]
|
|
273
|
+
},
|
|
274
|
+
"config:config": {
|
|
245
275
|
"aliases": [],
|
|
246
276
|
"args": {},
|
|
247
277
|
"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",
|
|
@@ -280,7 +310,7 @@
|
|
|
280
310
|
},
|
|
281
311
|
"hasDynamicHelp": false,
|
|
282
312
|
"hiddenAliases": [],
|
|
283
|
-
"id": "config",
|
|
313
|
+
"id": "config:config",
|
|
284
314
|
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
285
315
|
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
286
316
|
"pluginType": "core",
|
|
@@ -294,86 +324,56 @@
|
|
|
294
324
|
"index.js"
|
|
295
325
|
]
|
|
296
326
|
},
|
|
297
|
-
"
|
|
327
|
+
"config": {
|
|
298
328
|
"aliases": [],
|
|
299
329
|
"args": {},
|
|
330
|
+
"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",
|
|
300
331
|
"examples": [
|
|
301
|
-
"$ light
|
|
332
|
+
"$ light config --solanaRpcUrl https://solana-api.example.com"
|
|
302
333
|
],
|
|
303
334
|
"flags": {
|
|
304
|
-
"
|
|
305
|
-
"description": "
|
|
306
|
-
"name": "
|
|
307
|
-
"required": true,
|
|
335
|
+
"solanaRpcUrl": {
|
|
336
|
+
"description": "Solana RPC url",
|
|
337
|
+
"name": "solanaRpcUrl",
|
|
308
338
|
"hasDynamicHelp": false,
|
|
309
339
|
"multiple": false,
|
|
310
340
|
"type": "option"
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
"id": "create-token-pool",
|
|
316
|
-
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
317
|
-
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
318
|
-
"pluginType": "core",
|
|
319
|
-
"strict": true,
|
|
320
|
-
"summary": "Register an existing mint with the CompressedToken program",
|
|
321
|
-
"enableJsonFlag": false,
|
|
322
|
-
"isESM": false,
|
|
323
|
-
"relativePath": [
|
|
324
|
-
"dist",
|
|
325
|
-
"commands",
|
|
326
|
-
"create-token-pool",
|
|
327
|
-
"index.js"
|
|
328
|
-
]
|
|
329
|
-
},
|
|
330
|
-
"create-mint": {
|
|
331
|
-
"aliases": [],
|
|
332
|
-
"args": {},
|
|
333
|
-
"examples": [
|
|
334
|
-
"$ light create-mint --mint-decimals 5"
|
|
335
|
-
],
|
|
336
|
-
"flags": {
|
|
337
|
-
"mint-keypair": {
|
|
338
|
-
"description": "Provide a path to a mint keypair file. Defaults to a random keypair",
|
|
339
|
-
"name": "mint-keypair",
|
|
340
|
-
"required": false,
|
|
341
|
+
},
|
|
342
|
+
"indexerUrl": {
|
|
343
|
+
"description": "Indexer url",
|
|
344
|
+
"name": "indexerUrl",
|
|
341
345
|
"hasDynamicHelp": false,
|
|
342
346
|
"multiple": false,
|
|
343
347
|
"type": "option"
|
|
344
348
|
},
|
|
345
|
-
"
|
|
346
|
-
"description": "
|
|
347
|
-
"name": "
|
|
348
|
-
"required": false,
|
|
349
|
+
"proverUrl": {
|
|
350
|
+
"description": "Prover url",
|
|
351
|
+
"name": "proverUrl",
|
|
349
352
|
"hasDynamicHelp": false,
|
|
350
353
|
"multiple": false,
|
|
351
354
|
"type": "option"
|
|
352
355
|
},
|
|
353
|
-
"
|
|
354
|
-
"description": "
|
|
355
|
-
"name": "
|
|
356
|
+
"get": {
|
|
357
|
+
"description": "Gets the current config values",
|
|
358
|
+
"name": "get",
|
|
356
359
|
"required": false,
|
|
357
|
-
"
|
|
358
|
-
"
|
|
359
|
-
"multiple": false,
|
|
360
|
-
"type": "option"
|
|
360
|
+
"allowNo": false,
|
|
361
|
+
"type": "boolean"
|
|
361
362
|
}
|
|
362
363
|
},
|
|
363
364
|
"hasDynamicHelp": false,
|
|
364
365
|
"hiddenAliases": [],
|
|
365
|
-
"id": "
|
|
366
|
+
"id": "config",
|
|
366
367
|
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
367
368
|
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
368
369
|
"pluginType": "core",
|
|
369
370
|
"strict": true,
|
|
370
|
-
"summary": "Create a new compressed token mint",
|
|
371
371
|
"enableJsonFlag": false,
|
|
372
372
|
"isESM": false,
|
|
373
373
|
"relativePath": [
|
|
374
374
|
"dist",
|
|
375
375
|
"commands",
|
|
376
|
-
"
|
|
376
|
+
"config",
|
|
377
377
|
"index.js"
|
|
378
378
|
]
|
|
379
379
|
},
|
|
@@ -873,5 +873,5 @@
|
|
|
873
873
|
]
|
|
874
874
|
}
|
|
875
875
|
},
|
|
876
|
-
"version": "0.20.
|
|
876
|
+
"version": "0.20.4"
|
|
877
877
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lightprotocol/zk-compression-cli",
|
|
3
|
-
"version": "0.20.
|
|
3
|
+
"version": "0.20.4",
|
|
4
4
|
"description": "ZK Compression: Secure Scaling on Solana",
|
|
5
5
|
"maintainers": [
|
|
6
6
|
{
|
|
@@ -55,9 +55,9 @@
|
|
|
55
55
|
"tweetnacl": "^1.0.3",
|
|
56
56
|
"wait-on": "^7.2.0",
|
|
57
57
|
"which": "^4.0.0",
|
|
58
|
-
"@lightprotocol/compressed-token": "0.15.
|
|
59
|
-
"@lightprotocol/
|
|
60
|
-
"@lightprotocol/
|
|
58
|
+
"@lightprotocol/compressed-token": "0.15.4",
|
|
59
|
+
"@lightprotocol/hasher.rs": "0.2.0",
|
|
60
|
+
"@lightprotocol/stateless.js": "0.15.4"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@oclif/test": "2.3.9",
|