Commit Graph

105 Commits

Author SHA1 Message Date
thesimplekid
037319ce55 feat: htlc and p2pk witness 2024-05-10 11:27:32 +01:00
thesimplekid
75d31b2335 feat(bindings): HTLC conditions 2024-05-10 11:27:32 +01:00
thesimplekid
9f9aca9f6f refactor(bindings): amount getter 2024-05-10 11:27:32 +01:00
thesimplekid
8fbd778e58 chore(bindings): remove uniffi bindings 2024-05-10 11:27:32 +01:00
thesimplekid
7c9b61aab6 chore: use workspace deps 2024-05-10 11:27:32 +01:00
thesimplekid
377f9bc0e4 refactor(bindings): js conditions 2024-05-10 11:27:32 +01:00
thesimplekid
4cc02b7770 feat(bindings): js bindings send 2024-05-10 11:27:32 +01:00
thesimplekid
8cbdaf39cc chore(bindings): clippy fixes 2024-05-10 11:27:32 +01:00
thesimplekid
46d5a8dedd feat: mint and melt quote getters 2024-05-10 11:27:32 +01:00
thesimplekid
7ea7e0bda0 feat: js bindings 2024-05-10 11:27:32 +01:00
thesimplekid
bba3189a2f refactor: remove bindings 2024-01-01 19:10:21 +00:00
thesimplekid
eb81cf8030 fix: cashu-sdk-js 2024-01-01 12:47:15 +00:00
thesimplekid
1ebd2a421a refactor: wallet handles multiple mints 2023-12-31 19:54:55 +00:00
thesimplekid
969a8c4ccb refactor: ffi for mint mnemonic 2023-12-31 08:37:42 +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
1c17c577f7 refactor: melt and mint quote in sdk-ffi 2023-12-29 08:00:24 +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
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