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
ce0ff46885
refactor: rename 'SplitPayload' to 'PreSplit'
2023-12-11 23:05:51 +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
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
17b6c17053
chore: clippy
2023-12-11 21:03:42 +00:00
thesimplekid
c81028da81
fix: into mint proof for check_spendable
2023-12-11 20:58:29 +00:00
thesimplekid
6400624e1e
fix: send: split amount
...
The create split function used in the send of cashu-sdk
was not ensureing that the correct combination of token amounts
is avaliable for the send. Adding an optinal split amount enables this.
TODO: the proofs in split are not sorted in accending order to avoid fingerprinting
2023-12-11 20:45:36 +00:00
thesimplekid
fa1d54083e
improve: use 'Proof' type for wallet check spendable not 'MintProof'
2023-12-03 10:26:04 +00:00
thesimplekid
dd3e96243a
fix: send in wallet proof totals
2023-11-29 07:35:25 +00:00
thesimplekid
4e0e91cf7f
improve: handle not enough change outputs provided
2023-11-28 22:14:01 +00:00
thesimplekid
a1eae5f76c
improve: add mod in 'dhke' for 'mint' and 'wallet'
2023-11-17 07:53:06 +00:00
thesimplekid
3f6e7bfdd5
improve: export nut structs, add nut08
2023-11-16 20:37:59 +00:00
thesimplekid
e1264d3ee0
fix: client join urls without trailing '/'
2023-11-15 20:56:35 +00:00
thesimplekid
bb8e573b6f
improve: add gloo feature
...
fix: clippy warning
fix: melted getter for preimage was named wrong
2023-11-12 19:47:58 +00:00
thesimplekid
2f5d220347
clippy: wallet clippy warning
2023-11-12 19:10:19 +00:00
thesimplekid
8c78b9aa94
improve: add gloo_wasm client
2023-11-12 19:04:24 +00:00
thesimplekid
0c9f6057bd
fix: cashu-sdk-ffi remove client, use async client with spawn blocking
2023-11-12 14:32:03 +00:00
thesimplekid
4b77db2b6e
refactor: remove blocking client
2023-11-11 11:23:13 +00:00
thesimplekid
38318bbc78
improve: add 'Client' trait, minreq async client
2023-11-11 10:01:54 +00:00
thesimplekid
61cfd5d53c
improve: 'cashu-sdk' use thiserror for 'Client'
2023-11-10 18:57:36 +00:00
thesimplekid
660c767df4
improve: use thiserror
2023-11-10 18:45:28 +00:00
ngutech21
5ec27c683c
fix: typo
2023-11-09 08:20:46 +01:00
ngutech21
48ac01aff8
fix: clippy
2023-11-06 17:07:23 +01: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
871dfde171
bindings/cashu-sdk wallet
2023-10-01 14:13:28 +01:00
thesimplekid
a9d2411946
bindings/cashu-sdk add client
2023-09-30 22:09:55 +01:00
thesimplekid
bf337ef42f
bindings/cashu-sdk add mint sdk functions
2023-09-30 20:08:32 +01:00
thesimplekid
bcc344c194
improve: Use keyset info
2023-09-30 20:08:32 +01:00
thesimplekid
ba2e4cf1f3
log amount miss match for verify melt
2023-09-29 07:32:36 +01:00
thesimplekid
b9f56c61c1
Revert "cashu-sdk/mint improve: verify_melt called by proccess_melt_request"
...
This reverts commit 4a9101443f .
Verify needs to be public as clients will need to verify the request before paying
and procesing the request
2023-09-29 06:22:41 +01:00
thesimplekid
4a9101443f
cashu-sdk/mint improve: verify_melt called by proccess_melt_request
...
This simplfies the api as the client does not have to call verify themselfs.
Brings the api in line with `split`
2023-09-28 06:52:31 +01:00
thesimplekid
19e2f23ec2
cashu-sdk/mint fix: process_split_request add secrets to spent after they are verified
2023-09-28 06:39:22 +01:00
thesimplekid
2558ef758b
cashu-sdk/mint fix: check_spendable pending proofs check was inverted
2023-09-28 06:28:13 +01:00
thesimplekid
135a1cf094
cashu-sdk: improve: mint active_keyset_puvkeys returns response type
2023-09-27 22:30:11 +01:00
thesimplekid
2880b5ae8b
chore: clippy
2023-09-23 07:43:06 +01:00
thesimplekid
c5a5195afd
chore: fix clippy
2023-09-19 21:21:55 +01:00
thesimplekid
502a3962e3
improve: use unchecked url in client
2023-09-19 20:50:54 +01:00
thesimplekid
a9aa71fa25
strip trailing / from token min url
2023-09-17 20:44:30 +01:00
thesimplekid
1f77966384
bump MSRV to 1.70.0
...
It would be better to have a lower MSRV.
However I would like to whole workspace to have the same version,
and uniffi requires at least 1.70.0
2023-09-17 08:06:12 +01:00
thesimplekid
0013e040d6
MSRV
2023-09-16 09:56:17 +01:00
thesimplekid
544a8d1f91
ci: fix: wasm build
2023-09-12 21:42:26 +01:00