Commit Graph

524 Commits

Author SHA1 Message Date
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
163b165d76 chore: update flake 2024-05-29 22:50:38 +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
a8c2ef9b5a feat(bindings): getters for mint quote response 2024-05-26 21:41:49 +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
8dc4af633f feat(bindings): check all mint quotes js bindings 2024-05-19 00:39:08 +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
thesimplekid
60fa7a6532 feat(bindings/wallet): send returns amount 2024-05-15 20:04:30 +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
188cfa639a Fix cargo features 2024-05-14 20:52:03 -04:00
David Caseria
2a09dff5c6 Address PR feedback 2024-05-14 20:27:07 -04:00
David Caseria
3f974ea327 Fix merge 2024-05-14 14:00:07 -04:00
David Caseria
b9234817db Refactor wallet to accept seed for internal Xpriv 2024-05-14 13:58:25 -04:00
David Caseria
303204d858 Add wallet tracing and fix receive bug
Co-authored-by: thesimplekid <tsk@thesimplekid.com>
2024-05-14 15:54:56 +01:00
thesimplekid
a9f0116836 feat(wallet): mint and melt quote status 2024-05-13 21:43:46 +01:00
thesimplekid
91e18236d8 fix(wallet): swap for proofs with conditons in send 2024-05-13 18:51:57 +01:00