Commit Graph

107 Commits

Author SHA1 Message Date
thesimplekid
d396b666ac refactor: new test vectors 2024-01-25 22:24:37 +00:00
thesimplekid
ff1aed453f refactor: default on MintInfo 2024-01-16 23:19:19 +00:00
thesimplekid
e01f867e0d feat: mint and melt quote into response 2024-01-16 22:54:22 +00:00
thesimplekid
5d7e8d835b refactor: remove unwraps 2024-01-14 16:57:56 +00:00
thesimplekid
8ba1bc5e8f feat: deserlialize secret key 2024-01-14 16:57:56 +00:00
thesimplekid
eac2a2008d chore: remove unused 2024-01-07 20:12:23 +00:00
thesimplekid
ee417a44c9 fix: construct proofs with weong keys on mint 2024-01-07 20:09:10 +00:00
thesimplekid
7006594933 refactor: removed unneeded structs from nut07 state change 2024-01-06 15:04:13 +00:00
thesimplekid
f9f88edfd8 refactor: nut-07 state 2024-01-06 14:49:49 +00:00
thesimplekid
d0d3a6732f feat: skip errors on keyset response
This is needed in the case that a non v1 keyset id is returned
in a response. They are simply ignored.
2024-01-04 22:53:31 +00:00
thesimplekid
aef3007afc refactor: active keysets 2024-01-03 16:24:15 +00:00
thesimplekid
bde170b3ca feat: add mint and melt quotes in mint 2024-01-03 15:59:25 +00:00
thesimplekid
e00f4c3e48 feat: send get proofs from localstore 2024-01-01 22:03:00 +00:00
thesimplekid
e8db30af3a refactor: proofs in localstore 2024-01-01 18:35:23 +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
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
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
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
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
thesimplekid
35db3fb147 refactor: add cashuB token 2023-12-11 23:06:53 +00:00
thesimplekid
e93fb506af improve: impl 'to_string()' on 'Token' 2023-12-11 23:06:51 +00:00
thesimplekid
ce0ff46885 refactor: rename 'SplitPayload' to 'PreSplit' 2023-12-11 23:05:51 +00:00
thesimplekid
210d6159c3 refactor: remove nut06 2023-12-11 23:02:08 +00:00
thesimplekid
a69490feb2 refactor: rename "KeysetInfo" to "MintKeySetInfo" 2023-12-11 23:01:56 +00:00
thesimplekid
b92be032ee refactor: rename 'BlindedMessages' to 'PreMintSecrets'
In the nuts 'BlindedMessages' is a Vec<BlindedMessage>
using it another way is confusing this avoids that.
2023-12-11 23:00:29 +00:00
thesimplekid
78f35eda8e refactor: Allow multiple active keysets
Only one active keyset per unit
Rotate keyset was taken out to be put back in with mnemomic
2023-12-11 22:43:23 +00:00
thesimplekid
08114cb0ba refactor: secret as 32 byte hex 2023-12-11 22:43:23 +00:00