Commit Graph

56 Commits

Author SHA1 Message Date
ok300
f6533a08de Add Proofs trait to consolidate aggregate fns 2024-10-17 23:28:56 +01:00
thesimplekid
7ea568e615 feat: sql store signatures dleq 2024-09-30 12:20:43 +02:00
thesimplekid
ca6fdb5bff feat: return change in check quote 2024-09-30 09:47:23 +02:00
thesimplekid
5139c47dac feat: check outgoing payment status flow 2024-09-25 20:28:05 +02:00
thesimplekid
974796400d feat: get proofs for quote id 2024-09-23 14:05:28 +02:00
thesimplekid
fa8776998a feat(mint): store mint_quote_id for blind sig 2024-09-21 11:13:30 +02:00
thesimplekid
117443d126 feat: store melt_quote_id for proof 2024-09-21 11:13:30 +02:00
thesimplekid
f2867188a8 fix: sqlx sqlite settings
feat: use transactions in all sql fns
2024-09-21 11:10:38 +02:00
Pavol Rusnak
1021ec5299 chore: bump bitcoin + lightning-invoice deps 2024-09-09 12:09:46 +01:00
thesimplekid
3bf1a3b28f chore: version cdk in other crates 2024-09-08 22:12:06 +01:00
thesimplekid
f7e4ea3a6c Release 0.4.0 2024-09-08 21:48:51 +01:00
thesimplekid
2fdf48cc72 feat: remove mint and wallet errors 2024-09-08 11:48:52 +01:00
thesimplekid
c4925aae9f fix: sqlx msrv 2024-09-04 16:27:43 +01:00
Pavol Rusnak
5a14ddbc67 nut06: mint_icon_url -> icon_url 2024-09-04 12:08:19 +01:00
Pavol Rusnak
e67dc15ce6 feat: implement nut-06 time 2024-09-03 17:00:57 +01:00
thesimplekid
1eb14703a5 refactor: cdk MSRV 2024-09-03 12:35:35 +01:00
thesimplekid
5f87df2cef refactor: use MintUrl::from_str 2024-09-03 11:36:28 +01:00
David Caseria
d0d7281c77 Modify WalletDatabase trait to better support db transactions 2024-08-24 17:32:59 +03:00
Pavol Rusnak
9eff00bcaf fix: make capitalization of error messages consistent 2024-08-19 13:53:26 +02:00
thesimplekid
bcb4a5927d refactor: remove the use of flat maps 2024-08-17 14:35:52 +02:00
Pavol Rusnak
4a764810d9 fix: typos 2024-08-16 15:00:56 +01:00
Caleb Beery
40554987e1 feat: new struct 'MintUrl' which trims trailing slashes (#283)
https://github.com/cashubtc/nuts/pull/151/files
2024-08-12 19:32:44 +00:00
thesimplekid
e57c7f1e9d chore: fix formatting 2024-08-11 10:12:21 -04:00
Caleb Beery
da1acc4e6d feat: add mint_icon_url to mint details. (#282) 2024-08-10 17:57:02 -04:00
thesimplekid
e4069c0243 chore: use workspace version 2024-08-08 10:11:31 -04:00
thesimplekid
ba19663531 feat(mint): issued and redeamed by keyset 2024-07-25 08:43:14 -04:00
thesimplekid
fa3f6c4b38 chore: instrument logging on wallet db 2024-07-23 15:35:37 +01:00
thesimplekid
97fd83c8f4 feat(mint): add get blinded_sig by keyset 2024-07-22 16:43:26 +01:00
thesimplekid
a96ba31784 refactor: remove get single blinded sig 2024-07-20 10:19:12 +01:00
thesimplekid
6705761aec fix: dont update proof state if already spent 2024-07-19 00:30:59 +01:00
thesimplekid
fb014573c1 refactor: use sproof state update 2024-07-18 23:07:09 +01:00
thesimplekid
9789475686 feat: remove unused db fns 2024-07-18 23:07:09 +01:00
thesimplekid
4f240f3953 refactor(wallet/database): get_proofs returns Vec<ProofInfo> instead of Option<Vec<ProofInfo>> 2024-07-16 15:03:05 +01:00
thesimplekid
373a4203b2 refactor(cdk/cdk_database): rename add_active_keyset to set_active_keyset 2024-07-16 09:21:51 +01:00
thesimplekid
d45019ae8b refactor: add_blind_signature to add_blind_signatures 2024-07-16 01:31:35 +01:00
thesimplekid
ed007c475e refactor: get spent and pending proofs by list of secrets or ys 2024-07-16 00:40:28 +01:00
thesimplekid
27568c247b release: 0.2.0 2024-07-11 21:24:58 +01:00
thesimplekid
920e5d1fd7 fix: set inactive keysets as inactive in sql db 2024-07-11 21:02:12 +01:00
thesimplekid
6d3200c72d feat: use derivation path by unit 2024-07-11 20:48:45 +01:00
thesimplekid
17263b07f5 feat(NUT02): add input_fee_ppk
chore: instrument log on mint fns
2024-07-11 12:22:20 +01:00
thesimplekid
011efac426 fix: request lookup migration 2024-07-10 16:12:50 +01:00
thesimplekid
8b775cb7f1 feat: wait invoice is stream of request_lookup_id 2024-07-05 23:49:31 +01:00
thesimplekid
6a315fc3b9 feat: mintd axum server
feat: deafult NUT-04 and NUT-05 settings to enable bolt11 sats
2024-07-05 23:49:31 +01:00
thesimplekid
c7b9da0430 chore: update cargo meta 2024-06-29 12:18:05 +01:00
thesimplekid
5db6eaa858 fix: default state sql
fix(mint/sqlite): add pending proof state

fix(mint): adding proof to pending before checking current

fix(mint): remove double call to verify melt quote
2024-06-29 09:03:57 +01:00
thesimplekid
b528964fb6 chore: readmes
chore: doc comments on public
2024-06-28 15:37:10 +01:00
thesimplekid
b0bfaec94a feat: add and remove proofs use vecs 2024-06-27 23:11:54 +01:00
thesimplekid
e8c954921f chore: update deps 2024-06-27 21:23:58 +01:00
thesimplekid
7223c5bda8 feat(NUT05): update with quote state
feat(NUT04): update with quote state

feat: db migrations for mint state

chore: remove logging
2024-06-27 20:35:19 +01:00
thesimplekid
04a463be1f feat(wallet): make wallet single mint and unit
feat(wallet): cli use mint with one url and unit

feat(wallet): remove p2pk keys from wallet

feat(wallet): multimint wallet
2024-06-27 12:09:44 +01:00