357 Commits

Author SHA1 Message Date
Sosthene
ab63551645 Update prd/pcd 2025-08-27 13:57:35 +02:00
Sosthene
88b606bf47 Implement prd/pcd logic 2025-08-27 13:57:34 +02:00
Sosthene
966fd9ff56 Add basic signature 2025-08-27 13:57:34 +02:00
Sosthene
c9f62dc3de Implement Process 2025-08-27 13:57:34 +02:00
Sosthene
81e01d01b5 Update create_transaction test 2025-08-27 13:57:34 +02:00
Sosthene
91a20112d1 Update Pcd/Prd 2025-08-27 13:57:34 +02:00
Sosthene
a3af3a8ae6 Rename AnkNetworkMsg to Envelope 2025-08-27 13:57:34 +02:00
Sosthene
28c23505e6 Replace CipherMessage with Prd and put data in Pcd 2025-08-27 13:57:34 +02:00
Sosthene
22407bbb51 [bug] FaucetMessage commitment is 32B long 2025-08-27 13:57:33 +02:00
Sosthene
3ce6751ad2 Add to_string() to Faucet and NewTxMessage 2025-08-27 13:57:33 +02:00
Sosthene
9aeef05006 new_login 2025-08-27 13:57:33 +02:00
Sosthene
3f70dfc79f Add TrustedChannel 2025-08-27 13:57:33 +02:00
Sosthene
b2381be0ae Update CachedMessage 2025-08-27 13:57:33 +02:00
Sosthene
2c2e087980 fmt 2025-08-27 13:57:33 +02:00
Sosthene
e8f8e69ebe Replace silentpayments methods with one create_transaction 2025-08-27 13:57:33 +02:00
Sosthene
74e901cd46 Add to_string and from_string methods to network types 2025-08-27 13:57:33 +02:00
Sosthene
066410ec63 Add optional payload to create_transaction_spend_outpoint 2025-08-27 13:57:32 +02:00
Sosthene
3f96ce339b Add export_key method to Aes256Encryption 2025-08-27 13:57:32 +02:00
Sosthene
676acebd8d Update sp-client to latest master 2025-08-27 13:57:32 +02:00
Sosthene
5888e09868 import SilentPaymentAddress from utils 2025-08-27 13:57:32 +02:00
f87f8a4c66 path = "../sp-client" } -> sp_client = { git = "https://github.com/Sosthene00/sp-client.git", branch = "sp_client" } 2025-08-27 13:57:32 +02:00
fd8c7fce65 Update 2025-08-27 13:57:32 +02:00
Sosthene
c74f7a0517 [temp] sp-client temporary branch 2025-08-27 13:57:32 +02:00
Sosthene
34229fe004 Reexport sp_client 2025-08-27 13:57:30 +02:00
Sosthene
53b12127ed reorganize dependencies 2024-05-27 21:56:12 +02:00
Sosthene
77ed38090f rm dead code in network 2024-05-27 21:55:03 +02:00
Sosthene
71c616cec1 [nit] Add some usefule comment in CachedMessageStatus 2024-05-27 16:05:05 +02:00
Sosthene
da3829509d [nit] CachedMessageStatus default Default derivation 2024-05-27 16:04:41 +02:00
Sosthene
d82a1c7624 Commitment for confirmation transaction is not random 2024-05-27 15:25:57 +02:00
Sosthene
f52dca8db7 timestamp new CachedMessage 2024-05-27 11:57:23 +02:00
Sosthene
0c38e24f44 AnkSharedSecret new() takes PublicKey 2024-05-27 11:56:29 +02:00
Sosthene
70bc03da9e error in CachedMessage is AnkError 2024-05-27 11:55:41 +02:00
Sosthene
6492952dc0 Add error mod 2024-05-27 11:54:19 +02:00
Sosthene
72089b8545 Rm Error and Prd AnkFlag, Add Cipher, add error field for each message 2024-05-27 11:49:53 +02:00
Sosthene
c5ff2e2edb add ReceivedMustConfirm status 2024-05-22 23:40:31 +02:00
Sosthene
87ee8ac40c Move CachedMessage here from sdk_client 2024-05-22 20:52:48 +02:00
Sosthene
9fe3e7b499 nit: output value is exactly what's available in the input for confirmation 2024-05-22 20:52:16 +02:00
Sosthene
f5cdb7e2f1 [bug] content of the op_return wasn't correctly serialized 2024-05-22 20:51:24 +02:00
Sosthene
1f8da7ea61 Refactor silentpayments 2024-05-22 10:22:53 +02:00
Sosthene
0e88a729c3 Add a dummy commitment in faucet messages 2024-05-22 10:22:20 +02:00
Sosthene
d7daf72da0 Rm trusted in AnkSharedSecret 2024-05-22 10:21:54 +02:00
Sosthene
bd09245713 Add create_transaction 2024-05-15 08:32:16 +02:00
Sosthene
6bf80eb0a5 create_transaction_for_address_with_shared_secret takes optional message 2024-05-14 22:22:17 +02:00
Sosthene
62d135925e Add UnknownMessage struct 2024-05-14 22:20:53 +02:00
Sosthene
a55760c944 Add AAD in encrypted payload 2024-05-06 15:53:58 +02:00
Sosthene00
932dc0ba55 get_shared_point_from_transaction 2024-04-30 12:21:42 +02:00
Sosthene00
a59c680d0e crypto simplification 2024-04-30 12:21:42 +02:00
Sosthene00
b1bfe0ba22 update_meeting 2024-04-24 12:10:10 +02:00
Sosthene00
9a34a02063 crypto add arbitrary purpose 2024-04-24 00:10:26 +02:00
Sosthene00
8f11111943 replace sp_backend with sp_client 2024-04-24 00:10:26 +02:00