Commit Graph

211 Commits

Author SHA1 Message Date
thesimplekid
614ae73e70 refactor: add symbol to keyset_info 2023-12-11 22:38:02 +00:00
thesimplekid
a7860903b9 update: keyset id 2023-12-11 22:36:35 +00:00
thesimplekid
ed2d1f8268 chore: update flake.lock 2023-12-11 21:07:39 +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
4118ee0e2d imporve: use types exported in nuts mod 2023-11-16 21:53:53 +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
af23f89d96 fix: decode tokens when not padded 2023-11-14 23:28:40 +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
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
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
659fc3aaf5 ci: remove blocking build 2023-11-11 11:25:54 +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
9f126e3ed2 chore: update flakebox 2023-11-10 21:31:54 +00:00
thesimplekid
01d6e555c7 chore: update flake.lock and cargo.lock 2023-11-10 19:15:22 +00:00
thesimplekid
72e9ffff50 ci: remove duplicate lint workflow 2023-11-10 19:11:12 +00:00
thesimplekid
61cfd5d53c improve: 'cashu-sdk' use thiserror for 'Client' 2023-11-10 18:57:36 +00:00
thesimplekid
99dd07ed0b improve: 'cashu' use thiserror for 'NUT02', 'SECRET' and 'URL' 2023-11-10 18:53:22 +00:00
thesimplekid
660c767df4 improve: use thiserror 2023-11-10 18:45:28 +00:00
thesimplekid
f85df7316f improve: use thiserror 2023-11-10 18:39:11 +00:00
thesimplekid
f797bf27de Merge pull request #45 from ngutech21/fix-typo
fix: typo insufficient funds
2023-11-09 07:29:28 +00:00
ngutech21
5ec27c683c fix: typo 2023-11-09 08:20:46 +01:00
thesimplekid
d717fc148f Merge pull request #42 from ngutech21/chore-split-amount
consolidate split-amount
2023-11-08 07:44:59 +00:00
ngutech21
75902dbba3 chore: consolidate split-amount 2023-11-07 14:37:26 +01:00
thesimplekid
3815627d81 Merge pull request #39 from ngutech21/chore-gitignore
add direnv to gitignore
2023-11-07 07:37:22 +00:00
ngutech21
b737c000f0 chore: add direnv to gitignore 2023-11-07 07:40:29 +01:00
thesimplekid
836c91211e Merge pull request #36 from ngutech21/fix-clippy
fix: clippy
2023-11-06 19:09:38 +00: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
b621f0f11a fix: justfile permission 2023-10-28 11:54:14 +01:00
thesimplekid
a98cb2d37e fix: file permission 2023-10-22 22:13:51 +01:00
thesimplekid
bf5ea01c1f improve: nix flakebox fmt 2023-10-22 18:36:52 +01:00
thesimplekid
dafa0079e8 deps: update invoice 2023-10-15 11:40:45 +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
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