Commit Graph

407 Commits

Author SHA1 Message Date
thesimplekid
370a1df96a refactor: wallet and mint use nut13 feature 2024-04-12 14:03:10 +01:00
thesimplekid
3b27eabf73 refactor: include wallet and mint in cdk 2024-04-12 13:57:58 +01:00
thesimplekid
a17eb0f67e fix: script and ci cdk 2024-04-12 12:07:26 +01:00
thesimplekid
f7b7a2a506 refactor: update CI and script for one cdk crate 2024-04-10 23:04:07 +01:00
thesimplekid
5cd03b0027 refactor: consolidate to one CDK crate
Having the two crates adds complexity without
benefit since features can be used instead
2024-04-10 22:48:53 +01:00
thesimplekid
dd5bdf3c27 refactor: rename cashu-sdk to cdk 2024-04-10 22:32:11 +01:00
thesimplekid
ecc70e54f3 refactor: remove unused features 2024-04-10 21:21:24 +01:00
thesimplekid
e5a531dca1 refactor: reduce number of features
Features for NUTs without extra deps expand the
feature matrix without much benefit.
2024-04-10 21:09:56 +01:00
thesimplekid
4c2cb78327 chore: update CODE_STYLE
Co-authored-by: Yuki Kishimoto <yukikishimoto@protonmail.com>
2024-04-10 20:49:35 +01:00
thesimplekid
973dc89b01 refactor: code style in localstore 2024-04-10 20:49:32 +01:00
thesimplekid
ce0b309b66 chore: add code style and rust fmt 2024-04-10 20:43:25 +01:00
Yuki Kishimoto
205af9b107 Update .rustfmt.toml
Signed-off-by: Yuki Kishimoto <yukikishimoto@protonmail.com>
2024-04-10 17:55:41 +02:00
Yuki Kishimoto
3831a4f3bb cashu: adj. dependencies
* Remove `k256`, `bip32`, `hex`, `log`, `rand` and `itertools` deps
* Add `once_cell` and `instant` deps
* Downgrade `bitcoin` to `v0.30` and `base64` to `v0.21`
* Replace `utils` module with `util`
* Remove `utils` from `cashu-sdk`
* Some cleanups

Closes https://github.com/thesimplekid/cashu-crab/issues/35

Signed-off-by: Yuki Kishimoto <yukikishimoto@protonmail.com>
2024-04-10 17:55:40 +02:00
Yuki Kishimoto
02fd33225c Add misc/scripts
Signed-off-by: Yuki Kishimoto <yukikishimoto@protonmail.com>
2024-04-10 17:54:44 +02:00
Yuki Kishimoto
d19486325f Add .vscode and .idea to .gitignore
Signed-off-by: Yuki Kishimoto <yukikishimoto@protonmail.com>
2024-04-09 19:54:33 +02:00
thesimplekid
d57d69c7a7 fix(wallet): feature gate NUT13 related code 2024-04-08 23:07:11 +01:00
thesimplekid
0b1254b66e Merge pull request #72 from Kodylow/flake-updates
fix: flake fixes
2024-04-07 16:51:38 +01:00
kody.low
3cec49ce0d fix: flake 2024-04-07 08:38:25 -07:00
thesimplekid
30d53f5e29 feat: check if db upgrade needed 2024-04-07 14:39:42 +01:00
thesimplekid
e63b43f838 chore(README): fix licence link 2024-04-04 19:22:03 +01:00
thesimplekid
ed117ef3a2 feat(wallet): verify token dleq and p2pk conditions 2024-04-03 00:57:55 +01:00
thesimplekid
1c045ff62a feat(cashu_sdk): verify token dleq 2024-04-02 20:18:44 +01:00
thesimplekid
34908cfd88 refactor: remove duplicate NUT08 struct 2024-03-31 23:24:33 +01:00
thesimplekid
57f4090be2 refactor: rename BlindedSignature to BlindSignature 2024-03-31 23:12:51 +01:00
thesimplekid
b77ea560e6 refactor: getrandom as workspace dep 2024-03-31 18:58:55 +01:00
thesimplekid
91149c1ce0 refactor: getrandom js 2024-03-31 17:43:13 +01:00
thesimplekid
860f92b0b8 chore: update flake 2024-03-31 17:36:37 +01:00
thesimplekid
c704f43c56 refactor: remove left over blocking 2024-03-31 17:31:38 +01:00
thesimplekid
35ce004230 refactor: remove unused 2024-03-31 17:15:33 +01:00
thesimplekid
deb96e7d1a chore: update readme 2024-03-30 22:04:01 +00:00
thesimplekid
d82ff1105d chore: update 2024-03-30 21:49:29 +00:00
thesimplekid
21926da14a feat(NUT12): rename BlindSignatureDleq 2024-03-27 21:08:54 +00:00
thesimplekid
5461eb0dad feat(NUT12): BlindedSignature and Proof DLEQ 2024-03-27 20:34:22 +00:00
thesimplekid
e761c41960 feat(NUT12): mint include dleq proof 2024-03-25 22:06:08 +00:00
thesimplekid
96a151bfaa feat(nut12): verify receive proofs 2024-03-25 14:42:02 +00:00
thesimplekid
a6e77c62af feat(NUT12): verify DLEQ on blinded signatures 2024-03-24 22:46:40 +00:00
thesimplekid
2b8945538c chore: readme 2024-03-23 21:50:50 +00:00
thesimplekid
a3faf2fb2e feat(NUT09-13): Add support for NUT09 and NUT13 2024-03-23 21:14:18 +00:00
thesimplekid
65b0f66729 feat(mint): restore function 2024-03-22 16:38:45 +00:00
thesimplekid
27677f881a feat(mint): store blinded messages and sigs 2024-03-22 16:38:42 +00:00
thesimplekid
9c0e058541 feat(wallet): restore from all keysets 2024-03-22 16:36:34 +00:00
thesimplekid
3dea0f7924 chore: clippy 2024-03-22 16:30:24 +00:00
thesimplekid
c4389079f3 feat: nut13 restore for active keyset 2024-03-22 16:30:21 +00:00
thesimplekid
357479827d chore: clippy 2024-03-22 16:17:57 +00:00
thesimplekid
4d4467df58 feat(wallet): premint secrets from seed 2024-03-22 16:17:57 +00:00
thesimplekid
6632c08b01 chore: remove unwraps from nut13 2024-03-22 16:17:57 +00:00
thesimplekid
a0a3a80377 feat: r and secret from seed 2024-03-22 16:17:57 +00:00
thesimplekid
a891613bb3 feat: nut09 structs 2024-03-22 16:17:57 +00:00
thesimplekid
da5a344b8c chore: update readme 2024-03-22 15:19:27 +00:00
thesimplekid
7076c4db5f feat(nut07): check state on y 2024-03-22 15:01:48 +00:00