Commit Graph

564 Commits

Author SHA1 Message Date
thesimplekid
e54548b125 chore: add sleep between quote and mint 2024-10-02 08:56:20 +02:00
thesimplekid
48ac30b973 chore: add sleeps between quote and mint 2024-10-01 21:15:10 +02:00
David Caseria
fc0cc6789c Refactor to_unit into amount module (#381)
* Refactor to_unit into amount module
2024-10-01 14:36:37 +02:00
thesimplekid
187664439c refactor: mint into mods 2024-09-30 22:45:57 +02:00
David Caseria
4c14484c00 Refactor receive_proofs now that multi-mint tokens are not supported 2024-09-30 20:54:07 +02:00
thesimplekid
610571d05b fix: itest change ordering 2024-09-30 20:43:04 +02:00
David Caseria
8fa770ca0d Remove received proofs from db after swap 2024-09-30 20:00:24 +02: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
b23b48c3fe refactor: wallet into multiple mods 2024-09-29 14:08:34 +02:00
thesimplekid
008c913583 refactor: ln backends within mint 2024-09-27 10:04:33 +02:00
thesimplekid
5139c47dac feat: check outgoing payment status flow 2024-09-25 20:28:05 +02:00
Pavol Rusnak
a87117f55f cdk-cln: bump cln-rpc dependency to 0.2.0 2024-09-24 11:14:22 +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
3413c24936 ci: add db matrix to ci 2024-09-21 11:10:38 +02:00
thesimplekid
4a0637a6a5 feat: itests select db 2024-09-21 11:10:38 +02:00
thesimplekid
f2867188a8 fix: sqlx sqlite settings
feat: use transactions in all sql fns
2024-09-21 11:10:38 +02:00
David Caseria
4ba2b07418 Fix melt change amount 2024-09-21 10:28:55 +02:00
Pavol Rusnak
11fa39a003 chore: remove unused deps 2024-09-20 08:43:13 +02:00
thesimplekid
f9bb5eb913 feat: itests
fix: melt change promises amount
2024-09-19 11:43:43 +02:00
thesimplekid
725f59af04 fix: melt transaction balanced 2024-09-18 16:28:14 +02:00
thesimplekid
88b79eb9e9 fix: melt verify error response 2024-09-15 08:57:35 +01:00
thesimplekid
6bbcabfd23 feat: copy on mint settings 2024-09-14 20:57:05 +01:00
thesimplekid
46fe96a6f7 chore: clippy 2024-09-14 20:57:05 +01:00
thesimplekid
f9b9d30a11 feat: remove custom payment methods 2024-09-14 20:57:05 +01:00
thesimplekid
17706709d1 fix: input proofs less then required 2024-09-14 16:04:54 +01:00
thesimplekid
84bc9efbf2 fix: lnd check total total amount 2024-09-14 12:22:32 +01:00
thesimplekid
a4af725458 fix: router check melt status paid 2024-09-14 12:15:50 +01:00
thesimplekid
83dad3c75d fix: melt inputs outputs check 2024-09-14 11:43:07 +01:00
thesimplekid
fba609f28a feat: add unit to PayInvoiceResponse 2024-09-14 11:25:58 +01:00
thesimplekid
eae57eae02 fix: add serde default on mint description 2024-09-14 00:40:28 +01:00
lollerfirst
7e860c71f2 NUT-04 Mint Quote Description (#337) 2024-09-12 12:27:52 +01:00
David Caseria
ce7729538c Return amount and fee_paid for Melted response 2024-09-11 00:37:23 +01:00
thesimplekid
59deb34143 refactor: itest as lib 2024-09-10 14:27:05 +01:00
thesimplekid
0367e0cd4e fix: pubkeys only returns active 2024-09-09 20:53:31 +01:00
Pavol Rusnak
1021ec5299 chore: bump bitcoin + lightning-invoice deps 2024-09-09 12:09:46 +01:00
thesimplekid
a06b52039c fix: itest cdk version 2024-09-08 22:39:12 +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
6cd930313e feat: in multimint receive continue on error 2024-09-08 15:21:45 +01:00
thesimplekid
9b78305722 refactor: calc fee 2024-09-08 13:34:54 +01:00
thesimplekid
2fdf48cc72 feat: remove mint and wallet errors 2024-09-08 11:48:52 +01:00
ok300
65c1aea408 CLI decode_token: use CBOR diagnostic format instead of pure JSON
This brings decoded TokenV4s in line with the format specified in NUT-00, especially around how byte array fields are handled.
2024-09-08 10:09:27 +01:00
thesimplekid
03e1d88f3c feat: remove mutex from redb wallet 2024-09-07 14:50:42 +01:00
thesimplekid
9c08b299e5 feat: remove mutex from redb mint 2024-09-07 14:49:54 +01:00
thesimplekid
369184cf6a feat: unbalanced swap test 2024-09-06 09:23:19 +01:00
thesimplekid
bf5b953738 feat: mint return error codes 2024-09-05 22:15:55 +01:00
thesimplekid
5556080049 fix: use unbalanced error 2024-09-05 22:15:55 +01:00