Commit Graph

85 Commits

Author SHA1 Message Date
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
dc988d1173 refactor: wasm bindings 2023-12-19 23:29:27 +00:00
thesimplekid
3b49289adc refactor: cashu-js 2023-12-19 22:58:00 +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
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
ab5fdc44a1 fix: add unit and memo to ffi function 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
fa1d54083e improve: use 'Proof' type for wallet check spendable not 'MintProof' 2023-12-03 10:26:04 +00:00
thesimplekid
3f6e7bfdd5 improve: export nut structs, add nut08 2023-11-16 20:37:59 +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
0cec20a2f9 improve: 'cashu-sdk-js' use gloo client 2023-11-12 19:29:08 +00:00
thesimplekid
7c76da5cfa fix: 'nut08' on cashu-js 2023-11-12 18:20:50 +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
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
17c6bc5f4b bundle sdk js bindings 2023-10-02 22:07:04 +01:00
thesimplekid
e28901ef34 export cashu types 2023-10-02 21:45:41 +01:00
thesimplekid
cbe16b5420 pack wasm 2023-10-02 21:35:10 +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