Commit Graph

163 Commits

Author SHA1 Message Date
thesimplekid
66cdd149cb ci: fix: tests ci 2023-10-01 14:28:37 +01:00
thesimplekid
871dfde171 bindings/cashu-sdk wallet 2023-10-01 14:13:28 +01:00
thesimplekid
4148ee8365 bindings/cashu-sdk add wallet 2023-10-01 09:03:40 +01:00
thesimplekid
a9d2411946 bindings/cashu-sdk add client 2023-09-30 22:09:55 +01:00
thesimplekid
377c5097a3 bindings/cashu-sdk add verify melt js 2023-09-30 20:11:52 +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
f51691bddd bindings/cashu-sdk-js types 2023-09-30 20:08:31 +01:00
thesimplekid
de478c9c3c bindings/cashu-js amount example 2023-09-30 20:08:31 +01:00
thesimplekid
795e39d201 bindings/cashu-js update justfile 2023-09-30 20:08:31 +01:00
thesimplekid
e6beabd7e7 bindings/cashu-js add npm files and fix duplicate names 2023-09-30 20:08:31 +01:00
thesimplekid
815490641f bindings/cashu-js use serde_wasm_bindgen for Amount split 2023-09-30 20:08:31 +01:00
thesimplekid
9b40784a88 bindings/cashu-js use serde_wasm_bindgen for generic types 2023-09-30 20:08:31 +01:00
thesimplekid
5e9cd1827b bindings/cashu-js nut00/blinded_messages add getters 2023-09-30 20:08:31 +01:00
thesimplekid
2c5aa7205a bindings/cashu-js clippy 2023-09-30 20:08:31 +01:00
thesimplekid
405da06078 bindings/cashu-js nut07 and nut08 2023-09-30 20:08:31 +01:00
thesimplekid
df2008c35e bindings/cashu-js nut06 2023-09-30 20:08:31 +01:00
thesimplekid
898e98b0d0 bindings/cashu-js nut05 2023-09-30 20:08:31 +01:00
thesimplekid
f79a994bcb bindings/cashu-js nut04 2023-09-30 20:08:31 +01:00
thesimplekid
656ace3f50 bindings/cashu-js nut03 2023-09-30 20:08:31 +01:00
thesimplekid
a11bf599ff typos 2023-09-30 20:08:31 +01:00
thesimplekid
9d4fcb55de bindings/cashu-js nut02 2023-09-30 20:08:31 +01:00
thesimplekid
e830cbf0b7 bindings/cashu-js nut00 and nu01 2023-09-30 20:08:31 +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
0d7966b9ae Merge pull request #33 from DanielUhlik/main
fix reading invoice amount in nut08
2023-09-29 06:14:08 +01:00
Daniel Uhlík
4eaa9a6731 fix reading invoice value 2023-09-28 23:27:17 +02: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
b1a12525d2 improve: add to and from str for Secret 2023-09-21 19:28:56 +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
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
f73b724c4f chore: uppercase license 2023-09-11 19:54:14 +01:00
thesimplekid
c21f059101 chore: clippy 2023-09-10 21:40:28 +01:00
thesimplekid
c6f38f3cc8 cashu-sdk chore: clippy 2023-09-10 21:05:47 +01:00
thesimplekid
57b6607f9a chore: clippy 2023-09-10 20:59:57 +01:00
thesimplekid
492535879f cashu-sdk fix: add verification of proofs for Melt and Split
make verify proofs private
2023-09-10 20:45:56 +01:00
thesimplekid
8e0327eb31 bindings/cashu-sdk add fee reserve arguments 2023-09-10 19:36:48 +01:00
thesimplekid
06ffef6db5 cashu-sdk improve: account for fee reserve on Melt 2023-09-10 19:21:14 +01:00
thesimplekid
1af48de2a5 fix: unchecked url was not used 2023-09-10 19:20:13 +01:00
thesimplekid
6f84f5620d chore: update deps 2023-09-10 18:45:43 +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