@lightprotocol/zk-compression-cli 0.4.3 → 0.4.5
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_C83cpRN6oaafjNgMQJvaYgAz592EP5wunKvbokeTKPLn.json +1 -1
- package/bin/account_compression.so +0 -0
- package/bin/forester +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/bin/proving-keys/combined_26_1_1.key +0 -0
- package/bin/proving-keys/combined_26_1_1.vkey +1 -1
- package/bin/proving-keys/combined_26_1_2.key +0 -0
- package/bin/proving-keys/combined_26_1_2.vkey +1 -1
- package/bin/proving-keys/combined_26_2_1.key +0 -0
- package/bin/proving-keys/combined_26_2_1.vkey +1 -1
- package/bin/proving-keys/combined_26_2_2.key +0 -0
- package/bin/proving-keys/combined_26_2_2.vkey +1 -1
- package/bin/proving-keys/combined_26_3_1.key +0 -0
- package/bin/proving-keys/combined_26_3_1.vkey +1 -1
- package/bin/proving-keys/combined_26_3_2.key +0 -0
- package/bin/proving-keys/combined_26_3_2.vkey +1 -1
- package/bin/proving-keys/combined_26_4_1.key +0 -0
- package/bin/proving-keys/combined_26_4_1.vkey +1 -1
- package/bin/proving-keys/combined_26_4_2.key +0 -0
- package/bin/proving-keys/combined_26_4_2.vkey +1 -1
- package/bin/proving-keys/inclusion_26_1.key +0 -0
- package/bin/proving-keys/inclusion_26_1.vkey +1 -1
- package/bin/proving-keys/inclusion_26_2.key +0 -0
- package/bin/proving-keys/inclusion_26_2.vkey +1 -1
- package/bin/proving-keys/inclusion_26_3.key +0 -0
- package/bin/proving-keys/inclusion_26_3.vkey +1 -1
- package/bin/proving-keys/inclusion_26_4.key +0 -0
- package/bin/proving-keys/inclusion_26_4.vkey +1 -1
- package/bin/proving-keys/inclusion_26_8.key +0 -0
- package/bin/proving-keys/inclusion_26_8.vkey +1 -1
- package/bin/proving-keys/non-inclusion_26_1.key +0 -0
- package/bin/proving-keys/non-inclusion_26_1.vkey +1 -1
- package/bin/proving-keys/non-inclusion_26_2.key +0 -0
- package/bin/proving-keys/non-inclusion_26_2.vkey +1 -1
- package/dist/commands/register-mint/index.js +1 -1
- package/dist/utils/constants.d.ts +1 -1
- package/dist/utils/constants.js +1 -1
- package/oclif.manifest.json +94 -94
- package/package.json +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
[27
|
|
1
|
+
[27 157 149 143 251 69 33 58 210 101 187 177 131 235 167 121 131 86 9 194 106 149 76 141 98 231 207 9 121 7 120 68 27 214 38 130 105 162 254 205 228 3 232 113 42 222 37 130 234 108 202 114 202 219 28 220 48 131 131 31 243 205 59 184 14 43 43 233 12 139 63 201 205 148 184 186 194 190 98 184 222 197 209 77 222 254 237 207 30 155 61 101 49 52 158 26 7 18 135 132 255 158 12 214 88 97 223 208 233 73 247 30 64 242 173 50 122 24 208 47 5 184 88 85 158 252 199 105 33 11 150 249 1 99 102 2 50 49 77 216 106 228 169 212 23 196 0 199 170 248 71 10 240 141 168 214 252 161 109 178 21 255 243 191 151 149 45 140 20 53 145 69 32 164 135 135 154 192 152 102 44 132 20 67 62 104 92 49 25 111 75 21 1 174 72 71 250 184 242 254 252 101 124 109 240 141 137 45 214 156 137 78 251 172 34 85 179 124 85 96 86 166 98 25 32 12 59 223 37 30 213 160 223 39 68 99 110 179 96 201 195 6 1 195 214 149 194 189 46 79 36 84 217 36 194 16 20 165 104 11 235 232 52 49 20 158 178 135 228 162 220 202 47 56 116 178 145 47 38 126 221 120 132 194 33 180 181 212 32 226 60 182 31 250 215 59 182 255 104 2 30 208 242 58 74 130 138 131 39 177 94 45 135 118 118 247 96 157 114 170 47 136 49 168 215 191 94 10 1 65 123 151 103 103 86 82 193 64 168 55 187 239 205 161 19 24 46 2 64 253 223 11 0 254 45 28 205 227 218 239 94 204 99 91 38 124 212 219 151 207 151 148 96 78 149 89 144 176 24 172 188 248 137 235 3 169 211 60 209 129 18 4 154 129 120 9 41 223 91 44 93 252 117 45 63 229 103 190 113 122 239 110 101 59 114 28 33 167 233 139 7 191 23 202 241 211 182 134 235 5 31 80 152 62 53 210 226 194 46 53 211 250 130 93 38 224 19 169 1 109 80 193 49 166 123 32 247 158 46 153 185 42 63 111 236 131 153 98 217 153 253 167 215 83 150 104 105 172 119 57 5 150 163 32 154 62 214 52 133 162 59 191 6 6 85 105 253 48 174 242 203 233 102 207 96 20 248 234 250 8 115 148 19 29 142 134 21 141 250 240 238 155 239 141 88 228 247 86 67 217 237 134 213 163 224 117 78 193 134 184 95 26 241 82 33 3 32 107 134 210 54 178 180 213 139 148 93 125 182 68 121 4 12 254 102 112 215 81 214 196 91 190 8 58 79 61 0 0 0 5 40 201 247 69 230 208 94 210 150 20 146 228 149 203 1 103 198 145 43 32 192 24 28 177 80 20 143 41 132 81 65 104 18 216 181 210 150 152 157 223 62 108 97 7 162 4 87 42 1 226 207 97 166 166 243 229 50 82 166 214 37 199 46 22 40 86 119 179 149 88 200 27 228 79 191 116 205 32 178 30 119 48 240 95 57 202 82 225 214 42 132 38 236 120 42 38 36 84 7 251 5 222 48 179 89 200 196 50 192 175 230 121 237 69 128 48 113 34 135 3 19 146 176 127 139 137 235 132 15 131 74 220 42 161 136 47 81 69 49 226 159 143 9 203 102 176 97 184 191 243 6 114 196 137 175 83 221 13 146 25 15 137 240 220 54 166 156 144 242 191 223 62 38 48 108 218 252 198 37 5 93 215 144 88 243 231 37 119 102 229 78 166 43 193 207 166 229 5 198 161 76 113 236 95 172 50 225 38 254 19 123 64 254 203 66 152 232 127 224 164 176 60 76 227 23 108 172 196 240 253 113 196 178 126 68 202 190 217 90 191 251 170 86 252 247 162 97 176 40 33 213 20 147 101 67 170 36 132 86 60 133 60 137 249 211 130 13 128 26 196 222 124 206 65 85 118 220 147 46 133 217 44 232 117 92 17 73 45 12 200 138 155 53 139 34 67 205 12 225 223 180 41 14 168 186 88 111 159 158 18 36 114 213 96 21 230 138 241 253 131]
|
|
@@ -12,7 +12,7 @@ class RegisterMintCommand extends core_1.Command {
|
|
|
12
12
|
try {
|
|
13
13
|
const payer = (0, utils_1.defaultSolanaWalletKeypair)();
|
|
14
14
|
const mintAddress = new web3_js_1.PublicKey(flags.mint);
|
|
15
|
-
const txId = await (0, compressed_token_1.
|
|
15
|
+
const txId = await (0, compressed_token_1.createTokenPool)((0, utils_1.rpc)(), payer, mintAddress);
|
|
16
16
|
loader.stop(false);
|
|
17
17
|
console.log("\x1b[1mMint public key:\x1b[0m ", mintAddress.toBase58());
|
|
18
18
|
console.log("\x1b[1mMint tx:\x1b[0m ", (0, utils_1.generateSolanaTransactionURL)("tx", txId, "custom"));
|
|
@@ -14,6 +14,6 @@ export declare const SOLANA_VALIDATOR_PROCESS_NAME = "solana-test-validator";
|
|
|
14
14
|
export declare const LIGHT_PROVER_PROCESS_NAME = "light-prover";
|
|
15
15
|
export declare const INDEXER_PROCESS_NAME = "photon";
|
|
16
16
|
export declare const FORESTER_PROCESS_NAME = "forester";
|
|
17
|
-
export declare const PHOTON_VERSION = "0.
|
|
17
|
+
export declare const PHOTON_VERSION = "0.28.0";
|
|
18
18
|
export declare const LIGHT_PROTOCOL_PROGRAMS_DIR_ENV = "LIGHT_PROTOCOL_PROGRAMS_DIR";
|
|
19
19
|
export declare const BASE_PATH = "../../bin/";
|
package/dist/utils/constants.js
CHANGED
|
@@ -19,6 +19,6 @@ exports.SOLANA_VALIDATOR_PROCESS_NAME = "solana-test-validator";
|
|
|
19
19
|
exports.LIGHT_PROVER_PROCESS_NAME = "light-prover";
|
|
20
20
|
exports.INDEXER_PROCESS_NAME = "photon";
|
|
21
21
|
exports.FORESTER_PROCESS_NAME = "forester";
|
|
22
|
-
exports.PHOTON_VERSION = "0.
|
|
22
|
+
exports.PHOTON_VERSION = "0.28.0";
|
|
23
23
|
exports.LIGHT_PROTOCOL_PROGRAMS_DIR_ENV = "LIGHT_PROTOCOL_PROGRAMS_DIR";
|
|
24
24
|
exports.BASE_PATH = "../../bin/";
|
package/oclif.manifest.json
CHANGED
|
@@ -1,131 +1,122 @@
|
|
|
1
1
|
{
|
|
2
2
|
"commands": {
|
|
3
|
-
"
|
|
3
|
+
"balance": {
|
|
4
4
|
"aliases": [],
|
|
5
5
|
"args": {},
|
|
6
6
|
"examples": [
|
|
7
|
-
"$ light
|
|
7
|
+
"$ light balance --mint=<ADDRESS> --owner=<ADDRESS>"
|
|
8
8
|
],
|
|
9
9
|
"flags": {
|
|
10
|
-
"
|
|
11
|
-
"description": "
|
|
12
|
-
"name": "
|
|
13
|
-
"required":
|
|
10
|
+
"owner": {
|
|
11
|
+
"description": "Address of the compressed token owner.",
|
|
12
|
+
"name": "owner",
|
|
13
|
+
"required": true,
|
|
14
14
|
"hasDynamicHelp": false,
|
|
15
15
|
"multiple": false,
|
|
16
16
|
"type": "option"
|
|
17
17
|
},
|
|
18
18
|
"mint": {
|
|
19
|
-
"description": "
|
|
19
|
+
"description": "Mint address of the compressed token account.",
|
|
20
20
|
"name": "mint",
|
|
21
21
|
"required": true,
|
|
22
22
|
"hasDynamicHelp": false,
|
|
23
23
|
"multiple": false,
|
|
24
24
|
"type": "option"
|
|
25
|
-
},
|
|
26
|
-
"to": {
|
|
27
|
-
"description": "Specify the recipient address.",
|
|
28
|
-
"name": "to",
|
|
29
|
-
"required": true,
|
|
30
|
-
"hasDynamicHelp": false,
|
|
31
|
-
"multiple": false,
|
|
32
|
-
"type": "option"
|
|
33
|
-
},
|
|
34
|
-
"amount": {
|
|
35
|
-
"description": "Amount to mint, in tokens.",
|
|
36
|
-
"name": "amount",
|
|
37
|
-
"required": true,
|
|
38
|
-
"hasDynamicHelp": false,
|
|
39
|
-
"multiple": false,
|
|
40
|
-
"type": "option"
|
|
41
25
|
}
|
|
42
26
|
},
|
|
43
27
|
"hasDynamicHelp": false,
|
|
44
28
|
"hiddenAliases": [],
|
|
45
|
-
"id": "
|
|
29
|
+
"id": "balance",
|
|
46
30
|
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
47
31
|
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
48
32
|
"pluginType": "core",
|
|
49
33
|
"strict": true,
|
|
50
|
-
"summary": "
|
|
34
|
+
"summary": "Get balance",
|
|
51
35
|
"enableJsonFlag": false,
|
|
52
36
|
"isESM": false,
|
|
53
37
|
"relativePath": [
|
|
54
38
|
"dist",
|
|
55
39
|
"commands",
|
|
56
|
-
"
|
|
40
|
+
"balance",
|
|
57
41
|
"index.js"
|
|
58
42
|
]
|
|
59
43
|
},
|
|
60
|
-
"
|
|
44
|
+
"approve-and-mint-to": {
|
|
61
45
|
"aliases": [],
|
|
62
46
|
"args": {},
|
|
63
47
|
"examples": [
|
|
64
|
-
"$ light
|
|
48
|
+
"$ light approve-and-mint-to --mint PublicKey --to PublicKey --amount 1000"
|
|
65
49
|
],
|
|
66
50
|
"flags": {
|
|
67
|
-
"
|
|
68
|
-
"description": "
|
|
69
|
-
"name": "
|
|
70
|
-
"required":
|
|
51
|
+
"mint-authority": {
|
|
52
|
+
"description": "Specify the filepath of the mint authority keypair. Defaults to your local solana wallet.",
|
|
53
|
+
"name": "mint-authority",
|
|
54
|
+
"required": false,
|
|
71
55
|
"hasDynamicHelp": false,
|
|
72
56
|
"multiple": false,
|
|
73
57
|
"type": "option"
|
|
74
58
|
},
|
|
75
59
|
"mint": {
|
|
76
|
-
"description": "
|
|
60
|
+
"description": "Specify the mint address.",
|
|
77
61
|
"name": "mint",
|
|
78
62
|
"required": true,
|
|
79
63
|
"hasDynamicHelp": false,
|
|
80
64
|
"multiple": false,
|
|
81
65
|
"type": "option"
|
|
66
|
+
},
|
|
67
|
+
"to": {
|
|
68
|
+
"description": "Specify the recipient address.",
|
|
69
|
+
"name": "to",
|
|
70
|
+
"required": true,
|
|
71
|
+
"hasDynamicHelp": false,
|
|
72
|
+
"multiple": false,
|
|
73
|
+
"type": "option"
|
|
74
|
+
},
|
|
75
|
+
"amount": {
|
|
76
|
+
"description": "Amount to mint, in tokens.",
|
|
77
|
+
"name": "amount",
|
|
78
|
+
"required": true,
|
|
79
|
+
"hasDynamicHelp": false,
|
|
80
|
+
"multiple": false,
|
|
81
|
+
"type": "option"
|
|
82
82
|
}
|
|
83
83
|
},
|
|
84
84
|
"hasDynamicHelp": false,
|
|
85
85
|
"hiddenAliases": [],
|
|
86
|
-
"id": "
|
|
86
|
+
"id": "approve-and-mint-to",
|
|
87
87
|
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
88
88
|
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
89
89
|
"pluginType": "core",
|
|
90
90
|
"strict": true,
|
|
91
|
-
"summary": "
|
|
91
|
+
"summary": "Mint tokens to a compressed account via external mint authority",
|
|
92
92
|
"enableJsonFlag": false,
|
|
93
93
|
"isESM": false,
|
|
94
94
|
"relativePath": [
|
|
95
95
|
"dist",
|
|
96
96
|
"commands",
|
|
97
|
-
"
|
|
97
|
+
"approve-and-mint-to",
|
|
98
98
|
"index.js"
|
|
99
99
|
]
|
|
100
100
|
},
|
|
101
|
-
"
|
|
101
|
+
"compress-sol": {
|
|
102
102
|
"aliases": [],
|
|
103
103
|
"args": {},
|
|
104
104
|
"examples": [
|
|
105
|
-
"$ light
|
|
105
|
+
"$ light compress-sol --to PublicKey --amount 10"
|
|
106
106
|
],
|
|
107
107
|
"flags": {
|
|
108
|
-
"
|
|
109
|
-
"description": "
|
|
110
|
-
"name": "
|
|
111
|
-
"required":
|
|
112
|
-
"hasDynamicHelp": false,
|
|
113
|
-
"multiple": false,
|
|
114
|
-
"type": "option"
|
|
115
|
-
},
|
|
116
|
-
"mint-authority": {
|
|
117
|
-
"description": "Address of the mint authority. Defaults to the fee payer",
|
|
118
|
-
"name": "mint-authority",
|
|
119
|
-
"required": false,
|
|
108
|
+
"to": {
|
|
109
|
+
"description": "Specify the recipient address.",
|
|
110
|
+
"name": "to",
|
|
111
|
+
"required": true,
|
|
120
112
|
"hasDynamicHelp": false,
|
|
121
113
|
"multiple": false,
|
|
122
114
|
"type": "option"
|
|
123
115
|
},
|
|
124
|
-
"
|
|
125
|
-
"description": "
|
|
126
|
-
"name": "
|
|
127
|
-
"required":
|
|
128
|
-
"default": 9,
|
|
116
|
+
"amount": {
|
|
117
|
+
"description": "Amount to compress, in lamports.",
|
|
118
|
+
"name": "amount",
|
|
119
|
+
"required": true,
|
|
129
120
|
"hasDynamicHelp": false,
|
|
130
121
|
"multiple": false,
|
|
131
122
|
"type": "option"
|
|
@@ -133,18 +124,18 @@
|
|
|
133
124
|
},
|
|
134
125
|
"hasDynamicHelp": false,
|
|
135
126
|
"hiddenAliases": [],
|
|
136
|
-
"id": "
|
|
127
|
+
"id": "compress-sol",
|
|
137
128
|
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
138
129
|
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
139
130
|
"pluginType": "core",
|
|
140
131
|
"strict": true,
|
|
141
|
-
"summary": "
|
|
132
|
+
"summary": "Compress SOL.",
|
|
142
133
|
"enableJsonFlag": false,
|
|
143
134
|
"isESM": false,
|
|
144
135
|
"relativePath": [
|
|
145
136
|
"dist",
|
|
146
137
|
"commands",
|
|
147
|
-
"
|
|
138
|
+
"compress-sol",
|
|
148
139
|
"index.js"
|
|
149
140
|
]
|
|
150
141
|
},
|
|
@@ -254,25 +245,34 @@
|
|
|
254
245
|
"index.js"
|
|
255
246
|
]
|
|
256
247
|
},
|
|
257
|
-
"
|
|
248
|
+
"create-mint": {
|
|
258
249
|
"aliases": [],
|
|
259
250
|
"args": {},
|
|
260
251
|
"examples": [
|
|
261
|
-
"$ light
|
|
252
|
+
"$ light create-mint --mint-decimals 5"
|
|
262
253
|
],
|
|
263
254
|
"flags": {
|
|
264
|
-
"
|
|
265
|
-
"description": "
|
|
266
|
-
"name": "
|
|
267
|
-
"required":
|
|
255
|
+
"mint-keypair": {
|
|
256
|
+
"description": "Provide a path to a mint keypair file. Defaults to a random keypair",
|
|
257
|
+
"name": "mint-keypair",
|
|
258
|
+
"required": false,
|
|
268
259
|
"hasDynamicHelp": false,
|
|
269
260
|
"multiple": false,
|
|
270
261
|
"type": "option"
|
|
271
262
|
},
|
|
272
|
-
"
|
|
273
|
-
"description": "
|
|
274
|
-
"name": "
|
|
275
|
-
"required":
|
|
263
|
+
"mint-authority": {
|
|
264
|
+
"description": "Address of the mint authority. Defaults to the fee payer",
|
|
265
|
+
"name": "mint-authority",
|
|
266
|
+
"required": false,
|
|
267
|
+
"hasDynamicHelp": false,
|
|
268
|
+
"multiple": false,
|
|
269
|
+
"type": "option"
|
|
270
|
+
},
|
|
271
|
+
"mint-decimals": {
|
|
272
|
+
"description": "Number of base 10 digits to the right of the decimal place [default: 9]",
|
|
273
|
+
"name": "mint-decimals",
|
|
274
|
+
"required": false,
|
|
275
|
+
"default": 9,
|
|
276
276
|
"hasDynamicHelp": false,
|
|
277
277
|
"multiple": false,
|
|
278
278
|
"type": "option"
|
|
@@ -280,38 +280,30 @@
|
|
|
280
280
|
},
|
|
281
281
|
"hasDynamicHelp": false,
|
|
282
282
|
"hiddenAliases": [],
|
|
283
|
-
"id": "
|
|
283
|
+
"id": "create-mint",
|
|
284
284
|
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
285
285
|
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
286
286
|
"pluginType": "core",
|
|
287
287
|
"strict": true,
|
|
288
|
-
"summary": "
|
|
288
|
+
"summary": "Create a new compressed token mint",
|
|
289
289
|
"enableJsonFlag": false,
|
|
290
290
|
"isESM": false,
|
|
291
291
|
"relativePath": [
|
|
292
292
|
"dist",
|
|
293
293
|
"commands",
|
|
294
|
-
"
|
|
294
|
+
"create-mint",
|
|
295
295
|
"index.js"
|
|
296
296
|
]
|
|
297
297
|
},
|
|
298
|
-
"
|
|
298
|
+
"decompress-sol": {
|
|
299
299
|
"aliases": [],
|
|
300
300
|
"args": {},
|
|
301
301
|
"examples": [
|
|
302
|
-
"$ light
|
|
302
|
+
"$ light decompress-sol --to PublicKey --amount 10"
|
|
303
303
|
],
|
|
304
304
|
"flags": {
|
|
305
|
-
"mint": {
|
|
306
|
-
"description": "Specify the mint address.",
|
|
307
|
-
"name": "mint",
|
|
308
|
-
"required": true,
|
|
309
|
-
"hasDynamicHelp": false,
|
|
310
|
-
"multiple": false,
|
|
311
|
-
"type": "option"
|
|
312
|
-
},
|
|
313
305
|
"to": {
|
|
314
|
-
"description": "Specify the recipient address
|
|
306
|
+
"description": "Specify the recipient address.",
|
|
315
307
|
"name": "to",
|
|
316
308
|
"required": true,
|
|
317
309
|
"hasDynamicHelp": false,
|
|
@@ -319,7 +311,7 @@
|
|
|
319
311
|
"type": "option"
|
|
320
312
|
},
|
|
321
313
|
"amount": {
|
|
322
|
-
"description": "Amount to
|
|
314
|
+
"description": "Amount to decompress, in lamports.",
|
|
323
315
|
"name": "amount",
|
|
324
316
|
"required": true,
|
|
325
317
|
"hasDynamicHelp": false,
|
|
@@ -329,30 +321,38 @@
|
|
|
329
321
|
},
|
|
330
322
|
"hasDynamicHelp": false,
|
|
331
323
|
"hiddenAliases": [],
|
|
332
|
-
"id": "
|
|
324
|
+
"id": "decompress-sol",
|
|
333
325
|
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
334
326
|
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
335
327
|
"pluginType": "core",
|
|
336
328
|
"strict": true,
|
|
337
|
-
"summary": "
|
|
329
|
+
"summary": "Decompress SOL.",
|
|
338
330
|
"enableJsonFlag": false,
|
|
339
331
|
"isESM": false,
|
|
340
332
|
"relativePath": [
|
|
341
333
|
"dist",
|
|
342
334
|
"commands",
|
|
343
|
-
"
|
|
335
|
+
"decompress-sol",
|
|
344
336
|
"index.js"
|
|
345
337
|
]
|
|
346
338
|
},
|
|
347
|
-
"compress-
|
|
339
|
+
"compress-spl": {
|
|
348
340
|
"aliases": [],
|
|
349
341
|
"args": {},
|
|
350
342
|
"examples": [
|
|
351
|
-
"$ light compress-
|
|
343
|
+
"$ light compress-spl --mint PublicKey --to PublicKey --amount 10"
|
|
352
344
|
],
|
|
353
345
|
"flags": {
|
|
346
|
+
"mint": {
|
|
347
|
+
"description": "Specify the mint address.",
|
|
348
|
+
"name": "mint",
|
|
349
|
+
"required": true,
|
|
350
|
+
"hasDynamicHelp": false,
|
|
351
|
+
"multiple": false,
|
|
352
|
+
"type": "option"
|
|
353
|
+
},
|
|
354
354
|
"to": {
|
|
355
|
-
"description": "Specify the recipient address.",
|
|
355
|
+
"description": "Specify the recipient address (owner of destination compressed token account).",
|
|
356
356
|
"name": "to",
|
|
357
357
|
"required": true,
|
|
358
358
|
"hasDynamicHelp": false,
|
|
@@ -360,7 +360,7 @@
|
|
|
360
360
|
"type": "option"
|
|
361
361
|
},
|
|
362
362
|
"amount": {
|
|
363
|
-
"description": "Amount to compress, in
|
|
363
|
+
"description": "Amount to compress, in tokens.",
|
|
364
364
|
"name": "amount",
|
|
365
365
|
"required": true,
|
|
366
366
|
"hasDynamicHelp": false,
|
|
@@ -370,18 +370,18 @@
|
|
|
370
370
|
},
|
|
371
371
|
"hasDynamicHelp": false,
|
|
372
372
|
"hiddenAliases": [],
|
|
373
|
-
"id": "compress-
|
|
373
|
+
"id": "compress-spl",
|
|
374
374
|
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
375
375
|
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
376
376
|
"pluginType": "core",
|
|
377
377
|
"strict": true,
|
|
378
|
-
"summary": "Compress
|
|
378
|
+
"summary": "Compress SPL tokens.",
|
|
379
379
|
"enableJsonFlag": false,
|
|
380
380
|
"isESM": false,
|
|
381
381
|
"relativePath": [
|
|
382
382
|
"dist",
|
|
383
383
|
"commands",
|
|
384
|
-
"compress-
|
|
384
|
+
"compress-spl",
|
|
385
385
|
"index.js"
|
|
386
386
|
]
|
|
387
387
|
},
|
|
@@ -762,5 +762,5 @@
|
|
|
762
762
|
]
|
|
763
763
|
}
|
|
764
764
|
},
|
|
765
|
-
"version": "0.4.
|
|
765
|
+
"version": "0.4.5"
|
|
766
766
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lightprotocol/zk-compression-cli",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.5",
|
|
4
4
|
"description": "ZK Compression: Secure Scaling on Solana",
|
|
5
5
|
"maintainers": [
|
|
6
6
|
{
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
"tweetnacl": "^1.0.3",
|
|
45
45
|
"wait-on": "^7.2.0",
|
|
46
46
|
"which": "^4.0.0",
|
|
47
|
-
"@lightprotocol/compressed-token": "0.3.
|
|
48
|
-
"@lightprotocol/
|
|
49
|
-
"@lightprotocol/
|
|
47
|
+
"@lightprotocol/compressed-token": "0.3.3",
|
|
48
|
+
"@lightprotocol/stateless.js": "0.4.3",
|
|
49
|
+
"@lightprotocol/hasher.rs": "0.2.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@oclif/test": "2.3.9",
|