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