Commit Graph

329 Commits

Author SHA1 Message Date
David Caseria
d8fabf6ddd fix: potential keyset lock race condition (#146) 2024-05-28 14:41:29 +01:00
thesimplekid
0ba78b9e1d fix: check state of pending conditions 2024-05-28 13:39:42 +01:00
thesimplekid
34d6e484b5 fix: select proof logic and sorting 2024-05-27 13:34:40 +01:00
thesimplekid
60ed52ae19 feat: mint with spending conditions 2024-05-26 21:54:02 +01:00
thesimplekid
36c93b9211 fix(wallet): proof slection with conditions 2024-05-26 21:41:49 +01:00
thesimplekid
f6764c7a22 feat: balance by unit 2024-05-26 21:41:49 +01:00
thesimplekid
5f6a207cec fix: set send proofs to reserved instead of removing 2024-05-26 21:41:49 +01:00
thesimplekid
af00645862 feat: get pending balance by unit 2024-05-26 21:41:49 +01:00
thesimplekid
b108892bd4 chore: clippy in tests 2024-05-26 21:41:49 +01:00
thesimplekid
1f2a49b4bb refactor: select proofs on spending condition 2024-05-26 21:41:47 +01:00
thesimplekid
50bd16fc2b refactor: get_proofs returns ProofInfo 2024-05-26 21:36:06 +01:00
thesimplekid
44e39bd3ee refactor: get proofs by spending condition 2024-05-26 21:36:06 +01:00
thesimplekid
10a38247ce refactor: database use one proofs table 2024-05-26 21:36:06 +01:00
thesimplekid
0f08bd43bb chore: remove unused structure 2024-05-26 21:36:06 +01:00
thesimplekid
0dce83bbb7 refactor: use TargetAmount 2024-05-26 21:33:03 +01:00
thesimplekid
ea17895478 chore: doc comments for amount target 2024-05-24 22:05:40 +01:00
thesimplekid
d6305df4f2 fix: nostr receive target amount 2024-05-24 00:43:34 +01:00
thesimplekid
64e667c555 feat: targeted amount 2024-05-23 14:48:30 +01:00
thesimplekid
60134c8860 feat: add targeted split 2024-05-23 14:48:30 +01:00
thesimplekid
762713692b feat: nostr_signing key as p2pk key 2024-05-20 11:55:14 +01:00
thesimplekid
226a10ca1f refactor: remove subscribe 2024-05-19 17:52:54 +01:00
thesimplekid
f099f8564c refactor: use get_event-of 2024-05-19 17:48:13 +01:00
thesimplekid
c64c741e14 feat: nostr receive 2024-05-19 10:33:37 +01:00
thesimplekid
711175739f refactor(mint): memory replace Mutex with RwLock 2024-05-19 01:20:19 +01:00
thesimplekid
3187798c92 refactor(wallet): memory db use replace Mutex with RwLock 2024-05-19 01:11:58 +01:00
thesimplekid
0cc5e153a8 feat: check mint quotes 2024-05-19 00:34:18 +01:00
thesimplekid
d21e99805c feat: allow mint to be specified when checking pending 2024-05-18 23:37:47 +01:00
thesimplekid
34e2e15378 feat: check pending proofs 2024-05-18 23:04:12 +01:00
thesimplekid
5203182b38 refactor: client error response 2024-05-18 11:34:52 +01:00
thesimplekid
b2e6d26f31 fix: Unknown Error response error 2024-05-18 11:34:52 +01:00
thesimplekid
eeda0e4009 refactor: remove nut11 key types 2024-05-17 22:46:21 +01:00
David Caseria
12a1a629e9 Return total received amount 2024-05-15 14:17:27 -04:00
thesimplekid
79b5349653 chore(deps): make bip39 required 2024-05-15 18:50:50 +01:00
David Caseria
2a09dff5c6 Address PR feedback 2024-05-14 20:27:07 -04:00
David Caseria
b9234817db Refactor wallet to accept seed for internal Xpriv 2024-05-14 13:58:25 -04:00
thesimplekid
f7b79e9e8e feat(wallet): total balance 2024-05-10 11:48:47 +01:00
thesimplekid
e766f3fbb1 feat(bindings): melted getters 2024-05-10 11:27:32 +01:00
thesimplekid
29a9eaa60c refactor: remove process swap 2024-05-10 11:27:32 +01:00
thesimplekid
c100b4f5f9 feat(bindings): swap 2024-05-10 11:27:32 +01:00
thesimplekid
fd4afeb2bd refactor(wallet): add swap function 2024-05-10 11:27:32 +01:00
thesimplekid
7c9b61aab6 chore: use workspace deps 2024-05-10 11:27:32 +01:00
thesimplekid
3cc660812a refactor: use spending conditions 2024-05-10 11:27:32 +01:00
thesimplekid
4cc02b7770 feat(bindings): js bindings send 2024-05-10 11:27:32 +01:00
thesimplekid
c62381f252 refactor(wallet): send returns token string 2024-05-10 11:27:32 +01:00
thesimplekid
60f7c39183 refactor: store keys amount as string 2024-05-10 11:27:32 +01:00
thesimplekid
8c4b74f16c refactor: rexie db keypath 2024-05-10 11:27:32 +01:00
thesimplekid
7ea7e0bda0 feat: js bindings 2024-05-10 11:27:32 +01:00
thesimplekid
ce5fd1e98c refactor: map error to cdk_database error 2024-05-10 11:27:32 +01:00
thesimplekid
7e1d97e545 feat: indexddb db 2024-05-10 11:27:32 +01:00
thesimplekid
35540f4304 refactor(cdk-redb): abstract error 2024-05-10 11:27:32 +01:00