Commit Graph

47 Commits

Author SHA1 Message Date
thesimplekid
1ebd2a421a refactor: wallet handles multiple mints 2023-12-31 19:54:55 +00:00
thesimplekid
0742ad7754 improve: use bip39 mnemonic for mint secret 2023-12-29 13:51:47 +00:00
thesimplekid
0fe7ccc927 refactor: use async mutex 2023-12-29 12:38:31 +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
40f6bc6bd9 refactor: ffi for v1 mint 2023-12-26 21:15:46 +00:00
thesimplekid
3301199609 refactor: some cashu-sdk-ffi to v1 2023-12-22 09:50:40 +00:00
thesimplekid
85df35458a refactor: cashu-ffi some interfaces to v1 2023-12-21 14:05:40 +00:00
thesimplekid
66068e6a3d refactor: remove RequestMint 2023-12-14 20:00:42 +00:00
thesimplekid
c706e367e9 refactor: v1 MeltRequest
TODO: ffi bindings
2023-12-11 23:09:10 +00:00
thesimplekid
e93fb506af improve: impl 'to_string()' on 'Token' 2023-12-11 23:06:51 +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
2c63263dc2 refactor: rename 'symbol' to 'unit' 2023-12-11 22:43:23 +00:00
thesimplekid
834834fd46 refactor: add unit to token 2023-12-11 22:43:23 +00:00
thesimplekid
ff0fead2c0 refactor: Keyset_id in proof is required 2023-12-11 22:43:23 +00:00
thesimplekid
417e3037ee refactor: move nut06 to nut03
rename 'proofs' to 'to inputs'
2023-12-11 22:43:23 +00:00
thesimplekid
989035e12e refactor: add keyset_id to blinded_message
stop mint from signing if keyset in
blinded_message is not the active keyset
2023-12-11 22:43:21 +00:00
thesimplekid
614ae73e70 refactor: add symbol to keyset_info 2023-12-11 22:38:02 +00:00
thesimplekid
3f6e7bfdd5 improve: export nut structs, add nut08 2023-11-16 20:37:59 +00:00
thesimplekid
f4d0160b5b improve: use features for optional nuts 2023-11-04 09:20:33 +00:00
thesimplekid
bf5ea01c1f improve: nix flakebox fmt 2023-10-22 18:36:52 +01:00
thesimplekid
1070de0eec remove ProofsStatus from cashu 2023-10-03 07:26:54 +01:00
thesimplekid
449fe8330c improve: add missing derefs and from 2023-10-03 07:15:45 +01:00
thesimplekid
bcc344c194 improve: Use keyset info 2023-09-30 20:08:32 +01:00
thesimplekid
405da06078 bindings/cashu-js nut07 and nut08 2023-09-30 20:08:31 +01:00
thesimplekid
135a1cf094 cashu-sdk: improve: mint active_keyset_puvkeys returns response type 2023-09-27 22:30:11 +01:00
thesimplekid
0013e040d6 MSRV 2023-09-16 09:56:17 +01:00
thesimplekid
c3437beb6f ci: remove deprecated attribute
versioning is not constant at the moment
so the attribute just causes ci errors
Will add back once more stable
2023-09-11 20:45:39 +01:00
thesimplekid
c21f059101 chore: clippy 2023-09-10 21:40:28 +01:00
thesimplekid
d36262233f cashu add UncheckedUrl type
This is needed to track if the token mint url
has a traling "/". This is needed to round trip
serialize a token.

Though it would not actually effect being able
to redeam the token or now.
2023-09-10 11:03:55 +01:00
thesimplekid
e47762029e cashu improve: amount type in Keys map 2023-09-10 09:47:29 +01:00
thesimplekid
9343f95f2b binding/cashu improve: use Id type 2023-09-09 13:18:06 +01:00
thesimplekid
f860fc298a bindings/cashu improve: use secret type 2023-09-09 09:02:42 +01:00
thesimplekid
2b85436800 update .gitignore 2023-09-09 07:29:39 +01:00
thesimplekid
fd955f22cb fix: public key serialization
This removes deserialixation from the secret key
and related types as it is not needed and it's
broken. It would be best to fix this at some point.
2023-09-03 14:14:30 +01:00
thesimplekid
08067fb793 chore: clippy 2023-09-02 12:50:59 +01:00
thesimplekid
19f6e24dfe bindings/sdk: Add Mint 2023-09-02 12:44:04 +01:00
thesimplekid
2edce622ae bindings: add MintKeySet 2023-09-02 10:39:48 +01:00
thesimplekid
cf9bf49685 bindings: MintVersion feilds 2023-09-02 09:56:14 +01:00
thesimplekid
1d7bc0cda9 wallet: check proofs status 2023-09-02 09:45:39 +01:00
thesimplekid
adee91e55a typos 2023-09-02 08:08:48 +01:00
thesimplekid
a73aee17f6 cashu-ffi: Update README.md 2023-09-01 16:26:50 +01:00
thesimplekid
8cf52d0b7e bindings/python: Add token example
This includes a HACK to fix `from_hex` for publickey
that I discovered while writting this example.

Will include a real fix for this in seperate commit
2023-09-01 16:12:43 +01:00
thesimplekid
0beca645b8 bindings/cashu-sdk: add ffi bindings for mint and wallet 2023-09-01 11:27:33 +01:00
thesimplekid
8940afac9e bindings/cashu Bolt11Invoice ffi type 2023-08-31 09:06:05 +01:00
thesimplekid
127ada01eb rename amount 2023-08-29 09:27:45 +01:00
thesimplekid
066ee43158 python bindings 2023-08-28 16:19:03 +01:00