Commit Graph

466 Commits

Author SHA1 Message Date
thesimplekid
fd4afeb2bd refactor(wallet): add swap function 2024-05-10 11:27:32 +01:00
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
3cc660812a refactor: use spending 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
c62381f252 refactor(wallet): send returns token string 2024-05-10 11:27:32 +01:00
thesimplekid
60f7c39183 refactor: store keys amount as string 2024-05-10 11:27:32 +01:00
thesimplekid
8cbdaf39cc chore(bindings): clippy fixes 2024-05-10 11:27:32 +01:00
thesimplekid
21c8b18dc4 chore: update ci and add binding script 2024-05-10 11:27:32 +01:00
thesimplekid
8c4b74f16c refactor: rexie db keypath 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
7d714a2fc5 chore: precommit scripts for bindings 2024-05-10 11:27:32 +01:00
thesimplekid
7ea7e0bda0 feat: js bindings 2024-05-10 11:27:32 +01:00
thesimplekid
ce5fd1e98c refactor: map error to cdk_database error 2024-05-10 11:27:32 +01:00
thesimplekid
7e1d97e545 feat: indexddb db 2024-05-10 11:27:32 +01:00
thesimplekid
35540f4304 refactor(cdk-redb): abstract error 2024-05-10 11:27:32 +01:00
thesimplekid
1dd08ae537 refactor(cdk-redb): feature gate mint and wallet 2024-05-10 11:27:32 +01:00
thesimplekid
6035f02b20 refactor: mint redb database 2024-05-10 11:27:32 +01:00
thesimplekid
a412d83dcd refactor: cdk_database 2024-05-10 11:27:32 +01:00
Lorenzo Maturano
21296fdca7 chore: use Self::Err on error variant of MintDatabase trait impl 2024-05-07 20:46:21 -03:00
thesimplekid
7ff22a4a8a feat: refresh mint keysets 2024-05-02 14:36:49 +01:00
thesimplekid
381dacd417 refactor(wallet): remove unwraps 2024-05-02 10:56:47 +01:00
thesimplekid
db14c11714 feat: NUT14 2024-05-02 09:32:04 +01:00
David Caseria
a5a50f281c refactor: Mint to use bip32 derivation and not store priv keys 2024-04-29 21:49:24 +01:00
thesimplekid
d65a0fac73 chore: update flake 2024-04-29 16:01:34 +01:00
thesimplekid
b186da2863 fix: verify with rust-secp256k1 2024-04-29 15:36:47 +01:00
thesimplekid
545d2c822d feat: add msat from string 2024-04-27 08:37:51 +01:00
kody.low
7c19eaea8f feat: add msats currencyUnit 2024-04-26 19:01:37 -07:00
thesimplekid
4893885002 refactor: store id as bytes 2024-04-25 11:36:07 +01:00
thesimplekid
54a0b13104 chore: add cdk-redb to precommit check 2024-04-24 17:06:35 +01:00
thesimplekid
c77feec5e5 chore: fix precommit scrips check
This removes rustup from the scripts. As rust versions should be managed
through the nix shell and not rust up.
2024-04-24 16:33:42 +01:00
thesimplekid
c8e61b34b8 chore: remove unused features 2024-04-22 17:49:00 +01:00
thesimplekid
e4adb1c7c5 refactor: wallet use cdk_database Error 2024-04-21 23:25:32 +01:00
thesimplekid
c7dcf25812 refactor: use cdk_database Error 2024-04-21 23:19:01 +01:00
thesimplekid
83288ee178 refactor: mint use self error 2024-04-21 22:58:08 +01:00
thesimplekid
3dd1d03fa5 refactor: remove unused localstore 2024-04-21 21:24:05 +01:00
thesimplekid
080253aefc fix: handle keys response with old keyset ids
This adds a new deserializer that will skip invalid keyset ids.
This prevents an the response from erroring
if a mint returns old keysetids
2024-04-19 21:52:22 +01:00
thesimplekid
27e70aa921 refactor(cdk-redb): abstract error 2024-04-18 15:53:08 +01:00
thesimplekid
15a25a4f3d refactor(cdk-redb): feature gate mint and wallet 2024-04-18 15:52:39 +01:00
thesimplekid
2eca18007d refactor: mint redb database 2024-04-18 15:52:37 +01:00
thesimplekid
3ad08e8d8d chore: cdk-redb ci 2024-04-18 15:47:43 +01:00
thesimplekid
06373beff4 refactor: cdk_database 2024-04-18 15:47:40 +01:00
Yuki Kishimoto
61c80606f6 cdk: adj. code according to CODE_STYLE and remove serde_utils mod
* Remove `wallet` and `mint` features from `nuts` module
* Sort dependencies in ASC order
* Fix `check-docks.sh` script

Closes https://github.com/cashubtc/cdk/issues/88
Closes https://github.com/cashubtc/cdk/issues/87

Signed-off-by: Yuki Kishimoto <yukikishimoto@protonmail.com>
2024-04-18 09:31:36 +02:00
thesimplekid
c8d28dea9a chore: correct repo url 2024-04-15 16:07:51 +01:00
thesimplekid
0c953fb38a chore: replace authors in cdk 2024-04-15 15:45:40 +01:00
thesimplekid
65b8b5c1a8 chore: remove duplicate rustfmt 2024-04-15 15:37:46 +01:00