Commit Graph

296 Commits

Author SHA1 Message Date
thesimplekid
4780e139d9 chore: clippy 2024-03-03 15:15:41 +00:00
thesimplekid
c37749dea8 refactor: nut11 blinded messages 2024-03-03 15:15:41 +00:00
thesimplekid
9462b6262f refactor: nut11 features 2024-03-03 15:15:41 +00:00
thesimplekid
1892a9a4b7 feat: nut11 p2pk 2024-03-03 15:15:41 +00:00
thesimplekid
b4b935db68 feat(wallet): claim p2pk token 2024-03-03 15:15:41 +00:00
thesimplekid
9f842d2c3c feat: wallet create and unlock p2pk
nut11 verifying and signingkeys
2024-03-03 15:15:41 +00:00
thesimplekid
2bacda4a56 refactor: premintsecrets from p2pk conditions 2024-03-03 15:15:41 +00:00
thesimplekid
675dba1716 refactor: verify p2pk proof 2024-03-03 15:15:41 +00:00
thesimplekid
60d3fd011e chore: clippy 2024-03-03 15:15:41 +00:00
thesimplekid
670f57b8c3 refactor: remove unchecked secret 2024-03-03 15:15:41 +00:00
thesimplekid
d36048847c refactor: use secret type in proof 2024-03-03 15:15:41 +00:00
thesimplekid
7f60bea5ec refactor: new nut10 secret 2024-03-03 15:15:41 +00:00
thesimplekid
7bbbc2e20e refactor: unchecked secret 2024-03-03 15:15:41 +00:00
thesimplekid
b5d583d4b8 feat: cashu nut11 2024-03-03 15:15:41 +00:00
thesimplekid
ee0a60e40c feat: nut-10 2024-03-03 15:15:41 +00:00
thesimplekid
6550fcc14d chore: update hash to cure test vectors 2024-03-03 13:19:11 +00:00
thesimplekid
72592572c5 refactor: hash to curve domain separated 2024-02-16 21:24:17 +00:00
thesimplekid
878bbe63f3 chore: clippy 2024-02-15 23:56:27 +00:00
thesimplekid
a602820744 feat: domain separated hash_to_curve 2024-02-15 23:53:33 +00:00
thesimplekid
7c9d9fcf6a fix: use Y 2024-02-15 23:14:09 +00:00
thesimplekid
b663228cd2 feat: error response 2024-02-15 22:40:15 +00:00
thesimplekid
7de2413dc0 refactor: secret as hex bytes 2024-02-10 14:45:46 +00:00
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