207 Commits

Author SHA1 Message Date
Sosthene
665d95554d Add basic signature 2024-08-21 13:17:34 +02:00
Sosthene
b2c070642e Implement Process 2024-08-20 12:21:15 +02:00
Sosthene
8688b6ed79 Update create_transaction test 2024-08-15 16:24:58 +02:00
Sosthene
dd797bd981 Update Pcd/Prd 2024-08-15 16:15:26 +02:00
Sosthene
95ed1e1f1c Rename AnkNetworkMsg to Envelope 2024-08-13 15:52:54 +02:00
Sosthene
41743ab3e7 Replace CipherMessage with Prd and put data in Pcd 2024-08-13 15:52:54 +02:00
Sosthene
d61b210dda [bug] FaucetMessage commitment is 32B long 2024-08-13 15:04:59 +02:00
Sosthene
38fa6e6239 Add to_string() to Faucet and NewTxMessage 2024-08-13 14:21:07 +02:00
Sosthene
9017f7651b new_login 2024-08-01 12:25:49 +02:00
Sosthene
d871b326c8 Merge branch 'new_login' into dev 2024-07-19 22:51:01 +02:00
Sosthene
b5881d63b0 Add TrustedChannel 2024-07-19 22:48:57 +02:00
Sosthene
f59dc042b6 Update CachedMessage 2024-07-19 22:48:45 +02:00
Sosthene
e1f70cf849 fmt 2024-07-19 22:48:15 +02:00
Sosthene
9087e0a535 Replace silentpayments methods with one create_transaction 2024-07-19 22:47:09 +02:00
Sosthene
207e2d1d73 Add to_string and from_string methods to network types 2024-07-19 22:46:07 +02:00
Sosthene
a1cfba63ff Add optional payload to create_transaction_spend_outpoint 2024-06-27 17:19:04 +02:00
Sosthene
b648ed9ada Add export_key method to Aes256Encryption 2024-06-27 17:16:26 +02:00
Sosthene
3d30eb8ce3 Update sp-client to latest master 2024-06-17 13:40:03 +02:00
Sosthene
cc45650777 import SilentPaymentAddress from utils 2024-06-03 18:16:35 +02:00
e6007ca0a7 path = "../sp-client" } -> sp_client = { git = "https://github.com/Sosthene00/sp-client.git", branch = "sp_client" } 2024-05-29 16:03:47 +02:00
ef55bcea5e Update 2024-05-28 16:33:40 +02:00
Sosthene
c1b95290bf [temp] sp-client temporary branch 2024-05-28 10:42:20 +02:00
Sosthene
b69fbdbd4c Reexport sp_client 2024-05-28 10:41:47 +02:00
Sosthene
31e955677e Merge branch 'demo' into dev 2024-05-27 21:59:08 +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