77 Commits
Author SHA1 Message Date
anhthii a738959695 Remove btcec pkg 2025-04-30 17:35:10 +07:00
anhthii 5e4b08a842 Refactor clis to use requestPassword util 2025-04-30 17:07:48 +07:00
anhthii 0c22fce542 Update logs 2025-04-30 15:50:37 +07:00
anhthii c7b31b3b74 Add version for cli 2025-04-30 15:38:32 +07:00
anhthii e87ee86fe6 Relocate package 2025-04-30 13:29:06 +07:00
anhthii 468f677bad Replace gpg with age for key encryption 2025-04-30 13:29:06 +07:00
anhthii 3cc9d13c90 implement utility clis 2025-04-30 13:29:06 +07:00
anhthii 4891c98c21 Implement mpcium client + examples 2025-04-30 13:29:06 +07:00
anhthii 5c5b6bb5cb Code refactoring for identity store 2025-04-30 13:29:06 +07:00
anhthii 3561f46ed2 Implement identity store, multual signature verification 2025-04-30 13:29:06 +07:00
anhthii a020eb3931 Load mpc threshold from config 2025-04-30 13:29:06 +07:00
Luc Nguyen 0317882c18 Add maxAge config to drop undelivered messages 2025-04-21 11:41:32 +07:00
anhthii a790befe00 Change max deliver to 4 to fix the nats issue: ats: API error: code=400 err_code=10116 description=max deliver is required to be > length of backoff values 2025-04-12 16:56:24 +07:00
anhthii bc21ae80d3 Use onSuccess callback when sign session succeeds 2025-04-12 16:21:28 +07:00
anhthii 7a87c29e54 Fix bug signing doesn't work after all nodes are backup 2025-04-02 21:35:20 +07:00
anhthii af1a82b41d Handle duplicate message 2025-04-02 19:28:28 +07:00
Luc Nguyen a646ee2aec Update timeout consumer keep subscribe on time 2025-03-31 15:59:18 +07:00
Luc Nguyen e296ef9ada Update signing timeout logic when not enough participants 2025-03-30 21:11:47 +07:00
Luc Nguyen 75c7dfad17 Persit message, handle failure and timeout sign tx 2025-03-30 18:10:12 +07:00
anhthii 2dbb01a577 Fix bug sign mutiple transactions simulteneously crash if transactions have the same walletID 2024-10-05 16:18:33 +07:00
anhthii 409c748349 Revert "Debug"
This reverts commit fff43432cc.
2024-10-05 13:20:51 +07:00
anhthii 3368d1977a Fix don't pass walletId to session 2024-10-05 13:19:11 +07:00
anhthii fff43432cc Debug 2024-10-05 12:31:09 +07:00
anhthii fd65b407b3 Fix topic composer logic 2024-10-04 23:04:24 +07:00
anhthii e5411771a3 Update mask logic 2024-10-03 23:17:36 +07:00
anhthii 2917eb8edb Update topic composer 2024-10-03 22:41:58 +07:00
anhthii b2d6426e40 Update configuration load logic, mask sensitive data 2024-09-22 09:54:58 +07:00
anhthii 2c5949ca81 Fix load config, it doens't load environment variables into struct 2024-09-22 08:42:28 +07:00
anhthii 2e34256087 Implement connection for prod 2024-09-21 22:52:10 +07:00
anhthii 137dd3019c Add a slight delay before start sending key generation messages 2024-06-22 09:06:30 +07:00
anhthii 193ec312c7 Add type to sessions 2024-06-22 07:52:08 +07:00
anhthii 2e694012e9 Add comment to add distributed lock 2024-05-19 15:18:48 +07:00
anhthii f21d381ecf Add delay temporary solution to fix the issue that sign before all nodes are ready 2024-05-19 15:12:07 +07:00
anhthii 4b85f98a91 Return only Signature in siging success event 2024-05-18 15:00:29 +07:00
anhthii c33a509a82 Support eddsa signing 2024-05-17 22:58:21 +07:00
anhthii 97897be556 Add eddsa signing session 2024-05-17 22:19:31 +07:00
anhthii 41c05676a4 Add script to add prefix ecdsa for old keys 2024-05-11 14:29:25 +07:00
anhthii a2483bac2c Include eddsa pubkey in SucessGenerationEvent 2024-04-28 16:32:59 +07:00
anhthii 0de9bb8d41 Gen eddsa key works now 2024-04-28 15:27:27 +07:00
anhthii b1a41fa602 Support EDDSA 2024-04-28 13:57:44 +07:00
anhthii 4956126e50 Change default threshhold to 1 2024-03-09 12:12:58 +07:00
anhthii 23f65b7b01 Refine log 2024-03-09 11:23:31 +07:00
anhthii 1487e8a436 Threshold validation, allow t+1 peers to create signing session 2024-03-09 10:50:06 +07:00
anhthii 9b759bddbd Implement keyinfo store 2024-03-09 10:49:21 +07:00
anhthii e9f45bc3c0 Track ready nodes, reduce readiness period to 1 second 2024-03-08 23:29:07 +07:00
anhthii 6ca553b5a5 Upgrade tss-lib to v2 2024-02-05 17:19:31 +07:00
anhthii 776d2e8d6b Add retry package to improve NATs direct message resiliency 2024-02-05 08:20:27 +07:00
anhthii 588064f636 Move listening to incoming message prior to genkey and signing to fix the nats: no responders available for request 2024-02-05 08:10:14 +07:00
anhthii f274504dfe Increase direct messsage timeout, add mutex lock for party updating 2024-02-04 22:51:40 +07:00
anhthii 21be5253f6 Pass done function to session to clean up resource after successful execution 2024-02-04 21:55:22 +07:00