104 Commits

Author SHA1 Message Date
Sergio Chouhy
f2a7c574e5 fix nonce in circuit 2025-08-22 18:49:46 -03:00
Sergio Chouhy
96ca181f2d implement encryption/decryption of private outputs 2025-08-22 18:11:45 -03:00
Sergio Chouhy
d00c551027 minor refactor 2025-08-22 13:42:37 -03:00
Sergio Chouhy
75211903d7 polish tests 2025-08-22 12:29:45 -03:00
Sergio Chouhy
f7e1b85091 add transition from privacy preserving transaction deshielded 2025-08-22 11:03:10 -03:00
Sergio Chouhy
1d2b0bbed7 add test for transition from private transaction 2025-08-22 10:35:01 -03:00
Sergio Chouhy
1ca3d68d7e remove serde for nssa::address 2025-08-22 08:53:40 -03:00
Sergio Chouhy
02ad6129d6 refactor merkle tree into file 2025-08-22 08:34:47 -03:00
Sergio Chouhy
79727f0195 refactor circuit module into file 2025-08-22 08:32:05 -03:00
Sergio Chouhy
d53edf7b61 remove unused dep 2025-08-22 08:28:38 -03:00
Sergio Chouhy
48a70cb6e5 Merge branch 'main' into schouhy/implement-nssa-v0.1-private-state 2025-08-22 08:27:19 -03:00
Sergio Chouhy
9b7c2587fe minor changes 2025-08-21 15:52:35 -03:00
Sergio Chouhy
b6cabe8fb8 refactor. Add test for state transition from privacy preserving transaction 2025-08-21 14:32:57 -03:00
Sergio Chouhy
a5dc01d85e improve test to match exact new commitments and new nullifiers 2025-08-21 10:52:52 -03:00
Sergio Chouhy
8a0e2d780a fix test with valid merkle proofs 2025-08-21 10:19:50 -03:00
Sergio Chouhy
6d56ee51db add verification reference impl and tests 2025-08-21 08:11:33 -03:00
Sergio Chouhy
0554500f2f remove vec attribute 2025-08-20 20:25:56 -03:00
Sergio Chouhy
e9fbce2106 add test 2025-08-20 20:02:28 -03:00
Sergio Chouhy
096a404859 add auth paths 2025-08-20 19:57:44 -03:00
Sergio Chouhy
44a4f2f9f3 fix 2025-08-20 19:13:32 -03:00
Sergio Chouhy
b3f6b2756e add extend capacity 2025-08-20 18:26:54 -03:00
Sergio Chouhy
499b23c335 refactor 2025-08-20 16:21:05 -03:00
Sergio Chouhy
c41eb6b517 add with_capacity 2025-08-20 15:27:57 -03:00
Sergio Chouhy
15e2c131b2 add merkle tests 2025-08-19 16:39:32 -03:00
Sergio Chouhy
ceba630cff merkle tree wip 2025-08-19 15:22:35 -03:00
Sergio Chouhy
8239855e88 add test. refactor 2025-08-19 12:52:52 -03:00
Sergio Chouhy
538bb72556 encapsulate proof 2025-08-19 10:47:24 -03:00
Sergio Chouhy
769e372e8f add test of privacy preserving circuit proof generation 2025-08-19 10:39:47 -03:00
Oleksandr Pravdyvyi
d2ab8dd4d4
fix: comments fix 2025-08-19 06:41:36 +03:00
Sergio Chouhy
f905e79f4c wip 2025-08-18 19:57:21 -03:00
Sergio Chouhy
562fe2e5e6 wip execute offchain 2025-08-18 18:54:47 -03:00
Sergio Chouhy
330d79379f add message serialization roundtrip test 2025-08-18 14:55:50 -03:00
Sergio Chouhy
a185e52203 add encodings 2025-08-18 14:28:26 -03:00
Sergio Chouhy
1e1ab787bc add nullifier pk from secret 2025-08-18 11:53:43 -03:00
Sergio Chouhy
2813d536bb add nullifier constructor 2025-08-18 09:50:11 -03:00
Sergio Chouhy
acbde736f0 wip 2025-08-18 09:21:07 -03:00
Sergio Chouhy
b20a97e5a1 wip 2025-08-18 07:39:41 -03:00
Oleksandr Pravdyvyi
1cdf058938
Merge branch 'main' into Pravdyvy/structural-improvements 2025-08-15 14:28:31 +03:00
Sergio Chouhy
1a10dade25 add priv preserving tx validation criteria scaffolding 2025-08-14 16:20:09 -03:00
Sergio Chouhy
507988832f add transition_from_privacy_preserving_transaction method and relevant scaffolding 2025-08-14 15:34:21 -03:00
Sergio Chouhy
a694e705ea move claiming accounts logic to state transition 2025-08-14 14:48:20 -03:00
Sergio Chouhy
d1ebb831ef refactor program input 2025-08-14 14:30:04 -03:00
Sergio Chouhy
c5a4e83e3e add pre states to program output 2025-08-14 14:09:04 -03:00
Sergio Chouhy
035f950229 add execute_and_prove 2025-08-14 13:28:23 -03:00
Sergio Chouhy
35ffb65df0 add privacy preserving transaction scaffolding 2025-08-14 12:10:27 -03:00
Oleksandr Pravdyvyi
74f0c983d3
fix: comments fix 2025-08-14 14:03:48 +03:00
Sergio Chouhy
fe06a22589 remove serialize and deserialize from message 2025-08-13 19:24:26 -03:00
Oleksandr Pravdyvyi
e589ddae5a
fix: test fix 2 2025-08-13 16:17:52 +03:00
Sergio Chouhy
9d8c74ec1e taplo 2025-08-13 10:01:44 -03:00
Oleksandr Pravdyvyi
a9d81b19ed
fix: lints and merge fixes 2025-08-13 14:15:05 +03:00