Commit Graph

174 Commits

Author SHA1 Message Date
thesimplekid
1aea753ea2 feat(cashu): Premint from secret 2024-02-10 14:45:31 +00:00
thesimplekid
bfdf0d9226 chore: clippy 2024-02-05 22:53:04 +00:00
thesimplekid
c126bba961 fix: change amount on melt 2024-02-05 22:39:57 +00:00
thesimplekid
28cc181982 fix(mint): redb localstore checking wrong table for spent proofs
feat(wallet): store pending proofs
2024-02-05 21:30:18 +00:00
thesimplekid
be2b51b25a fix: check if onlt one unit is used in swap
fix(mint/redb): id and unit from string

TODO: default keyset should have a real derivation path
2024-01-29 23:41:47 +00:00
thesimplekid
d396b666ac refactor: new test vectors 2024-01-25 22:24:37 +00:00
thesimplekid
ff1aed453f refactor: default on MintInfo 2024-01-16 23:19:19 +00:00
thesimplekid
10da215c88 feat: store mint info 2024-01-16 23:14:16 +00:00
thesimplekid
e01f867e0d feat: mint and melt quote into response 2024-01-16 22:54:22 +00:00
thesimplekid
4f3248495a feat: check mint quote 2024-01-16 22:35:32 +00:00
thesimplekid
e891d67ba0 refactor: local store functions as send 2024-01-15 22:02:54 +00:00
thesimplekid
9135febd02 refactor: send sync on localstore 2024-01-15 20:38:50 +00:00
thesimplekid
f696ef9a92 feat: get_pubkeys 2024-01-14 23:12:38 +00:00
thesimplekid
e06973af33 refactor: redb as wasm 2024-01-14 16:57:56 +00:00
thesimplekid
3e6a9eb3b2 feat: new mem localstore 2024-01-14 16:57:56 +00:00
thesimplekid
5d7e8d835b refactor: remove unwraps 2024-01-14 16:57:56 +00:00
thesimplekid
d5887f1097 feat: mint redb localstore 2024-01-14 16:57:56 +00:00
thesimplekid
8ba1bc5e8f feat: deserlialize secret key 2024-01-14 16:57:56 +00:00
thesimplekid
a6daed722f chore: remove debug prints 2024-01-07 20:19:58 +00:00
thesimplekid
eac2a2008d chore: remove unused 2024-01-07 20:12:23 +00:00
thesimplekid
ee417a44c9 fix: construct proofs with weong keys on mint 2024-01-07 20:09:10 +00:00
thesimplekid
7006594933 refactor: removed unneeded structs from nut07 state change 2024-01-06 15:04:13 +00:00
thesimplekid
f9f88edfd8 refactor: nut-07 state 2024-01-06 14:49:49 +00:00
thesimplekid
d0d3a6732f feat: skip errors on keyset response
This is needed in the case that a non v1 keyset id is returned
in a response. They are simply ignored.
2024-01-04 22:53:31 +00:00
thesimplekid
5042717194 refactor: remove redundent active keyset check 2024-01-03 16:48:54 +00:00
thesimplekid
aef3007afc refactor: active keysets 2024-01-03 16:24:15 +00:00
thesimplekid
bde170b3ca feat: add mint and melt quotes in mint 2024-01-03 15:59:25 +00:00
thesimplekid
03aa4a17b2 chore: clippy 2024-01-03 13:58:13 +00:00
thesimplekid
44918fcbb1 refactor: ensure swap inputs and outputs are same unit
ensure swap outputs are from active keyset
2024-01-03 12:57:15 +00:00
thesimplekid
8753e71854 refactor(mint): verify melt request 2024-01-03 12:17:07 +00:00
thesimplekid
b0a8d6046d refactor: check if token is pending during verification 2024-01-03 10:28:41 +00:00
thesimplekid
d2118a18c2 refactor: mint memory localstore 2024-01-02 21:59:44 +00:00
thesimplekid
fd692985dc refactor: wallet localstore mod 2024-01-02 19:22:40 +00:00
thesimplekid
a4b409ee87 refactor: redb as feature 2024-01-02 16:40:51 +00:00
thesimplekid
8faf8491f0 feat: mint_balances and get_mints 2024-01-02 16:17:25 +00:00
thesimplekid
be8ef41445 feat: redb localstore 2024-01-02 14:26:38 +00:00
thesimplekid
e00f4c3e48 feat: send get proofs from localstore 2024-01-01 22:03:00 +00:00
thesimplekid
7df07731c9 feat: select proofs from localstore 2024-01-01 21:52:31 +00:00
thesimplekid
bba3189a2f refactor: remove bindings 2024-01-01 19:10:21 +00:00
thesimplekid
e8db30af3a refactor: proofs in localstore 2024-01-01 18:35:23 +00:00
thesimplekid
76ec46c024 feat: add memory localstore 2024-01-01 14:45:30 +00:00
thesimplekid
eb81cf8030 fix: cashu-sdk-js 2024-01-01 12:47:15 +00:00
thesimplekid
fe67dfdadd feat: mint rotate keyset and set to inactive 2023-12-31 21:19:30 +00:00
thesimplekid
f45a0b19b7 feat: get mint keysets and keys 2023-12-31 20:51:48 +00:00
thesimplekid
173e36773b chore: clippy 2023-12-31 20:01:29 +00:00
thesimplekid
1ebd2a421a refactor: wallet handles multiple mints 2023-12-31 19:54:55 +00:00
thesimplekid
5299bf87c7 chore: clippy 2023-12-31 18:45:40 +00:00
thesimplekid
9b5e9b2ea4 feat: derive secret from path and seed 2023-12-31 16:24:22 +00:00
thesimplekid
0742ad7754 improve: use bip39 mnemonic for mint secret 2023-12-29 13:51:47 +00:00
thesimplekid
1df5909a2a chore: clippy 2023-12-29 09:04:29 +00:00