Commit Graph

50 Commits

Author SHA1 Message Date
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
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
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
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
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
85d0db95ce bindings/cashu-sdk use Id type 2023-09-09 13:18:22 +01:00
thesimplekid
9343f95f2b binding/cashu improve: use Id type 2023-09-09 13:18:06 +01:00
thesimplekid
0c15b52515 typos 2023-09-09 09:50:00 +01:00
thesimplekid
a72a1e654d bindings/cashu-sdk improve: use secret type 2023-09-09 09:20:55 +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
27c2d89c34 bindings/python: readme 2023-09-02 13:44:19 +01:00
thesimplekid
b15b3873d3 bindings/sdk/python: Mint` example 2023-09-02 13:27:36 +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
c21dc01f13 bindings/cashu-sdk re-export cashu 2023-08-29 11:23:29 +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