66 Commits

Author SHA1 Message Date
Sergio Chouhy
ce107906da add comments 2025-07-18 16:55:34 -03:00
Sergio Chouhy
6db06722c1 refactor 2025-07-18 15:56:41 -03:00
Sergio Chouhy
486822842f make client carry the private key of the user 2025-07-18 12:04:43 -03:00
Sergio Chouhy
f93c481be3 add public transfer method to mocked client 2025-07-18 11:24:15 -03:00
Sergio Chouhy
097bf54782 propagate errors 2025-07-18 11:19:08 -03:00
Sergio Chouhy
c02a804404 add missing files 2025-07-18 10:29:41 -03:00
Sergio Chouhy
1dbc4bef72 move output decode to process function 2025-07-18 10:16:26 -03:00
Sergio Chouhy
25dd3cb931 rename 2025-07-18 10:09:12 -03:00
Sergio Chouhy
e1f24f3411 refactor client 2025-07-18 09:59:43 -03:00
Sergio Chouhy
2fecd7da72 refactor mocked client 2025-07-18 08:56:12 -03:00
Sergio Chouhy
5de2fd05a8 refactor 2025-07-18 08:24:50 -03:00
Sergio Chouhy
f66f62c041 refactor into files 2025-07-18 08:18:56 -03:00
Sergio Chouhy
88740c29c2 refactor 2025-07-17 17:08:16 -03:00
Sergio Chouhy
3823c6809a refactor 2025-07-17 17:03:18 -03:00
Sergio Chouhy
2c098f9047 nit 2025-07-17 16:22:04 -03:00
Sergio Chouhy
bdea1a2137 add happy paths 2025-07-17 16:09:23 -03:00
Sergio Chouhy
1bcb3a05e7 add tx types 2025-07-17 15:34:35 -03:00
Sergio Chouhy
7ae7135ff7 add verify privacy method to mocked sequencer 2025-07-17 14:02:54 -03:00
Sergio Chouhy
1f5eeba2a3 wip 2025-07-17 13:34:12 -03:00
Sergio Chouhy
34731a9950 sequencer wip 2025-07-17 12:46:57 -03:00
Sergio Chouhy
196c375d21 wip 2025-07-17 11:48:51 -03:00
Sergio Chouhy
876e525c92 wip 2025-07-17 11:31:04 -03:00
Sergio Chouhy
d56298e42c add piñata program 2025-07-17 11:29:35 -03:00
Sergio Chouhy
8234c0cb68 add tansfer multiple program 2025-07-17 11:07:18 -03:00
Sergio Chouhy
f6a8a11f98 make inputs a vector to allow variable number of input accounts 2025-07-17 10:22:24 -03:00
Sergio Chouhy
9e153b9ebd rename crates 2025-07-17 10:10:39 -03:00
Sergio Chouhy
c051f4e9ea rename 2025-07-17 09:43:44 -03:00
Sergio Chouhy
e081031580 add verification function 2025-07-17 09:20:03 -03:00
Sergio Chouhy
8ecfa9887b refactor 2025-07-16 17:40:22 -03:00
Sergio Chouhy
0e704cd51a refactor 2025-07-16 17:34:27 -03:00
Sergio Chouhy
3d582d491f refactor 2025-07-16 17:28:45 -03:00
Sergio Chouhy
d4a306d67a moved examples to examples dir 2025-07-16 17:25:59 -03:00
Sergio Chouhy
8feb17db1a refactor 2025-07-16 17:13:26 -03:00
Sergio Chouhy
b622cb8040 generalize code to prove any privacy execution 2025-07-16 17:01:50 -03:00
Sergio Chouhy
b6bec23ac2 add program trait 2025-07-16 16:45:07 -03:00
Sergio Chouhy
c322f93775 refactor 2025-07-16 15:39:03 -03:00
Sergio Chouhy
0b908c842a add implementation of is_in_tree 2025-07-15 13:54:59 -03:00
Sergio Chouhy
7870d7ab4c dummy 2025-07-15 13:08:13 -03:00
Sergio Chouhy
a11ea0d9aa add add_value 2025-07-15 12:51:39 -03:00
Sergio Chouhy
fed74bd5ef add sparse merkle tree impl 2025-07-15 12:30:23 -03:00
Sergio Chouhy
5c954d3d45 name types 2025-07-15 09:26:34 -03:00
Sergio Chouhy
caa00a667f make commitment a u32 value for the POC 2025-07-15 09:21:55 -03:00
Sergio Chouhy
04def6e82b add public pre and post states to the output of the outer program 2025-07-15 08:07:27 -03:00
Sergio Chouhy
1f1031cca5 add variable number of inputs/outputs with visibility 2025-07-14 19:25:41 -03:00
Sergio Chouhy
0431b640f0 move code to account.rs 2025-07-14 16:47:43 -03:00
Sergio Chouhy
2175fcd497 minor changes 2025-07-11 20:09:54 -03:00
Sergio Chouhy
296fc2c5ba add comments 2025-07-11 19:35:54 -03:00
Sergio Chouhy
be7da3410b refactor 2025-07-11 19:23:52 -03:00
Sergio Chouhy
f6f6f395ea generalize outer method 2025-07-11 19:06:16 -03:00
Sergio Chouhy
c74fa88380 wip 2025-07-11 18:49:36 -03:00