@lightprotocol/zk-compression-cli 0.18.0 → 0.18.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/init/index.js +2 -2
- package/dist/utils/process.js +8 -5
- package/oclif.manifest.json +139 -139
- package/package.json +2 -2
- package/bin/cargo-generate +0 -0
- package/bin/forester +0 -0
- package/bin/forester.toml +0 -15
|
Binary file
|
|
Binary file
|
package/bin/light_registry.so
CHANGED
|
Binary file
|
|
Binary file
|
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
|
|
@@ -38,8 +38,8 @@ const initRepo = async (name, flags) => {
|
|
|
38
38
|
const kebabCaseName = (0, case_anything_1.kebabCase)(name);
|
|
39
39
|
const snakeCaseName = (0, case_anything_1.snakeCase)(name);
|
|
40
40
|
const camelCaseName = (0, case_anything_1.pascalCase)(name);
|
|
41
|
-
|
|
42
|
-
|
|
41
|
+
const command = localFilePath;
|
|
42
|
+
const env = { ...process.env };
|
|
43
43
|
await (0, process_1.executeCommand)({
|
|
44
44
|
command,
|
|
45
45
|
args: [
|
package/dist/utils/process.js
CHANGED
|
@@ -35,17 +35,20 @@ async function killProcessByPort(port) {
|
|
|
35
35
|
*/
|
|
36
36
|
async function executeCommand({ command, args, additionalPath, logFile = true, env, }) {
|
|
37
37
|
return new Promise((resolve, reject) => {
|
|
38
|
-
const commandParts = command.split(
|
|
39
|
-
const finalCommand = commandParts.pop() ||
|
|
40
|
-
const preCommands = commandParts.join(
|
|
41
|
-
const fullCommand = preCommands
|
|
38
|
+
const commandParts = command.split(" && ");
|
|
39
|
+
const finalCommand = commandParts.pop() || "";
|
|
40
|
+
const preCommands = commandParts.join(" && ");
|
|
41
|
+
const fullCommand = preCommands
|
|
42
|
+
? `${preCommands} && ${finalCommand} ${args.join(" ")}`
|
|
43
|
+
: `${finalCommand} ${args.join(" ")}`;
|
|
42
44
|
const commandBase = path_1.default.basename(finalCommand);
|
|
43
45
|
let stdoutData = "";
|
|
44
46
|
const childPathEnv = additionalPath
|
|
45
47
|
? process.env.PATH + path_1.default.delimiter + additionalPath
|
|
46
48
|
: process.env.PATH;
|
|
47
49
|
const options = {
|
|
48
|
-
env: env ||
|
|
50
|
+
env: env ||
|
|
51
|
+
(childPathEnv ? { ...process.env, PATH: childPathEnv } : process.env),
|
|
49
52
|
shell: true,
|
|
50
53
|
detached: true,
|
|
51
54
|
};
|
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,141 +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
|
-
"required": true,
|
|
120
|
+
"indexerUrl": {
|
|
121
|
+
"description": "Indexer url",
|
|
122
|
+
"name": "indexerUrl",
|
|
120
123
|
"hasDynamicHelp": false,
|
|
121
124
|
"multiple": false,
|
|
122
125
|
"type": "option"
|
|
123
126
|
},
|
|
124
|
-
"
|
|
125
|
-
"description": "
|
|
126
|
-
"name": "
|
|
127
|
-
"required": true,
|
|
128
|
-
"hasDynamicHelp": false,
|
|
129
|
-
"multiple": false,
|
|
130
|
-
"type": "option"
|
|
131
|
-
}
|
|
132
|
-
},
|
|
133
|
-
"hasDynamicHelp": false,
|
|
134
|
-
"hiddenAliases": [],
|
|
135
|
-
"id": "compress-spl",
|
|
136
|
-
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
137
|
-
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
138
|
-
"pluginType": "core",
|
|
139
|
-
"strict": true,
|
|
140
|
-
"summary": "Compress SPL tokens.",
|
|
141
|
-
"enableJsonFlag": false,
|
|
142
|
-
"isESM": false,
|
|
143
|
-
"relativePath": [
|
|
144
|
-
"dist",
|
|
145
|
-
"commands",
|
|
146
|
-
"compress-spl",
|
|
147
|
-
"index.js"
|
|
148
|
-
]
|
|
149
|
-
},
|
|
150
|
-
"create-token-pool": {
|
|
151
|
-
"aliases": [],
|
|
152
|
-
"args": {},
|
|
153
|
-
"examples": [
|
|
154
|
-
"$ light create-token-pool --mint-decimals 5"
|
|
155
|
-
],
|
|
156
|
-
"flags": {
|
|
157
|
-
"mint": {
|
|
158
|
-
"description": "Provide a base58 encoded mint address to register",
|
|
159
|
-
"name": "mint",
|
|
160
|
-
"required": true,
|
|
127
|
+
"proverUrl": {
|
|
128
|
+
"description": "Prover url",
|
|
129
|
+
"name": "proverUrl",
|
|
161
130
|
"hasDynamicHelp": false,
|
|
162
131
|
"multiple": false,
|
|
163
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"
|
|
164
140
|
}
|
|
165
141
|
},
|
|
166
142
|
"hasDynamicHelp": false,
|
|
167
143
|
"hiddenAliases": [],
|
|
168
|
-
"id": "
|
|
144
|
+
"id": "config",
|
|
169
145
|
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
170
146
|
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
171
147
|
"pluginType": "core",
|
|
172
148
|
"strict": true,
|
|
173
|
-
"summary": "Register an existing mint with the CompressedToken program",
|
|
174
149
|
"enableJsonFlag": false,
|
|
175
150
|
"isESM": false,
|
|
176
151
|
"relativePath": [
|
|
177
152
|
"dist",
|
|
178
153
|
"commands",
|
|
179
|
-
"
|
|
154
|
+
"config",
|
|
180
155
|
"index.js"
|
|
181
156
|
]
|
|
182
157
|
},
|
|
@@ -230,24 +205,24 @@
|
|
|
230
205
|
"index.js"
|
|
231
206
|
]
|
|
232
207
|
},
|
|
233
|
-
"
|
|
208
|
+
"balance": {
|
|
234
209
|
"aliases": [],
|
|
235
210
|
"args": {},
|
|
236
211
|
"examples": [
|
|
237
|
-
"$ light
|
|
212
|
+
"$ light balance --mint=<ADDRESS> --owner=<ADDRESS>"
|
|
238
213
|
],
|
|
239
214
|
"flags": {
|
|
240
|
-
"
|
|
241
|
-
"description": "
|
|
242
|
-
"name": "
|
|
215
|
+
"owner": {
|
|
216
|
+
"description": "Address of the compressed token owner.",
|
|
217
|
+
"name": "owner",
|
|
243
218
|
"required": true,
|
|
244
219
|
"hasDynamicHelp": false,
|
|
245
220
|
"multiple": false,
|
|
246
221
|
"type": "option"
|
|
247
222
|
},
|
|
248
|
-
"
|
|
249
|
-
"description": "
|
|
250
|
-
"name": "
|
|
223
|
+
"mint": {
|
|
224
|
+
"description": "Mint address of the compressed token account.",
|
|
225
|
+
"name": "mint",
|
|
251
226
|
"required": true,
|
|
252
227
|
"hasDynamicHelp": false,
|
|
253
228
|
"multiple": false,
|
|
@@ -256,124 +231,108 @@
|
|
|
256
231
|
},
|
|
257
232
|
"hasDynamicHelp": false,
|
|
258
233
|
"hiddenAliases": [],
|
|
259
|
-
"id": "
|
|
234
|
+
"id": "balance",
|
|
260
235
|
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
261
236
|
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
262
237
|
"pluginType": "core",
|
|
263
238
|
"strict": true,
|
|
264
|
-
"summary": "
|
|
239
|
+
"summary": "Get balance",
|
|
265
240
|
"enableJsonFlag": false,
|
|
266
241
|
"isESM": false,
|
|
267
242
|
"relativePath": [
|
|
268
243
|
"dist",
|
|
269
244
|
"commands",
|
|
270
|
-
"
|
|
245
|
+
"balance",
|
|
271
246
|
"index.js"
|
|
272
247
|
]
|
|
273
248
|
},
|
|
274
|
-
"
|
|
249
|
+
"create-token-pool": {
|
|
275
250
|
"aliases": [],
|
|
276
251
|
"args": {},
|
|
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",
|
|
278
252
|
"examples": [
|
|
279
|
-
"$ light
|
|
253
|
+
"$ light create-token-pool --mint-decimals 5"
|
|
280
254
|
],
|
|
281
255
|
"flags": {
|
|
282
|
-
"
|
|
283
|
-
"description": "
|
|
284
|
-
"name": "
|
|
285
|
-
"
|
|
286
|
-
"multiple": false,
|
|
287
|
-
"type": "option"
|
|
288
|
-
},
|
|
289
|
-
"indexerUrl": {
|
|
290
|
-
"description": "Indexer url",
|
|
291
|
-
"name": "indexerUrl",
|
|
292
|
-
"hasDynamicHelp": false,
|
|
293
|
-
"multiple": false,
|
|
294
|
-
"type": "option"
|
|
295
|
-
},
|
|
296
|
-
"proverUrl": {
|
|
297
|
-
"description": "Prover url",
|
|
298
|
-
"name": "proverUrl",
|
|
256
|
+
"mint": {
|
|
257
|
+
"description": "Provide a base58 encoded mint address to register",
|
|
258
|
+
"name": "mint",
|
|
259
|
+
"required": true,
|
|
299
260
|
"hasDynamicHelp": false,
|
|
300
261
|
"multiple": false,
|
|
301
262
|
"type": "option"
|
|
302
|
-
},
|
|
303
|
-
"get": {
|
|
304
|
-
"description": "Gets the current config values",
|
|
305
|
-
"name": "get",
|
|
306
|
-
"required": false,
|
|
307
|
-
"allowNo": false,
|
|
308
|
-
"type": "boolean"
|
|
309
263
|
}
|
|
310
264
|
},
|
|
311
265
|
"hasDynamicHelp": false,
|
|
312
266
|
"hiddenAliases": [],
|
|
313
|
-
"id": "
|
|
267
|
+
"id": "create-token-pool",
|
|
314
268
|
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
315
269
|
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
316
270
|
"pluginType": "core",
|
|
317
271
|
"strict": true,
|
|
272
|
+
"summary": "Register an existing mint with the CompressedToken program",
|
|
318
273
|
"enableJsonFlag": false,
|
|
319
274
|
"isESM": false,
|
|
320
275
|
"relativePath": [
|
|
321
276
|
"dist",
|
|
322
277
|
"commands",
|
|
323
|
-
"
|
|
278
|
+
"create-token-pool",
|
|
324
279
|
"index.js"
|
|
325
280
|
]
|
|
326
281
|
},
|
|
327
|
-
"
|
|
282
|
+
"approve-and-mint-to": {
|
|
328
283
|
"aliases": [],
|
|
329
284
|
"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
285
|
"examples": [
|
|
332
|
-
"$ light
|
|
286
|
+
"$ light approve-and-mint-to --mint PublicKey --to PublicKey --amount 1000"
|
|
333
287
|
],
|
|
334
288
|
"flags": {
|
|
335
|
-
"
|
|
336
|
-
"description": "
|
|
337
|
-
"name": "
|
|
289
|
+
"mint-authority": {
|
|
290
|
+
"description": "Specify the filepath of the mint authority keypair. Defaults to your local solana wallet.",
|
|
291
|
+
"name": "mint-authority",
|
|
292
|
+
"required": false,
|
|
338
293
|
"hasDynamicHelp": false,
|
|
339
294
|
"multiple": false,
|
|
340
295
|
"type": "option"
|
|
341
296
|
},
|
|
342
|
-
"
|
|
343
|
-
"description": "
|
|
344
|
-
"name": "
|
|
297
|
+
"mint": {
|
|
298
|
+
"description": "Specify the mint address.",
|
|
299
|
+
"name": "mint",
|
|
300
|
+
"required": true,
|
|
345
301
|
"hasDynamicHelp": false,
|
|
346
302
|
"multiple": false,
|
|
347
303
|
"type": "option"
|
|
348
304
|
},
|
|
349
|
-
"
|
|
350
|
-
"description": "
|
|
351
|
-
"name": "
|
|
305
|
+
"to": {
|
|
306
|
+
"description": "Specify the recipient address.",
|
|
307
|
+
"name": "to",
|
|
308
|
+
"required": true,
|
|
352
309
|
"hasDynamicHelp": false,
|
|
353
310
|
"multiple": false,
|
|
354
311
|
"type": "option"
|
|
355
312
|
},
|
|
356
|
-
"
|
|
357
|
-
"description": "
|
|
358
|
-
"name": "
|
|
359
|
-
"required":
|
|
360
|
-
"
|
|
361
|
-
"
|
|
313
|
+
"amount": {
|
|
314
|
+
"description": "Amount to mint, in tokens.",
|
|
315
|
+
"name": "amount",
|
|
316
|
+
"required": true,
|
|
317
|
+
"hasDynamicHelp": false,
|
|
318
|
+
"multiple": false,
|
|
319
|
+
"type": "option"
|
|
362
320
|
}
|
|
363
321
|
},
|
|
364
322
|
"hasDynamicHelp": false,
|
|
365
323
|
"hiddenAliases": [],
|
|
366
|
-
"id": "
|
|
324
|
+
"id": "approve-and-mint-to",
|
|
367
325
|
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
368
326
|
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
369
327
|
"pluginType": "core",
|
|
370
328
|
"strict": true,
|
|
329
|
+
"summary": "Mint tokens to a compressed account via external mint authority",
|
|
371
330
|
"enableJsonFlag": false,
|
|
372
331
|
"isESM": false,
|
|
373
332
|
"relativePath": [
|
|
374
333
|
"dist",
|
|
375
334
|
"commands",
|
|
376
|
-
"
|
|
335
|
+
"approve-and-mint-to",
|
|
377
336
|
"index.js"
|
|
378
337
|
]
|
|
379
338
|
},
|
|
@@ -418,6 +377,47 @@
|
|
|
418
377
|
"index.js"
|
|
419
378
|
]
|
|
420
379
|
},
|
|
380
|
+
"compress-sol": {
|
|
381
|
+
"aliases": [],
|
|
382
|
+
"args": {},
|
|
383
|
+
"examples": [
|
|
384
|
+
"$ light compress-sol --to PublicKey --amount 10"
|
|
385
|
+
],
|
|
386
|
+
"flags": {
|
|
387
|
+
"to": {
|
|
388
|
+
"description": "Specify the recipient address.",
|
|
389
|
+
"name": "to",
|
|
390
|
+
"required": true,
|
|
391
|
+
"hasDynamicHelp": false,
|
|
392
|
+
"multiple": false,
|
|
393
|
+
"type": "option"
|
|
394
|
+
},
|
|
395
|
+
"amount": {
|
|
396
|
+
"description": "Amount to compress, in lamports.",
|
|
397
|
+
"name": "amount",
|
|
398
|
+
"required": true,
|
|
399
|
+
"hasDynamicHelp": false,
|
|
400
|
+
"multiple": false,
|
|
401
|
+
"type": "option"
|
|
402
|
+
}
|
|
403
|
+
},
|
|
404
|
+
"hasDynamicHelp": false,
|
|
405
|
+
"hiddenAliases": [],
|
|
406
|
+
"id": "compress-sol",
|
|
407
|
+
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
408
|
+
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
409
|
+
"pluginType": "core",
|
|
410
|
+
"strict": true,
|
|
411
|
+
"summary": "Compress SOL.",
|
|
412
|
+
"enableJsonFlag": false,
|
|
413
|
+
"isESM": false,
|
|
414
|
+
"relativePath": [
|
|
415
|
+
"dist",
|
|
416
|
+
"commands",
|
|
417
|
+
"compress-sol",
|
|
418
|
+
"index.js"
|
|
419
|
+
]
|
|
420
|
+
},
|
|
421
421
|
"decompress-spl": {
|
|
422
422
|
"aliases": [],
|
|
423
423
|
"args": {},
|
|
@@ -831,5 +831,5 @@
|
|
|
831
831
|
]
|
|
832
832
|
}
|
|
833
833
|
},
|
|
834
|
-
"version": "0.18.
|
|
834
|
+
"version": "0.18.1"
|
|
835
835
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lightprotocol/zk-compression-cli",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.1",
|
|
4
4
|
"description": "ZK Compression: Secure Scaling on Solana",
|
|
5
5
|
"maintainers": [
|
|
6
6
|
{
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"tweetnacl": "^1.0.3",
|
|
45
45
|
"wait-on": "^7.2.0",
|
|
46
46
|
"which": "^4.0.0",
|
|
47
|
-
"@lightprotocol/stateless.js": "0.13.0",
|
|
48
47
|
"@lightprotocol/compressed-token": "0.13.0",
|
|
48
|
+
"@lightprotocol/stateless.js": "0.13.0",
|
|
49
49
|
"@lightprotocol/hasher.rs": "0.2.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
package/bin/cargo-generate
DELETED
|
Binary file
|
package/bin/forester
DELETED
|
Binary file
|
package/bin/forester.toml
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
CU_LIMIT=1_000_000
|
|
2
|
-
RPC_POOL_SIZE=20
|
|
3
|
-
MAX_RETRIES=5
|
|
4
|
-
RETRY_DELAY=1000
|
|
5
|
-
RETRY_TIMEOUT=120_000
|
|
6
|
-
INDEXER_BATCH_SIZE=50
|
|
7
|
-
INDEXER_MAX_CONCURRENT_BATCHES=50
|
|
8
|
-
TRANSACTION_BATCH_SIZE=1
|
|
9
|
-
TRANSACTION_MAX_CONCURRENT_BATCHES=50
|
|
10
|
-
SLOT_UPDATE_INTERVAL_SECONDS=30
|
|
11
|
-
TREE_DISCOVERY_INTERVAL_SECONDS=5
|
|
12
|
-
STATE_QUEUE_START_INDEX=0
|
|
13
|
-
STATE_QUEUE_LENGTH=28807
|
|
14
|
-
ADDRESS_QUEUE_START_INDEX=0
|
|
15
|
-
ADDRESS_QUEUE_LENGTH=28807
|