Commit Graph

521 Commits

Author SHA1 Message Date
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
thesimplekid
39a4d4f5d2 refactor: add default to mint memory 2024-08-17 16:02:17 +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
vnprc
e7685eef2e test(mint): add test for keyset rotation 2024-08-14 15:20:39 +01:00
vnprc
43ea342979 refactor(mint): restructure test to use MintConfig struct 2024-08-14 15:20:39 +01:00
Caleb Beery
90adb3f481 feat: refactored functionality of handle_paid_invoice into mint. 2024-08-13 17:14:44 +01:00
thesimplekid
03e2b86022 feat: use amount type in ln 2024-08-13 15:39:38 +01:00
thesimplekid
bbd214899f feat: use expiry from created invoice 2024-08-13 12:36:05 +01:00
thesimplekid
24647a0c7e fix(mint): ensure change is needed on process melt 2024-08-13 10:19:14 +01:00
thesimplekid
62e0879d8c fix(mint): check sig flag even if no inputs included 2024-08-13 03:07:32 +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