Commit Graph

492 Commits

Author SHA1 Message Date
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
Caleb Beery
da1acc4e6d feat: add mint_icon_url to mint details. (#282) 2024-08-10 17:57:02 -04:00
Abdel @ StarkWare
a94c0630fd ⚗️ add criterion benchmarks for dhke 2024-08-09 11:09:49 -04:00
thesimplekid
ea0e67cd5f chore(tests): add full dhke 2024-08-09 10:34:29 -04:00
thesimplekid
e4069c0243 chore: use workspace version 2024-08-08 10:11:31 -04:00
vnprc
73e8792965 feat: MintKeySet::generate_from_xpriv and MintKeySet::generate_from_seed methods
- Added two new unit tests: `mint_mod_generate_keyset_from_seed` and `mint_mod_generate_keyset_from_xpriv`
- Implemented `mint_mod_new_mint` async test to ensure proper Mint instantiation with minimal data
- Refactored `MintKeySet::generate_from_xpriv` and `MintKeySet::generate_from_seed` methods to accept max_order, currency_unit, and derivation_path parameters directly
2024-08-08 09:40:44 -04:00
David Caseria
bba1d92aec feat: return WalletKey for UnknownWallet error (#278) 2024-08-08 09:15:03 -04:00
David Caseria
0945b3540a Add proxy support (#272)
* Add proxy support
2024-08-07 08:53:05 -04:00
vnprc
a30a5e2378 fix: misspelling typo 2024-08-01 22:28:33 -04:00
thesimplekid
72bef1b852 fix: send proofs with conditions 2024-08-01 13:59:36 -05:00
thesimplekid
ed9762568a chore(ci): bench 2024-08-01 09:05:13 -05:00
thesimplekid
e0cd4a38d7 fix(mint): reset proofs in swap to unspent if error 2024-08-01 08:16:30 -05:00
vnprc
701caf2a74 fix: insufficient funds bug in proof_selection example 2024-07-30 16:09:47 -04:00
thesimplekid
5b4aafeb9d chore: update rexie nostr 2024-07-27 15:18:39 -04:00
thesimplekid
c36eb3caa2 refactor: clean up workspace deps 2024-07-27 08:33:10 -04:00
thesimplekid
5fc3033c3b refactor(mint): generate keysets at start up 2024-07-27 07:38:36 -04:00
thesimplekid
48bff14444 feat: multi unit for fake wallet 2024-07-26 14:59:27 -04:00
thesimplekid
169f5f1533 feat: strike multi unit
fix: mint create new keysets for units

fix: use amount from melt quote

fix: melt quote correct payment unit
2024-07-26 12:48:41 -04:00
thesimplekid
da229cdb25 feat: cdk error to code 2024-07-26 07:03:34 -04:00
thesimplekid
b397f293f8 feat: error code 2024-07-26 06:58:08 -04:00
thesimplekid
72ea7ef942 chore: update strike-rs 2024-07-25 11:12:01 -04:00
thesimplekid
ba19663531 feat(mint): issued and redeamed by keyset 2024-07-25 08:43:14 -04:00
thesimplekid
53c75a4d15 fix: for unknown mint get ketsets after info 2024-07-23 16:19:53 +01:00
thesimplekid
bb8d088f82 feat: receive adds unknown mint 2024-07-23 16:04:16 +01:00
thesimplekid
fa3f6c4b38 chore: instrument logging on wallet db 2024-07-23 15:35:37 +01:00
thesimplekid
3bf8b9fe1b chore bump strike-rs 2024-07-23 09:26:46 +01:00
thesimplekid
6de00fdb9f feat: only log error if there is one deleting webhooks 2024-07-22 22:21:33 +01:00
thesimplekid
cb2458782e fix: dont error on start up for an unknown request lookup 2024-07-22 20:40:09 +01:00
thesimplekid
36f80efc54 fix(strike): delete current strike webhooks 2024-07-22 18:47:37 +01:00
thesimplekid
97fd83c8f4 feat(mint): add get blinded_sig by keyset 2024-07-22 16:43:26 +01:00