@lightprotocol/zk-compression-cli 0.23.0 → 0.24.0
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/light_system_program_pinocchio.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/CHECKSUM +116 -101
- package/bin/proving-keys/inclusion_26_2.key +0 -0
- package/dist/commands/init/index.js +2 -14
- package/dist/commands/test-validator/index.d.ts +10 -0
- package/dist/commands/test-validator/index.js +75 -0
- package/dist/utils/constants.d.ts +8 -6
- package/dist/utils/constants.js +9 -7
- package/oclif.manifest.json +83 -74
- package/package.json +43 -10
|
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
|
|
@@ -1,112 +1,127 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
bce714e5293c511498a972510110969b524073f29b823ca14ff0a1a5c64c3a09 update_32_1.key
|
|
4
|
-
07d277f6eb44d66a807f9fb527f9be33c5bb7b8117883f46f20fdd7b98049e8c non-inclusion_40_1.key
|
|
5
|
-
b901c64e0fb4528adf2e0358826e4121bbb02f2235e40bc17c06016ff65cc5d7 combined_32_40_1_2.key
|
|
6
|
-
16c2a6f3327a370243410db9d90b29e35c23882aa6e0ba9dbdfbc6f6e26c87b0 append-with-proofs_32_500.vkey
|
|
7
|
-
20efeb64019e6b3f4702ea3477a66fe71fb300eece8f39bbd1a6d37c88f8d3ff combined_32_40_1_1.key
|
|
8
|
-
912bb1ce17a5a7d4eaf800146ef50ec746795edcbd58c2c8ac50ee32d695cbec combined_32_40_1_4.key
|
|
9
|
-
d1ed500a6072da69f45441fa252ecb06a2ade54ae426eb2057887030de6f259b combined_32_40_1_3.vkey
|
|
10
|
-
a46fce03b190e2a7568f033660e79f32daa8a76ec5aa5656d2a11a3311dd6bd1 combined_26_3_2.vkey
|
|
11
|
-
d45b3c2ae6c1e1cf0ae1c017ad00afa8da45b8a3bbcc2e8eefddbda29dfa64d4 address-append_40_500.key
|
|
12
|
-
5ad8a97439ac427dba5170428285718a15f91c498d78735076409276f0139b23 append-with-proofs_32_500.key
|
|
13
|
-
3643d14d922067afdf1316098174ab9044eb24a6dd07789a14e7eec342b05a43 append-with-proofs_32_10.key
|
|
14
|
-
35e3561da38fdfbd28affad42896b5c25b4081c5f834210685a0fe0c8c66821c mainnet_inclusion_26_3.vkey
|
|
15
|
-
9a5503b9912a92ef8bc227e9e36ead2dfe5247f3fb56adcbfe86a34ad384a518 combined_32_40_2_3.vkey
|
|
16
|
-
63a99cdc407997a20379eff33ab28700660fe65736f32f1157cbd82d63be3f64 mainnet_inclusion_26_8.key
|
|
17
|
-
ed966bff1dab53a41d791ee9b06c25e8647f41c47298b75226ac6811b6f71ce8 combined_26_1_2.vkey
|
|
18
|
-
7e1c3d6a4757eabfb8ffe4cbab23483323f50fb39ecc83482c7e3565c521ec28 update_32_1000.key
|
|
19
|
-
403b6fa4cd97d56e3fa05411116e2d14d3d2d895879a0464c8721e4da663ce12 append-with-proofs_32_100.vkey
|
|
20
|
-
6e25bf9d9bcbd773bed4af86adf1a35cbea6708fe65d9f542dc2453c5a336fa7 combined_32_40_3_3.key
|
|
1
|
+
f9f638f835869c31498d960934963d94a373b4839fa2fdd63cc974c57115beaa non-inclusion_26_2.key
|
|
2
|
+
42beb86153b8ee29cba9a8b877129b2892a4d43b0544c82fcc50297e2d1176a7 combined_32_40_3_3.key
|
|
21
3
|
0aa0e6e2e1deaa2d37699f24032428175ed3a3a27df338100838c611e84c01ef non-inclusion_26_1.key
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
a5a6c2e4610dfc644417a762d6481fb90dddde60ff75017c16d0b7fbf810b6a7 address-append_40_1.vkey
|
|
32
|
-
9ebe5ae0984f95b5796d11a977ee598f4fac8954f4a60f86b66f275abea5e81d inclusion_32_8.key
|
|
33
|
-
672cbe81891cf53a4f6af5e4d504a1b5130376155885f782b5a618794536ee80 combined_32_40_4_2.key
|
|
34
|
-
1dd36df9e40eebbe2c5b5f372063cd006ecd942df7c120f81b888e5741ae62a9 mainnet_inclusion_26_2.key
|
|
35
|
-
349d728304e1c7a99c1f563d974b2e5c8c6764a511128d24b1e2fb31600761fb non-inclusion_40_8.key
|
|
4
|
+
275d05976be2fdf16df0d3d0ff430a96ad039c490c10a73849596d701ba82415 combined_26_40_4_4.vkey
|
|
5
|
+
d344fb764a02d47f8b4fc55daacbcc3239b1e321581b84abb0062b75b1660b34 combined_26_40_3_1.vkey
|
|
6
|
+
ad9303b02a8c3bc0a1187f4b63df02150761f65d9974ca336fb92086d6d3f542 combined_26_40_4_2.key
|
|
7
|
+
22abb4043e2f4a9b4b2fd639a5a2663fa4bbe39e62851b198c9a965119b9b681 combined_32_40_4_2.vkey
|
|
8
|
+
eb3e9f266b07ce1df800f30b8b8fdb9100ff09f4778ace2e600be7f4de61e697 combined_32_40_1_3.key
|
|
9
|
+
73ff02ceeacc9c24b6088cb454f88772a23a8296d2adc338ad3bfc6e2a77993c combined_26_40_3_1.key
|
|
10
|
+
de492c7d2d58c93a536f6304af7f98eaed465847329f053c8d8189e137d9b686 combined_26_40_2_1.key
|
|
11
|
+
3643d14d922067afdf1316098174ab9044eb24a6dd07789a14e7eec342b05a43 append-with-proofs_32_10.key
|
|
12
|
+
197f0f6bb103264a41f2f05518ea98248db95de0977ce9aba77c5dd056b0b965 update_32_10.key
|
|
36
13
|
1b3af75f39878372e8a440c52e3480502e83267c17303bcfc1263385229eed69 inclusion_32_1.key
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
14
|
+
e07cc18b89a1c2c32eb19b91400c8d7620e6fd86a9cf8651d554b27c99e5716d combined_26_40_3_2.vkey
|
|
15
|
+
8e5c375149a8d8d9cd110c907f45fc95de5302c8583d8ad40fc26af3fb9ae8fb non-inclusion_40_4.key
|
|
16
|
+
145d0d2e5599ae0323686fa6facb2ff989c801f803b6ca86dbafd248afcaee1b combined_26_40_4_4.key
|
|
17
|
+
053c2b86230cd4f1c35f90f5f8b2ed362258f9cfc168db78266c87afb2d88f22 combined_26_3_1.vkey
|
|
18
|
+
6e49a3d844ddbcad9d0e2f21692d687c4faba5aad0f38cb741868f3e3d07905c combined_26_40_2_4.vkey
|
|
19
|
+
2663ec91913b7910f35fce3b36a73ec7c7ad1517fb3a4ef13e0e6528273aa3d4 combined_26_4_2.vkey
|
|
20
|
+
1dd36df9e40eebbe2c5b5f372063cd006ecd942df7c120f81b888e5741ae62a9 mainnet_inclusion_26_2.key
|
|
21
|
+
4d4c216fdbbad76266c5a9d9522af30a7c2f670d07bdc7a3974815fd7a118bec non-inclusion_40_8.key
|
|
22
|
+
b6ed760db010614cf31f526d64fdc66f3b19452c6f47800ed3e23ade9407b5f2 combined_32_40_4_4.key
|
|
23
|
+
73d599bb1821eeb91b989e5032f21a648794fdf818bda15954347ff82aaca6c0 combined_26_40_3_3.vkey
|
|
24
|
+
4d0ea32be0416e5d15c530e87572e35237f71474284e4c1bc1f89325201bead8 combined_26_40_4_1.vkey
|
|
25
|
+
8f2b90d144f4b9b0f8b2a06847b63e03c0125e5f6e683ac1af8e7f5bb67ac579 inclusion_32_3.key
|
|
26
|
+
16c2a6f3327a370243410db9d90b29e35c23882aa6e0ba9dbdfbc6f6e26c87b0 append-with-proofs_32_500.vkey
|
|
27
|
+
eb11dd31234c5599b32a39581059323df9b65dfd71ada7855c720a1d5f755828 inclusion_32_1.vkey
|
|
28
|
+
5a89f1c474fe6deaf63bb176ec4f7f4fd4f84512aa6bae389d7f9b6ce67f81cc combined_32_40_4_1.vkey
|
|
29
|
+
158fc82d1019478cc430b3c9f2a96b96070b7bcabd62e01619d09daa4d736e30 inclusion_32_3.vkey
|
|
30
|
+
3d07233720bbf2e59873409b4cd4ee7e2dfc05771b1d5e030f980b759d4446c5 CHECKSUM
|
|
31
|
+
d877eb7bef8551ef663053729c49b55210f60506ddddbf0dcca235f575cf7a2a combined_26_3_1.key
|
|
41
32
|
f3bd930bdf541ecde9be1e0212492789d6f36631cef8f25f54008bc43147ea4a inclusion_32_4.vkey
|
|
42
|
-
|
|
43
|
-
|
|
33
|
+
db85a4eb125102f6497f1f3ccf0f21db88180c1a4a1a43acbccd1a274e450997 combined_32_40_2_2.vkey
|
|
34
|
+
ade3723798bfab9312fa629fa55d83799721a23a96f8ad50581db3fee554f3a0 inclusion_32_4.key
|
|
35
|
+
0adfbcf775d2a2236f5e70a3a9a30156eeb6e52881e65613376c74a95e409d99 mainnet_inclusion_26_2.vkey
|
|
36
|
+
665ef8832adb5c8c9f3c254d8f07eae85e64bec179e93ec8168f247e937c766c combined_26_40_1_1.vkey
|
|
37
|
+
92e0114ce40533ff564bb7962fe96aefbc7f7a18f9c991253769a69c9f349a84 combined_26_3_2.key
|
|
38
|
+
f605e4d38f3bacbdea670cb63862a952c26bc194328b3cc017c705b172527c53 combined_32_40_1_4.key
|
|
39
|
+
a8b42c2fa59d7096e20c09c247a18a4f9386082ac08f4b23884d557e07459713 combined_26_40_3_2.key
|
|
40
|
+
b3b9941d2df177505461c53a554c2ba84c14f4d8d9f35835fe24abc246dcb80a combined_26_40_4_3.key
|
|
44
41
|
1ff45534209b1d038b36da73b788caeb0340a923ced12853f4d40a8bbef342dc mainnet_inclusion_26_3.key
|
|
45
|
-
|
|
46
|
-
d877eb7bef8551ef663053729c49b55210f60506ddddbf0dcca235f575cf7a2a combined_26_3_1.key
|
|
47
|
-
d250257c4dd2dee1b96c0ed5bd7da915f2c369559513794995993ef2439445f1 combined_32_40_4_3.key
|
|
48
|
-
6d436f583aefea2a4232a8bb76d652bfb195bb4443f2ea7431c9c01cfb66c1a6 address-append_40_500.vkey
|
|
49
|
-
158fc82d1019478cc430b3c9f2a96b96070b7bcabd62e01619d09daa4d736e30 inclusion_32_3.vkey
|
|
50
|
-
0e086bdaf2388a7de0ddc09531702055c65ac8679f59014a04702484a9e4d746 inclusion_32_8.vkey
|
|
51
|
-
b6937d51196d2aaf0fa16c8c2d68e74f6ba1ffa1918eecef9f750d560f24959b combined_26_2_2.vkey
|
|
52
|
-
7c314f3820d7b26c0e1322947c9ff912ca94361014decd1f9311d4d38b183c2c combined_32_40_4_4.vkey
|
|
53
|
-
33772b537b59b6fe2003217f47654be1831f9b07a4246d0df94e5abd51c3ccd6 combined_32_40_3_1.vkey
|
|
54
|
-
8ed480a6f55792180185583616181edbb7793d01aba5240d7a44d5257745e22e combined_32_40_2_1.vkey
|
|
55
|
-
cdaebae17dceb0a60ee4d852dc23b9e57a1afc8bbdf1bfe5dda3238aa72f8aa3 combined_32_40_4_4.key
|
|
56
|
-
1720cf822a943210fc429443ee2c20670755f31dd5189634c1cd73a115c3a489 append-with-proofs_32_10.vkey
|
|
57
|
-
8ad15df27b3e52aeba68d8d47454ba9842dcd7b396e6f834c5e7e78e2c8df951 non-inclusion_26_1.vkey
|
|
42
|
+
7c12b59dfad7aaf82b7a0b7fb9ff94bd86dd8904488199734f8e954eb60fbb2f combined_32_40_2_4.key
|
|
58
43
|
60030e66611099e7e0cd06173041639edc417be592b19a3ea57eadfa0a96fa53 combined_26_1_1.key
|
|
59
|
-
|
|
44
|
+
4dc2fb712f93ff95a913cdd42e33eb67caf88207adedb6435c2d30428608a7c1 non-inclusion_40_3.key
|
|
60
45
|
83c21292d68c28de52836d804e4fe037b5596996e651397ed357a310e6147c59 inclusion_32_2.vkey
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
46
|
+
ed966bff1dab53a41d791ee9b06c25e8647f41c47298b75226ac6811b6f71ce8 combined_26_1_2.vkey
|
|
47
|
+
1720cf822a943210fc429443ee2c20670755f31dd5189634c1cd73a115c3a489 append-with-proofs_32_10.vkey
|
|
48
|
+
cbcdd0f8cd9d8ad0d5a49f39de0bb6601bc87f6cd6be3164d01b57ac9e6bea08 non-inclusion_40_4.vkey
|
|
49
|
+
74ebba27ac520a6504947486ed1a819c758fb9a0cebf20b3ecd5715653c104d7 combined_26_40_1_3.key
|
|
50
|
+
35e3561da38fdfbd28affad42896b5c25b4081c5f834210685a0fe0c8c66821c mainnet_inclusion_26_3.vkey
|
|
51
|
+
f49d483c2c7ca1398a1797c58080e754d2b7d1b347f0f9ea59673329d5a36cda combined_32_40_3_4.key
|
|
52
|
+
ae020f5dc374e2945be73c4d11bb9b612a5e30173f552403c236454e902848b3 combined_32_40_3_1.vkey
|
|
53
|
+
6abdbb99741e75b7afc4df667fe818e3f9317f140ea2c754d23525318d2d4b8b combined_32_40_2_1.vkey
|
|
54
|
+
8ad15df27b3e52aeba68d8d47454ba9842dcd7b396e6f834c5e7e78e2c8df951 non-inclusion_26_1.vkey
|
|
55
|
+
1186aab45b135f65e24ef23377cbb6fc55a237da6d549737ef66ef3a15a71bd2 address-append_40_1.key
|
|
69
56
|
00f5207765a028e238e9c7378ffb5b218d97dbe98e800c8c7afa1dd20c9d974f combined_26_4_2.key
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
57
|
+
7cdb9686aa9ba68ecf28d508e26e02c17c57058736d6a8aee04c7aabdbc9f516 combined_32_40_2_3.key
|
|
58
|
+
44a0b45b40738dff6c34419693ee8917670d61fdb0a1eab9fd49f46ee7d7c76f combined_26_1_1.vkey
|
|
59
|
+
38741251ec9c5f6762992c9b67cd6ef85f58096e792b6b84af1262b251970373 non-inclusion_40_1.key
|
|
60
|
+
4c02ca38e634b0b4684669d37629db4a29de162aae80f442153b82a72b4e0517 combined_26_40_1_2.vkey
|
|
61
|
+
63a99cdc407997a20379eff33ab28700660fe65736f32f1157cbd82d63be3f64 mainnet_inclusion_26_8.key
|
|
62
|
+
afb018fe26885a5eff59b03e7148a923c1a6276ce1878235ed7f5a260fcd2e49 combined_26_40_2_2.vkey
|
|
63
|
+
7951975f09a04ff0b495002cdc415dd7fd1cdb89b2fd6e862092e6568da3cf17 mainnet_inclusion_26_1.key
|
|
64
|
+
6ba23c3f8d94dc8f1889e5b7cb2da8fcd2ecd87d35b3eb7a17ebe8b636e667ae combined_32_40_1_2.key
|
|
65
|
+
da499d995ded8a71cfd484301b7de3dd9f78ef031b516d20ae0360c3c55dd5b5 combined_26_40_2_1.vkey
|
|
66
|
+
682d8ec24a5a571cddd59fe94350dab4ecfb705a459a2a3abe00a5065fca5079 combined_32_40_4_2.key
|
|
67
|
+
1ea0c2205ad09a75d4db1c22cd3fa411d177a791594c87adf70882c0f6089a99 combined_26_4_1.vkey
|
|
68
|
+
340c1fcda0fbe258a560b25bad1350d824d473fb1ed1ea4614d3f0616a4a3f21 combined_26_40_4_3.vkey
|
|
69
|
+
79a97f748dc1bed9eaa01af5d70b212c2cf82c3e0785b52a6fec35f472b66847 combined_32_40_1_1.vkey
|
|
70
|
+
d74c4743ab4dca600b7ea267772a3ced0d10376f414baef33a3bea8d45454779 combined_32_40_1_2.vkey
|
|
71
|
+
93d096137f734c658c2651f617c7c801b23dceabf59cd1933e058e7e47e37997 combined_32_40_4_4.vkey
|
|
72
|
+
4ab7ab61891360061a54bbf9fc5e73d570458c7d0d4c467314834e059cb19751 combined_32_40_2_4.vkey
|
|
73
|
+
26b06e109cb1c06b0363a94735f34f490f9a7a3818606ad7b15eec7d00367252 non-inclusion_40_2.key
|
|
74
|
+
cc9ae78f89255ef2245509e7f4aa25d154a1705cef25a9deee046551571c16b8 non-inclusion_40_2.vkey
|
|
75
|
+
129cf177806748123aef98615d0c26470bc6cc198c7d50a9ff9e4b4275c779d6 combined_26_40_2_3.vkey
|
|
76
|
+
a1da0b8f67677a2d3456254e49ef966fa4dfc3021419fc465f127b2a244c95b0 combined_26_40_1_1.key
|
|
77
|
+
6803e25606e9b6ab4a6b1e69ee545c67ceea751029cce3aaeba5e18305e1171c combined_26_2_1.vkey
|
|
78
|
+
cac85180070505b97d8d9f6869dac61ac052d9604d66ea1cdc3bf4f4cf3ad351 combined_26_40_4_2.vkey
|
|
79
|
+
ef38a8be302bc4a171547950897e332e92996b2a4eaa6d0c7687d592629eb218 combined_26_40_3_4.key
|
|
80
|
+
de39c930535a2f8ba4f233e49c322cfe77c4661572eb65c2db85991bb6abd9c1 combined_32_40_1_3.vkey
|
|
81
|
+
3e1913109060917f2d16756574fa3c4ea6c1cffeda5aba0731944eac27310409 combined_26_40_1_3.vkey
|
|
82
|
+
545afa17506a816f84581b25db58532cefa239352de6a9353a2a7ff54db1ddd0 mainnet_inclusion_26_1.vkey
|
|
88
83
|
d91c7f47621f2581b61d4579dff140ba315802dac941c0e98f854be354281e3b combined_26_1_2.key
|
|
89
|
-
|
|
84
|
+
40bf815b05da611701faae74060d48510085d55969d4460bbe5520e76bd91811 combined_26_40_1_2.key
|
|
85
|
+
4cce87ed82ccac053c25ff6f01099347eb7e0fba88d6049d2183a18635fa5749 combined_32_40_1_4.vkey
|
|
86
|
+
e3344aac6020198bf8479abcc4f7deada767214f02b4cb4cea35e01e759e93fa combined_32_40_3_4.vkey
|
|
87
|
+
8200412d6c18eb3f285e7bf42db8c158547df78abc493f5b390ad6b4e749996e combined_26_40_2_3.key
|
|
88
|
+
68e237a4b0a537223395af1b0f07d73576899a289fc15459879f7551d4fbe931 address-append_40_1.vkey
|
|
90
89
|
cbdf710a21b9b9f123f318f956c98766b0a6efb6207beb40e485717368dd4dfd mainnet_inclusion_26_4.key
|
|
91
|
-
197f0f6bb103264a41f2f05518ea98248db95de0977ce9aba77c5dd056b0b965 update_32_10.key
|
|
92
|
-
05639df8868744b624a149c2e8cf8ba2f7778a15ec4800484acce02c2e13a827 address-append_40_250.vkey
|
|
93
|
-
e895090b16cae374ddc1c6aca8d6705c0a77c266e7886d3eaa8e9b5f45d1aa26 non-inclusion_40_3.key
|
|
94
|
-
053c2b86230cd4f1c35f90f5f8b2ed362258f9cfc168db78266c87afb2d88f22 combined_26_3_1.vkey
|
|
95
|
-
6b7062d913a94f08e0e01a4e2fce036b92a5244c42988e6bcc7026286949c590 combined_32_40_1_2.vkey
|
|
96
|
-
9bc2f99c18f5d7dd96eae8d9faa4aaa89321045071aff0470b9826042d7a5900 address-append_40_1.key
|
|
97
|
-
c1f98c75dc42845ab5e812caa7f2e8173cdcdaed95095656ab12bc2ed125f573 combined_32_40_4_1.vkey
|
|
98
|
-
017e178613b2324ae045248174b7d0e80c7f362e1c8f5f103ceb127fde67b7fb append-with-proofs_32_100.key
|
|
99
|
-
545afa17506a816f84581b25db58532cefa239352de6a9353a2a7ff54db1ddd0 mainnet_inclusion_26_1.vkey
|
|
100
|
-
7ef022904c78de8c1da8bc45f7253f5d62b19e3a1782074c98f1d9004f59615e combined_26_2_1.key
|
|
101
|
-
c151332ee908634f70ecc17b75e37a0c138a4466315c8ecb95a51c6b14b83a2d update_32_1000.vkey
|
|
102
90
|
04864b2b3cc0ca18345e43a3d525996d15204a1d812d3c419c3abab228d1abd7 mainnet_inclusion_26_4.vkey
|
|
91
|
+
7ef022904c78de8c1da8bc45f7253f5d62b19e3a1782074c98f1d9004f59615e combined_26_2_1.key
|
|
92
|
+
e4cac475010d8f80dd3ba4ec9de1c46447856fa872051f86ab27e28187af3a42 combined_32_40_3_2.vkey
|
|
93
|
+
bc38bcf5eeb194ae391528b6d230bb00e83bdc111f6b44b9a61b1474c8d09c91 combined_32_40_2_2.key
|
|
94
|
+
1577ec8a8d69a049d3e340ba72d1db85db00b31eba3ea4244694d0a03aafe821 combined_32_40_4_3.key
|
|
95
|
+
3e1308a2b1c1f307f7619a6ab6f681dc7fb2d9c76922af0fcf464b60c7368df1 combined_26_2_2.key
|
|
96
|
+
183ad7fbf430e1a2d38d7b0df08aeaeaf5abdc68488b845c233f074d407a9360 address-append_40_10.vkey
|
|
97
|
+
8426ad3dd63f6741ac03f593c3300c3c659541bce6214e7570430486fec1318b combined_32_40_4_3.vkey
|
|
98
|
+
169e8c5035326a8f69e60e3dc68a23af75577ea7af19d0cbac85031056dbeba6 combined_26_40_3_4.vkey
|
|
99
|
+
e8823b120c245bfa3b0b2b1789c660d7e702dee0edfdeec2818a268ac0ccd51d combined_32_40_2_3.vkey
|
|
100
|
+
a4628aa60076e7a6132c26f86a4018ea1f0b75c4bbd07ce1937233c90b30ac25 non-inclusion_40_8.vkey
|
|
101
|
+
e7950647c9e4d5f1464c41a10320fca6e1cbc12db33ca5bb2254d39f6c1ef5cb combined_26_40_1_4.key
|
|
102
|
+
3321b3a18d856061500a4820c6d6e845f9b3684e262abbbdab00020882eac492 combined_32_40_3_1.key
|
|
103
|
+
94e26fd9a683bccffd91ad4f39aece17e384b3bc6f8cdff9da1ffe1d50d2e8af non-inclusion_40_1.vkey
|
|
104
|
+
455dc0986fcef47fa803a074d3eb4c4186d49c558d2b69a96f5ca219f0fd70eb non-inclusion_26_2.vkey
|
|
105
|
+
9ebe5ae0984f95b5796d11a977ee598f4fac8954f4a60f86b66f275abea5e81d inclusion_32_8.key
|
|
106
|
+
f6efa3b7510c9ad63af3b33e2b04d0924544eb054d5e979e8e8a8e00212ef97a non-inclusion_40_3.vkey
|
|
107
|
+
ed50029f09c9ee719ff1bae697e018fd8033fae707e3fc2771ebab60017199c0 combined_26_40_2_4.key
|
|
103
108
|
665cdde18692ec86faee3599c0b4a3238a6adf2166513d60872a2c7285ff2dcc update_32_500.key
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
109
|
+
c100e426302459c3c520f8305e312492529e291f89a031e1f38de6f8398b7736 combined_26_40_3_3.key
|
|
110
|
+
a46fce03b190e2a7568f033660e79f32daa8a76ec5aa5656d2a11a3311dd6bd1 combined_26_3_2.vkey
|
|
111
|
+
e87ceab96fc16ab75ab1a98c0fa0b891911b582d7db232f5901bf10131f964f9 mainnet_inclusion_26_8.vkey
|
|
112
|
+
5ad8a97439ac427dba5170428285718a15f91c498d78735076409276f0139b23 append-with-proofs_32_500.key
|
|
113
|
+
33974665feb63c397e376ee87630a90897659b18b7b8b4c3b54fbf66e11e152a combined_32_40_3_3.vkey
|
|
114
|
+
8f75f25b79e54a64ba66e9370f6734998b89231d91efa2d13cddc795b58a8192 combined_32_40_3_2.key
|
|
115
|
+
5b761d71483b767ab8e32081716b421e9f052fabf409aaeaa3f3059981075063 combined_32_40_2_1.key
|
|
116
|
+
56a70b1e6436ce97043d162ee18badb4ab64e1b0085c1281b2741548be9cdba3 update_32_500.vkey
|
|
117
|
+
0bf7b0f1bb1ac4fd400476bad6d471a589233c50e4017bb1e8c4b95dcf0cd8b4 combined_26_40_2_2.key
|
|
118
|
+
88c72648fc08f598aec3961f4b4c383e2d3929cb0b61fc2018b6363676b17487 combined_26_40_4_1.key
|
|
119
|
+
c14d7bfbaa665919706454f87b549b262d0917097260009adaf16738ccf1a257 combined_32_40_1_1.key
|
|
120
|
+
7ec1bef909f84eb9accad18dca5dbab9dab9010cfe4d1bc694f79c1c7009524a inclusion_32_2.key
|
|
121
|
+
ca4f820165cff02a90ce04d71a916432509973ae1a94e2bd15a294d1688ae263 address-append_40_10.key
|
|
122
|
+
9977265a5645bb6985920f40e651a568aa0bcdac60038613f49000c1989fc4e2 update_32_10.vkey
|
|
123
|
+
901adf693ec9ccca71586cd205dd496b2b8b90f3afaa33b60b15aaa824623fec combined_26_40_1_4.vkey
|
|
124
|
+
56092c7fd8a350b5b9f24d68a166846ca12be1584eb9c9a347b426f6778125f7 combined_26_4_1.key
|
|
125
|
+
9b27acf50872565496a5aa7964e18761d2b3b80786ee4805fe14999c8a2adb49 combined_32_40_4_1.key
|
|
126
|
+
b6937d51196d2aaf0fa16c8c2d68e74f6ba1ffa1918eecef9f750d560f24959b combined_26_2_2.vkey
|
|
127
|
+
0e086bdaf2388a7de0ddc09531702055c65ac8679f59014a04702484a9e4d746 inclusion_32_8.vkey
|
|
Binary file
|
|
@@ -61,25 +61,13 @@ const initRepo = async (name, flags) => {
|
|
|
61
61
|
"--define",
|
|
62
62
|
`anchor-version=${constants_1.ANCHOR_VERSION}`,
|
|
63
63
|
"--define",
|
|
64
|
-
`borsh-version=${constants_1.BORSH_VERSION}`,
|
|
65
|
-
"--define",
|
|
66
64
|
`light-hasher-version=${constants_1.LIGHT_HASHER_VERSION}`,
|
|
67
65
|
"--define",
|
|
68
|
-
`light-account-checks-version=${constants_1.LIGHT_ACCOUNT_CHECKS}`,
|
|
69
|
-
"--define",
|
|
70
66
|
`light-sdk-version=${constants_1.LIGHT_SDK_VERSION}`,
|
|
71
67
|
"--define",
|
|
72
|
-
`
|
|
73
|
-
"--define",
|
|
74
|
-
`solana-sdk-version=${constants_1.SOLANA_SDK_VERSION}`,
|
|
75
|
-
"--define",
|
|
76
|
-
`light-client-version=${constants_1.LIGHT_CLIENT_VERSION}`,
|
|
77
|
-
"--define",
|
|
78
|
-
`light-test-utils-version=${constants_1.LIGHT_TEST_UTILS_VERSION}`,
|
|
79
|
-
"--define",
|
|
80
|
-
`solana-program-test-version=${constants_1.SOLANA_PROGRAM_TEST_VERSION}`,
|
|
68
|
+
`anchor-js-version=${constants_1.ANCHOR_JS_VERSION}`,
|
|
81
69
|
"--define",
|
|
82
|
-
`
|
|
70
|
+
`stateless-js-version=${constants_1.STATELESS_JS_VERSION}`,
|
|
83
71
|
],
|
|
84
72
|
logFile: true,
|
|
85
73
|
env: env,
|
|
@@ -19,7 +19,17 @@ declare class SetupCommand extends Command {
|
|
|
19
19
|
stop: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
20
20
|
"geyser-config": import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces").CustomOptions>;
|
|
21
21
|
"validator-args": import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces").CustomOptions>;
|
|
22
|
+
"sbf-program": import("@oclif/core/lib/interfaces").OptionFlag<string[] | undefined, import("@oclif/core/lib/interfaces").CustomOptions>;
|
|
22
23
|
};
|
|
23
24
|
run(): Promise<void>;
|
|
25
|
+
validatePrograms(programs: {
|
|
26
|
+
address: string;
|
|
27
|
+
path: string;
|
|
28
|
+
}[]): void;
|
|
24
29
|
}
|
|
25
30
|
export default SetupCommand;
|
|
31
|
+
export declare const SYSTEM_PROGRAMS: {
|
|
32
|
+
id: string;
|
|
33
|
+
name: string;
|
|
34
|
+
tag: string;
|
|
35
|
+
}[];
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SYSTEM_PROGRAMS = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
const core_1 = require("@oclif/core");
|
|
5
6
|
const initTestEnv_1 = require("../../utils/initTestEnv");
|
|
@@ -28,6 +29,18 @@ class SetupCommand extends core_1.Command {
|
|
|
28
29
|
this.log("\nTest validator stopped successfully \x1b[32m✔\x1b[0m");
|
|
29
30
|
}
|
|
30
31
|
else {
|
|
32
|
+
const rawValues = flags["sbf-program"] || [];
|
|
33
|
+
if (rawValues.length % 2 !== 0) {
|
|
34
|
+
this.error("Each --sbf-program flag must have exactly two arguments");
|
|
35
|
+
}
|
|
36
|
+
const programs = [];
|
|
37
|
+
for (let i = 0; i < rawValues.length; i += 2) {
|
|
38
|
+
programs.push({
|
|
39
|
+
address: rawValues[i],
|
|
40
|
+
path: rawValues[i + 1],
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
this.validatePrograms(programs);
|
|
31
44
|
await (0, initTestEnv_1.initTestEnv)({
|
|
32
45
|
checkPhotonVersion: !flags["relax-indexer-version-constraint"],
|
|
33
46
|
indexer: !flags["skip-indexer"],
|
|
@@ -43,10 +56,39 @@ class SetupCommand extends core_1.Command {
|
|
|
43
56
|
circuits: flags["circuit"],
|
|
44
57
|
geyserConfig: flags["geyser-config"],
|
|
45
58
|
validatorArgs: flags["validator-args"],
|
|
59
|
+
additionalPrograms: programs,
|
|
46
60
|
});
|
|
47
61
|
this.log("\nSetup tasks completed successfully \x1b[32m✔\x1b[0m");
|
|
48
62
|
}
|
|
49
63
|
}
|
|
64
|
+
validatePrograms(programs) {
|
|
65
|
+
// Check for duplicate addresses among provided programs
|
|
66
|
+
const addresses = new Set();
|
|
67
|
+
for (const program of programs) {
|
|
68
|
+
if (addresses.has(program.address)) {
|
|
69
|
+
this.error(`Duplicate program address detected: ${program.address}`);
|
|
70
|
+
}
|
|
71
|
+
addresses.add(program.address);
|
|
72
|
+
// Get the program filename from the path
|
|
73
|
+
const programFileName = path_1.default.basename(program.path);
|
|
74
|
+
// Check for collisions with system programs (both address and filename)
|
|
75
|
+
const systemProgramCollision = exports.SYSTEM_PROGRAMS.find((sysProg) => sysProg.id === program.address ||
|
|
76
|
+
(sysProg.name && programFileName === sysProg.name));
|
|
77
|
+
if (systemProgramCollision) {
|
|
78
|
+
const collisionType = systemProgramCollision.id === program.address
|
|
79
|
+
? `address (${program.address})`
|
|
80
|
+
: `filename (${programFileName})`;
|
|
81
|
+
this.error(`Program ${collisionType} collides with system program ` +
|
|
82
|
+
`"${systemProgramCollision.name || systemProgramCollision.id}". ` +
|
|
83
|
+
`System programs cannot be overwritten.`);
|
|
84
|
+
}
|
|
85
|
+
// Validate program file exists
|
|
86
|
+
const programPath = path_1.default.resolve(program.path);
|
|
87
|
+
if (!fs_1.default.existsSync(programPath)) {
|
|
88
|
+
this.error(`Program file not found: ${programPath}`);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
50
92
|
}
|
|
51
93
|
SetupCommand.description = "Start a local test setup with: Solana test validator, Photon indexer, and Light prover";
|
|
52
94
|
SetupCommand.examples = [
|
|
@@ -146,5 +188,38 @@ SetupCommand.flags = {
|
|
|
146
188
|
required: false,
|
|
147
189
|
exclusive: ["geyser-config"],
|
|
148
190
|
}),
|
|
191
|
+
"sbf-program": core_1.Flags.string({
|
|
192
|
+
description: "Add a SBF program to the genesis configuration with upgrades disabled. If the ledger already exists then this parameter is silently ignored. First argument can be a pubkey string or path to a keypair",
|
|
193
|
+
required: false,
|
|
194
|
+
multiple: true,
|
|
195
|
+
summary: "Usage: --sbf-program <address> <path/program_name.so>",
|
|
196
|
+
}),
|
|
149
197
|
};
|
|
150
198
|
exports.default = SetupCommand;
|
|
199
|
+
exports.SYSTEM_PROGRAMS = [
|
|
200
|
+
{
|
|
201
|
+
id: "noopb9bkMVfRPU8AsbpTUg8AQkHtKwMYZiFUjNRtMmV",
|
|
202
|
+
name: "spl_noop.so",
|
|
203
|
+
tag: index_1.SPL_NOOP_PROGRAM_TAG,
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
id: "SySTEM1eSU2p4BGQfQpimFEWWSC1XDFeun3Nqzz3rT7",
|
|
207
|
+
name: "light_system_program.so",
|
|
208
|
+
tag: index_1.LIGHT_SYSTEM_PROGRAM_TAG,
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
id: "cTokenmWW8bLPjZEBAUgYy3zKxQZW6VKi7bqNFEVv3m",
|
|
212
|
+
name: "light_compressed_token.so",
|
|
213
|
+
tag: index_1.LIGHT_COMPRESSED_TOKEN_TAG,
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
id: "compr6CUsB5m2jS4Y3831ztGSTnDpnKJTKS95d64XVq",
|
|
217
|
+
name: "account_compression.so",
|
|
218
|
+
tag: index_1.LIGHT_ACCOUNT_COMPRESSION_TAG,
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
id: "Lighton6oQpVkeewmo2mcPTQQp7kYHr4fWpAgJyEmDX",
|
|
222
|
+
name: "light_registry.so",
|
|
223
|
+
tag: index_1.LIGHT_REGISTRY_TAG,
|
|
224
|
+
},
|
|
225
|
+
];
|
|
@@ -16,15 +16,17 @@ export declare const PHOTON_VERSION = "0.50.0";
|
|
|
16
16
|
export declare const LIGHT_PROTOCOL_PROGRAMS_DIR_ENV = "LIGHT_PROTOCOL_PROGRAMS_DIR";
|
|
17
17
|
export declare const BASE_PATH = "../../bin/";
|
|
18
18
|
export declare const PROGRAM_ID = "Fg6PaFpoGXkYsidMpWTK6W2BeZ7FEfcYkg476zPFsLnS";
|
|
19
|
-
export declare const ANCHOR_VERSION = "0.
|
|
19
|
+
export declare const ANCHOR_VERSION = "0.31.1";
|
|
20
20
|
export declare const BORSH_VERSION = "0.9.2";
|
|
21
21
|
export declare const SOLANA_PROGRAM_TEST_VERSION = "1.18.22";
|
|
22
22
|
export declare const SOLANA_SDK_VERSION = "1.18.22";
|
|
23
23
|
export declare const TOKIO_VERSION = "1.36.0";
|
|
24
|
-
export declare const LIGHT_SDK_VERSION = "0.
|
|
24
|
+
export declare const LIGHT_SDK_VERSION = "0.12.0";
|
|
25
25
|
export declare const LIGHT_TEST_UTILS_VERSION = "1.2.1";
|
|
26
26
|
export declare const LIGHT_CLIENT_VERSION = "0.9.1";
|
|
27
|
-
export declare const COMPRESSED_PROGRAM_TEMPLATE_TAG = "v0.2.0
|
|
28
|
-
export declare const LIGHT_ACCOUNT_CHECKS = "0.
|
|
29
|
-
export declare const LIGHT_HASHER_VERSION = "
|
|
30
|
-
export declare const LIGHT_SDK_MACROS_VERSION = "0.
|
|
27
|
+
export declare const COMPRESSED_PROGRAM_TEMPLATE_TAG = "v0.2.0";
|
|
28
|
+
export declare const LIGHT_ACCOUNT_CHECKS = "0.2.0";
|
|
29
|
+
export declare const LIGHT_HASHER_VERSION = "3.0.0";
|
|
30
|
+
export declare const LIGHT_SDK_MACROS_VERSION = "0.6.0";
|
|
31
|
+
export declare const ANCHOR_JS_VERSION = "0.31.1";
|
|
32
|
+
export declare const STATELESS_JS_VERSION = "0.21.0";
|
package/dist/utils/constants.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.LIGHT_SDK_MACROS_VERSION = exports.LIGHT_HASHER_VERSION = exports.LIGHT_ACCOUNT_CHECKS = exports.COMPRESSED_PROGRAM_TEMPLATE_TAG = exports.LIGHT_CLIENT_VERSION = exports.LIGHT_TEST_UTILS_VERSION = exports.LIGHT_SDK_VERSION = exports.TOKIO_VERSION = exports.SOLANA_SDK_VERSION = exports.SOLANA_PROGRAM_TEST_VERSION = exports.BORSH_VERSION = exports.ANCHOR_VERSION = exports.PROGRAM_ID = exports.BASE_PATH = exports.LIGHT_PROTOCOL_PROGRAMS_DIR_ENV = exports.PHOTON_VERSION = exports.INDEXER_PROCESS_NAME = exports.LIGHT_PROVER_PROCESS_NAME = exports.SOLANA_VALIDATOR_PROCESS_NAME = exports.CARGO_GENERATE_TAG = exports.DEFAULT_CONFIG = exports.CONFIG_FILE_NAME = exports.CONFIG_PATH = exports.LIGHT_COMPRESSED_TOKEN_TAG = exports.LIGHT_REGISTRY_TAG = exports.LIGHT_SYSTEM_PROGRAM_TAG = exports.LIGHT_ACCOUNT_COMPRESSION_TAG = exports.SPL_NOOP_PROGRAM_TAG = void 0;
|
|
3
|
+
exports.STATELESS_JS_VERSION = exports.ANCHOR_JS_VERSION = exports.LIGHT_SDK_MACROS_VERSION = exports.LIGHT_HASHER_VERSION = exports.LIGHT_ACCOUNT_CHECKS = exports.COMPRESSED_PROGRAM_TEMPLATE_TAG = exports.LIGHT_CLIENT_VERSION = exports.LIGHT_TEST_UTILS_VERSION = exports.LIGHT_SDK_VERSION = exports.TOKIO_VERSION = exports.SOLANA_SDK_VERSION = exports.SOLANA_PROGRAM_TEST_VERSION = exports.BORSH_VERSION = exports.ANCHOR_VERSION = exports.PROGRAM_ID = exports.BASE_PATH = exports.LIGHT_PROTOCOL_PROGRAMS_DIR_ENV = exports.PHOTON_VERSION = exports.INDEXER_PROCESS_NAME = exports.LIGHT_PROVER_PROCESS_NAME = exports.SOLANA_VALIDATOR_PROCESS_NAME = exports.CARGO_GENERATE_TAG = exports.DEFAULT_CONFIG = exports.CONFIG_FILE_NAME = exports.CONFIG_PATH = exports.LIGHT_COMPRESSED_TOKEN_TAG = exports.LIGHT_REGISTRY_TAG = exports.LIGHT_SYSTEM_PROGRAM_TAG = exports.LIGHT_ACCOUNT_COMPRESSION_TAG = exports.SPL_NOOP_PROGRAM_TAG = void 0;
|
|
4
4
|
exports.SPL_NOOP_PROGRAM_TAG = "spl-noop-v0.2.0";
|
|
5
5
|
exports.LIGHT_ACCOUNT_COMPRESSION_TAG = "account-compression-v1.0.0";
|
|
6
6
|
exports.LIGHT_SYSTEM_PROGRAM_TAG = "light-system-program-v1.0.0";
|
|
@@ -21,15 +21,17 @@ exports.PHOTON_VERSION = "0.50.0";
|
|
|
21
21
|
exports.LIGHT_PROTOCOL_PROGRAMS_DIR_ENV = "LIGHT_PROTOCOL_PROGRAMS_DIR";
|
|
22
22
|
exports.BASE_PATH = "../../bin/";
|
|
23
23
|
exports.PROGRAM_ID = "Fg6PaFpoGXkYsidMpWTK6W2BeZ7FEfcYkg476zPFsLnS";
|
|
24
|
-
exports.ANCHOR_VERSION = "0.
|
|
24
|
+
exports.ANCHOR_VERSION = "0.31.1";
|
|
25
25
|
exports.BORSH_VERSION = "0.9.2";
|
|
26
26
|
exports.SOLANA_PROGRAM_TEST_VERSION = "1.18.22";
|
|
27
27
|
exports.SOLANA_SDK_VERSION = "1.18.22";
|
|
28
28
|
exports.TOKIO_VERSION = "1.36.0";
|
|
29
|
-
exports.LIGHT_SDK_VERSION = "0.
|
|
29
|
+
exports.LIGHT_SDK_VERSION = "0.12.0";
|
|
30
30
|
exports.LIGHT_TEST_UTILS_VERSION = "1.2.1";
|
|
31
31
|
exports.LIGHT_CLIENT_VERSION = "0.9.1";
|
|
32
|
-
exports.COMPRESSED_PROGRAM_TEMPLATE_TAG = "v0.2.0
|
|
33
|
-
exports.LIGHT_ACCOUNT_CHECKS = "0.
|
|
34
|
-
exports.LIGHT_HASHER_VERSION = "
|
|
35
|
-
exports.LIGHT_SDK_MACROS_VERSION = "0.
|
|
32
|
+
exports.COMPRESSED_PROGRAM_TEMPLATE_TAG = "v0.2.0";
|
|
33
|
+
exports.LIGHT_ACCOUNT_CHECKS = "0.2.0";
|
|
34
|
+
exports.LIGHT_HASHER_VERSION = "3.0.0";
|
|
35
|
+
exports.LIGHT_SDK_MACROS_VERSION = "0.6.0";
|
|
36
|
+
exports.ANCHOR_JS_VERSION = "0.31.1";
|
|
37
|
+
exports.STATELESS_JS_VERSION = "0.21.0";
|
package/oclif.manifest.json
CHANGED
|
@@ -188,60 +188,90 @@
|
|
|
188
188
|
"index.js"
|
|
189
189
|
]
|
|
190
190
|
},
|
|
191
|
-
"
|
|
191
|
+
"create-token-pool": {
|
|
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-token-pool --mint-decimals 5"
|
|
197
196
|
],
|
|
198
197
|
"flags": {
|
|
199
|
-
"
|
|
200
|
-
"description": "
|
|
201
|
-
"name": "
|
|
198
|
+
"mint": {
|
|
199
|
+
"description": "Provide a base58 encoded mint address to register",
|
|
200
|
+
"name": "mint",
|
|
201
|
+
"required": true,
|
|
202
202
|
"hasDynamicHelp": false,
|
|
203
203
|
"multiple": false,
|
|
204
204
|
"type": "option"
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
"hasDynamicHelp": false,
|
|
208
|
+
"hiddenAliases": [],
|
|
209
|
+
"id": "create-token-pool",
|
|
210
|
+
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
211
|
+
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
212
|
+
"pluginType": "core",
|
|
213
|
+
"strict": true,
|
|
214
|
+
"summary": "Register an existing mint with the CompressedToken program",
|
|
215
|
+
"enableJsonFlag": false,
|
|
216
|
+
"isESM": false,
|
|
217
|
+
"relativePath": [
|
|
218
|
+
"dist",
|
|
219
|
+
"commands",
|
|
220
|
+
"create-token-pool",
|
|
221
|
+
"index.js"
|
|
222
|
+
]
|
|
223
|
+
},
|
|
224
|
+
"create-mint": {
|
|
225
|
+
"aliases": [],
|
|
226
|
+
"args": {},
|
|
227
|
+
"examples": [
|
|
228
|
+
"$ light create-mint --mint-decimals 5"
|
|
229
|
+
],
|
|
230
|
+
"flags": {
|
|
231
|
+
"mint-keypair": {
|
|
232
|
+
"description": "Provide a path to a mint keypair file. Defaults to a random keypair",
|
|
233
|
+
"name": "mint-keypair",
|
|
234
|
+
"required": false,
|
|
209
235
|
"hasDynamicHelp": false,
|
|
210
236
|
"multiple": false,
|
|
211
237
|
"type": "option"
|
|
212
238
|
},
|
|
213
|
-
"
|
|
214
|
-
"description": "
|
|
215
|
-
"name": "
|
|
239
|
+
"mint-authority": {
|
|
240
|
+
"description": "Address of the mint authority. Defaults to the fee payer",
|
|
241
|
+
"name": "mint-authority",
|
|
242
|
+
"required": false,
|
|
216
243
|
"hasDynamicHelp": false,
|
|
217
244
|
"multiple": false,
|
|
218
245
|
"type": "option"
|
|
219
246
|
},
|
|
220
|
-
"
|
|
221
|
-
"description": "
|
|
222
|
-
"name": "
|
|
247
|
+
"mint-decimals": {
|
|
248
|
+
"description": "Number of base 10 digits to the right of the decimal place [default: 9]",
|
|
249
|
+
"name": "mint-decimals",
|
|
223
250
|
"required": false,
|
|
224
|
-
"
|
|
225
|
-
"
|
|
251
|
+
"default": 9,
|
|
252
|
+
"hasDynamicHelp": false,
|
|
253
|
+
"multiple": false,
|
|
254
|
+
"type": "option"
|
|
226
255
|
}
|
|
227
256
|
},
|
|
228
257
|
"hasDynamicHelp": false,
|
|
229
258
|
"hiddenAliases": [],
|
|
230
|
-
"id": "
|
|
259
|
+
"id": "create-mint",
|
|
231
260
|
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
232
261
|
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
233
262
|
"pluginType": "core",
|
|
234
263
|
"strict": true,
|
|
264
|
+
"summary": "Create a new compressed token mint",
|
|
235
265
|
"enableJsonFlag": false,
|
|
236
266
|
"isESM": false,
|
|
237
267
|
"relativePath": [
|
|
238
268
|
"dist",
|
|
239
269
|
"commands",
|
|
240
|
-
"
|
|
270
|
+
"create-mint",
|
|
241
271
|
"index.js"
|
|
242
272
|
]
|
|
243
273
|
},
|
|
244
|
-
"config": {
|
|
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": false,
|
|
335
|
+
"solanaRpcUrl": {
|
|
336
|
+
"description": "Solana RPC url",
|
|
337
|
+
"name": "solanaRpcUrl",
|
|
308
338
|
"hasDynamicHelp": false,
|
|
309
339
|
"multiple": false,
|
|
310
340
|
"type": "option"
|
|
311
341
|
},
|
|
312
|
-
"
|
|
313
|
-
"description": "
|
|
314
|
-
"name": "
|
|
315
|
-
"required": false,
|
|
342
|
+
"indexerUrl": {
|
|
343
|
+
"description": "Indexer url",
|
|
344
|
+
"name": "indexerUrl",
|
|
316
345
|
"hasDynamicHelp": false,
|
|
317
346
|
"multiple": false,
|
|
318
347
|
"type": "option"
|
|
319
348
|
},
|
|
320
|
-
"
|
|
321
|
-
"description": "
|
|
322
|
-
"name": "
|
|
323
|
-
"required": false,
|
|
324
|
-
"default": 9,
|
|
325
|
-
"hasDynamicHelp": false,
|
|
326
|
-
"multiple": false,
|
|
327
|
-
"type": "option"
|
|
328
|
-
}
|
|
329
|
-
},
|
|
330
|
-
"hasDynamicHelp": false,
|
|
331
|
-
"hiddenAliases": [],
|
|
332
|
-
"id": "create-mint",
|
|
333
|
-
"pluginAlias": "@lightprotocol/zk-compression-cli",
|
|
334
|
-
"pluginName": "@lightprotocol/zk-compression-cli",
|
|
335
|
-
"pluginType": "core",
|
|
336
|
-
"strict": true,
|
|
337
|
-
"summary": "Create a new compressed token mint",
|
|
338
|
-
"enableJsonFlag": false,
|
|
339
|
-
"isESM": false,
|
|
340
|
-
"relativePath": [
|
|
341
|
-
"dist",
|
|
342
|
-
"commands",
|
|
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,
|
|
349
|
+
"proverUrl": {
|
|
350
|
+
"description": "Prover url",
|
|
351
|
+
"name": "proverUrl",
|
|
358
352
|
"hasDynamicHelp": false,
|
|
359
353
|
"multiple": false,
|
|
360
354
|
"type": "option"
|
|
355
|
+
},
|
|
356
|
+
"get": {
|
|
357
|
+
"description": "Gets the current config values",
|
|
358
|
+
"name": "get",
|
|
359
|
+
"required": false,
|
|
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": "Register an existing mint with the CompressedToken program",
|
|
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
|
},
|
|
@@ -822,6 +822,15 @@
|
|
|
822
822
|
"hasDynamicHelp": false,
|
|
823
823
|
"multiple": false,
|
|
824
824
|
"type": "option"
|
|
825
|
+
},
|
|
826
|
+
"sbf-program": {
|
|
827
|
+
"description": "Add a SBF program to the genesis configuration with upgrades disabled. If the ledger already exists then this parameter is silently ignored. First argument can be a pubkey string or path to a keypair",
|
|
828
|
+
"name": "sbf-program",
|
|
829
|
+
"required": false,
|
|
830
|
+
"summary": "Usage: --sbf-program <address> <path/program_name.so>",
|
|
831
|
+
"hasDynamicHelp": false,
|
|
832
|
+
"multiple": true,
|
|
833
|
+
"type": "option"
|
|
825
834
|
}
|
|
826
835
|
},
|
|
827
836
|
"hasDynamicHelp": false,
|
|
@@ -898,5 +907,5 @@
|
|
|
898
907
|
]
|
|
899
908
|
}
|
|
900
909
|
},
|
|
901
|
-
"version": "0.
|
|
910
|
+
"version": "0.24.0"
|
|
902
911
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lightprotocol/zk-compression-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.24.0",
|
|
4
4
|
"description": "ZK Compression: Secure Scaling on Solana",
|
|
5
5
|
"maintainers": [
|
|
6
6
|
{
|
|
@@ -16,22 +16,55 @@
|
|
|
16
16
|
"files": [
|
|
17
17
|
"/accounts",
|
|
18
18
|
"/bin",
|
|
19
|
+
"!bin/cargo-generate",
|
|
19
20
|
"/dist",
|
|
20
21
|
"/test_bin",
|
|
21
22
|
"./config.json",
|
|
22
23
|
"/npm-shrinkwrap.json",
|
|
23
24
|
"/oclif.manifest.json",
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
25
|
+
"bin/proving-keys/combined_26_1_1.key",
|
|
26
|
+
"bin/proving-keys/combined_26_1_1.vkey",
|
|
27
|
+
"bin/proving-keys/combined_26_1_10.key",
|
|
28
|
+
"bin/proving-keys/combined_26_1_10.vkey",
|
|
29
|
+
"bin/proving-keys/combined_26_10_1.key",
|
|
30
|
+
"bin/proving-keys/combined_26_10_1.vkey",
|
|
31
|
+
"bin/proving-keys/combined_26_10_10.key",
|
|
32
|
+
"bin/proving-keys/combined_26_10_10.vkey",
|
|
33
|
+
"bin/proving-keys/inclusion_26_1.key",
|
|
34
|
+
"bin/proving-keys/inclusion_26_1.vkey",
|
|
35
|
+
"bin/proving-keys/inclusion_26_10.key",
|
|
36
|
+
"bin/proving-keys/inclusion_26_10.vkey",
|
|
37
|
+
"bin/proving-keys/non-inclusion_26_1.key",
|
|
38
|
+
"bin/proving-keys/non-inclusion_26_1.vkey",
|
|
39
|
+
"bin/proving-keys/non-inclusion_26_10.key",
|
|
40
|
+
"bin/proving-keys/non-inclusion_26_10.vkey",
|
|
41
|
+
"!bin/proving-keys/update_26_10.key",
|
|
42
|
+
"!bin/proving-keys/update_26_10.vkey",
|
|
43
|
+
"!bin/proving-keys/address-append_40_1.key",
|
|
44
|
+
"!bin/proving-keys/address-append_40_1.vkey",
|
|
45
|
+
"!bin/proving-keys/address-append_40_10.key",
|
|
46
|
+
"!bin/proving-keys/address-append_40_10.vkey",
|
|
28
47
|
"!bin/proving-keys/append-with-proofs_26_10.key",
|
|
29
48
|
"!bin/proving-keys/append-with-proofs_26_10.vkey",
|
|
30
49
|
"!bin/proving-keys/append-with-subtrees_26_10.key",
|
|
31
50
|
"!bin/proving-keys/append-with-subtrees_26_10.vkey",
|
|
32
|
-
"!bin/proving-keys/
|
|
33
|
-
"!bin/proving-keys/
|
|
34
|
-
"!bin/
|
|
51
|
+
"!bin/proving-keys/non-inclusion_40_1.vkey",
|
|
52
|
+
"!bin/proving-keys/non-inclusion_40_2.vkey",
|
|
53
|
+
"!bin/proving-keys/non-inclusion_40_3.vkey",
|
|
54
|
+
"!bin/proving-keys/non-inclusion_40_4.vkey",
|
|
55
|
+
"!bin/proving-keys/non-inclusion_40_8.vkey",
|
|
56
|
+
"!bin/proving-keys/mainnet_inclusion_26_1.key",
|
|
57
|
+
"!bin/proving-keys/mainnet_inclusion_26_1.vkey",
|
|
58
|
+
"!bin/proving-keys/mainnet_inclusion_26_2.vkey",
|
|
59
|
+
"!bin/proving-keys/mainnet_inclusion_26_3.vkey",
|
|
60
|
+
"!bin/proving-keys/mainnet_inclusion_26_4.vkey",
|
|
61
|
+
"!bin/proving-keys/mainnet_inclusion_26_8.vkey",
|
|
62
|
+
"!bin/proving-keys/inclusion_32_1.key",
|
|
63
|
+
"!bin/proving-keys/inclusion_32_1.vkey",
|
|
64
|
+
"!bin/proving-keys/inclusion_32_2.vkey",
|
|
65
|
+
"!bin/proving-keys/inclusion_32_3.vkey",
|
|
66
|
+
"!bin/proving-keys/inclusion_32_4.vkey",
|
|
67
|
+
"!bin/proving-keys/inclusion_32_8.vkey"
|
|
35
68
|
],
|
|
36
69
|
"dependencies": {
|
|
37
70
|
"@coral-xyz/anchor": "0.29.0",
|
|
@@ -55,9 +88,9 @@
|
|
|
55
88
|
"tweetnacl": "^1.0.3",
|
|
56
89
|
"wait-on": "^7.2.0",
|
|
57
90
|
"which": "^4.0.0",
|
|
58
|
-
"@lightprotocol/compressed-token": "0.16.0",
|
|
59
91
|
"@lightprotocol/stateless.js": "0.16.0",
|
|
60
|
-
"@lightprotocol/hasher.rs": "0.2.0"
|
|
92
|
+
"@lightprotocol/hasher.rs": "0.2.0",
|
|
93
|
+
"@lightprotocol/compressed-token": "0.16.0"
|
|
61
94
|
},
|
|
62
95
|
"devDependencies": {
|
|
63
96
|
"@oclif/test": "2.3.9",
|