Commit Graph

644 Commits

Author SHA1 Message Date
thesimplekid
5ebdd4f506 feat: cdk-cli 2024-06-09 00:04:20 +01:00
thesimplekid
1cc3fa794a refactor: remove unneeded wallet mutablity 2024-06-08 20:24:20 +01:00
thesimplekid
916fa4f5d6 fix: remove unspent from check pending 2024-06-08 17:05:42 +01:00
thesimplekid
e1506c4e34 feat: wallet sqlite 2024-06-08 11:37:48 +01:00
thesimplekid
bbc63306db feat: mint sqlite 2024-06-08 10:34:39 +01:00
thesimplekid
267e5f044d feat(example): p2pk token 2024-06-06 23:21:46 +01:00
thesimplekid
535802aa14 feat(example): mint-token example 2024-06-06 22:48:36 +01:00
thesimplekid
251e93c530 fix(wallet/db/memory): drop reads to avoid deadlocks 2024-06-06 22:01:08 +01:00
thesimplekid
2e86dbb630 refactor: mint info as part of mint not in db 2024-06-05 00:47:29 +01:00
thesimplekid
ddeef0c414 chore: typos 2024-06-04 01:40:29 +01:00
thesimplekid
dc768a2311 fix: add keyset to db before updating status 2024-06-04 01:34:19 +01:00
thesimplekid
efd9b39722 refactor: store keyset by id 2024-06-02 20:43:26 +01:00
thesimplekid
1ab1f47885 refactor: move client to wallet mod
refactor: client error

refactor: mint error mod

refactor: error codes

refactor: remove enum numbers
2024-06-01 22:19:35 +01:00
thesimplekid
6103bb1d87 refactor: signing keys as part of wallet 2024-06-01 22:11:58 +01:00
thesimplekid
cb89c3ccbd fix(wallet): compare x_only_pubkey when checking if wallet can unlock p2pk 2024-05-29 22:33:33 +01:00
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