Commit Graph

296 Commits

Author SHA1 Message Date
thesimplekid
44918fcbb1 refactor: ensure swap inputs and outputs are same unit
ensure swap outputs are from active keyset
2024-01-03 12:57:15 +00:00
thesimplekid
8753e71854 refactor(mint): verify melt request 2024-01-03 12:17:07 +00:00
thesimplekid
b0a8d6046d refactor: check if token is pending during verification 2024-01-03 10:28:41 +00:00
thesimplekid
d2118a18c2 refactor: mint memory localstore 2024-01-02 21:59:44 +00:00
thesimplekid
fd692985dc refactor: wallet localstore mod 2024-01-02 19:22:40 +00:00
thesimplekid
a4b409ee87 refactor: redb as feature 2024-01-02 16:40:51 +00:00
thesimplekid
8faf8491f0 feat: mint_balances and get_mints 2024-01-02 16:17:25 +00:00
thesimplekid
be8ef41445 feat: redb localstore 2024-01-02 14:26:38 +00:00
thesimplekid
e00f4c3e48 feat: send get proofs from localstore 2024-01-01 22:03:00 +00:00
thesimplekid
7df07731c9 feat: select proofs from localstore 2024-01-01 21:52:31 +00:00
thesimplekid
bba3189a2f refactor: remove bindings 2024-01-01 19:10:21 +00:00
thesimplekid
e8db30af3a refactor: proofs in localstore 2024-01-01 18:35:23 +00:00
thesimplekid
76ec46c024 feat: add memory localstore 2024-01-01 14:45:30 +00:00
thesimplekid
eb81cf8030 fix: cashu-sdk-js 2024-01-01 12:47:15 +00:00
thesimplekid
fe67dfdadd feat: mint rotate keyset and set to inactive 2023-12-31 21:19:30 +00:00
thesimplekid
f45a0b19b7 feat: get mint keysets and keys 2023-12-31 20:51:48 +00:00
thesimplekid
173e36773b chore: clippy 2023-12-31 20:01:29 +00:00
thesimplekid
1ebd2a421a refactor: wallet handles multiple mints 2023-12-31 19:54:55 +00:00
thesimplekid
5299bf87c7 chore: clippy 2023-12-31 18:45:40 +00:00
thesimplekid
9b5e9b2ea4 feat: derive secret from path and seed 2023-12-31 16:24:22 +00:00
thesimplekid
0742ad7754 improve: use bip39 mnemonic for mint secret 2023-12-29 13:51:47 +00:00
thesimplekid
1df5909a2a chore: clippy 2023-12-29 09:04:29 +00:00
thesimplekid
754936d701 refactor: melt quote and melt to v1 in wallet sdk 2023-12-29 07:02:12 +00:00
thesimplekid
dcc35092f4 refactor: bindings keyset response 2023-12-27 21:15:08 +00:00
thesimplekid
2508f4ed36 refactor: mint/quote v1 urls 2023-12-27 21:02:32 +00:00
thesimplekid
1a0b0c28e5 refactor: mint tokens 2023-12-26 08:13:16 +00:00
thesimplekid
f835ca665d refactor: add mint quote in sdk 2023-12-25 21:27:55 +00:00
thesimplekid
775117cf78 refactor: add hash_to_curve test 2023-12-25 15:40:06 +00:00
thesimplekid
995a09f59d refactor: add token prefix tests 2023-12-25 15:36:00 +00:00
thesimplekid
ea25b35a21 refactor: update tests to v1 2023-12-23 20:48:24 +00:00
thesimplekid
69f03e1ddc chore: secret unused for now 2023-12-22 18:24:52 +00:00
thesimplekid
8b16996cb9 refactor: join_url accepts slice 2023-12-22 18:07:18 +00:00
thesimplekid
e557d3ec6d refactor: remove nut09 feature 2023-12-22 17:25:34 +00:00
thesimplekid
85df35458a refactor: cashu-ffi some interfaces to v1 2023-12-21 14:05:40 +00:00
thesimplekid
071dadb391 refactor: wallet nut07 features for mint info 2023-12-19 21:04:07 +00:00
thesimplekid
93c2d478f8 refactor: rename id to keyset_id where relevant on structs 2023-12-18 23:49:02 +00:00
thesimplekid
69bdb18dda refactor: skip serialization of feilds other then secret
This avoids wallet fingerprinting by only sending the secret when
checking if a proof is spent as recommnded in the nut.
2023-12-18 23:21:58 +00:00
thesimplekid
299d4c9c05 refactor: rename proof to payment_preimage 2023-12-18 22:55:26 +00:00
thesimplekid
5c5d0bf888 refactor: remove bitcoin amount from Amount 2023-12-17 23:17:47 +00:00
thesimplekid
e76a8b9130 impove: add payment method display 2023-12-17 22:59:49 +00:00
thesimplekid
5d8f35c053 refactor: add PaymentType enum 2023-12-17 22:45:38 +00:00
thesimplekid
bdb87dd4cd fix: add nut info struct 2023-12-17 22:26:38 +00:00
thesimplekid
5493745675 fix: mint info v1 enpoint 2023-12-17 17:31:02 +00:00
thesimplekid
2a93c4feba refactor: MintInfo v1 2023-12-16 21:49:24 +00:00
thesimplekid
5248c764b2 refactor: rename split to swap 2023-12-14 20:17:17 +00:00
thesimplekid
66068e6a3d refactor: remove RequestMint 2023-12-14 20:00:42 +00:00
thesimplekid
4191ea68d2 refactor: wallet for nut04 v1 2023-12-14 19:33:21 +00:00
thesimplekid
681828b947 refactor: cashu: nut-04 Mint V1 2023-12-13 23:24:24 +00:00
thesimplekid
bfbe192b37 refactor: remove token B 2023-12-13 23:04:48 +00:00
thesimplekid
c706e367e9 refactor: v1 MeltRequest
TODO: ffi bindings
2023-12-11 23:09:10 +00:00