Commit Graph

533 Commits

Author SHA1 Message Date
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
findingsov
2497691c7e Update example.config.toml for fees
For phoenixd, add fee_percent and reserve_fee_min
2024-09-05 21:57:51 +01:00
thesimplekid
cf09a4c239 feat: add unbalanced check 2024-09-05 18:42:11 +01:00
thesimplekid
1f81b24f40 feat: try_sum for amounts 2024-09-05 18:42:11 +01:00
Pavol Rusnak
5dca9af70f return error in construct_proofs if arguments are not the same length 2024-09-05 17:19:48 +01:00
findingsov
ceac5b64d7 Update example.config.toml-add to strike info
For the Webhook subscription, the url under [info] must be a valid, absolute, non-local, https url
2024-09-05 15:00:05 +01:00
thesimplekid
df69243720 chore: typos 2024-09-05 11:51:41 +01:00
thesimplekid
30f1e28491 chore: add overflow test 2024-09-05 11:41:40 +01:00
thesimplekid
823f7a35f8 fix: cln msrv 2024-09-05 09:29:58 +01:00
findingsov
930420c155 Update example.config.toml
small typo/backend addition
2024-09-05 09:20:56 +01:00
Pavol Rusnak
476ecd4eda fix typos check
fixes typos issue introduced by a199fa70ee
2024-09-04 22:57:56 +01:00
thesimplekid
eb0ba7da43 fix: check for addition overflow 2024-09-04 19:49:00 +01:00
callebtc
a199fa70ee Add test for TokenV4::try_from() (#318) 2024-09-04 19:48:18 +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
callebtc
125001211c Format mint URL (lowercase hostname) (#311) 2024-09-03 10:46:02 +01:00
thesimplekid
029f922326 feat: lnd ln backend 2024-08-31 16:04:06 +01:00
thesimplekid
847eab8e07 chore: fmt 2024-08-29 15:09:59 +01:00
thesimplekid
cc5efd9887 feat: phoenixd ln backend 2024-08-29 11:16:45 +01:00
Pavol Rusnak
8ee5f62d62 fix(cdk-lnbits): Strike -> LNbits, LNBits -> LNbits 2024-08-29 11:10:32 +01:00
thesimplekid
5e5345074d feat: lnbits ln backend
fix: check webhook url is valid
2024-08-29 08:33:05 +01:00
David Caseria
d0d7281c77 Modify WalletDatabase trait to better support db transactions 2024-08-24 17:32:59 +03:00
thesimplekid
9a009ef125 feat: use BTreeMap for wallet list 2024-08-24 09:49:41 +03:00
thesimplekid
4b3eca23e9 fix: check mint and melt quotes are within settings 2024-08-20 12:16:04 +02:00
thesimplekid
65163b89bc refactor: check scripts for justfile
chore: ci run examples
2024-08-19 14:48:45 +02:00
Pavol Rusnak
9eff00bcaf fix: make capitalization of error messages consistent 2024-08-19 13:53:26 +02:00
thesimplekid
e8114f3383 feat(tests): integration test 2024-08-19 00:01:30 +02:00
thesimplekid
d770442567 chore: chore fmt doc comments 2024-08-18 10:54:45 +02:00
thesimplekid
2994d778c0 chore: wallet doc tests 2024-08-17 21:28:53 +02:00