Commit Graph

261 Commits

Author SHA1 Message Date
thesimplekid
a891613bb3 feat: nut09 structs 2024-03-22 16:17:57 +00:00
thesimplekid
7076c4db5f feat(nut07): check state on y 2024-03-22 15:01:48 +00:00
thesimplekid
4cab82d15a chore: update readme 2024-03-20 23:29:06 +00:00
thesimplekid
69a0792e01 feat(nut04/nut05): mint and melt settings as objects 2024-03-20 23:16:09 +00:00
thesimplekid
97cf67039b refactor: remove proof in nut11
Duplicating proofs across stucks leads to unneeded duplication.
Adding the feilds in nut00 with the feilds behind features reduces this.
2024-03-03 22:22:18 +00:00
thesimplekid
3930712b4d refactor: use blindedmessage in nut00 2024-03-03 22:11:12 +00:00
thesimplekid
6afb873d05 chore: remove unneeded verify 2024-03-03 20:48:52 +00:00
thesimplekid
1bc9ad3528 feat: verify p2pk on blinded message 2024-03-03 18:56:12 +00:00
thesimplekid
ed1f034a9a chore: remove print 2024-03-03 15:15:41 +00:00
thesimplekid
1161b3dac1 chore: nut11 tests 2024-03-03 15:15:41 +00:00
thesimplekid
a8ea0d9bdc refactor: secret into bytes 2024-03-03 15:15:41 +00:00
thesimplekid
ca7a5f1d7d refactor: is_p2pk 2024-03-03 15:15:41 +00:00
thesimplekid
e6802a1357 chore: clippy 2024-03-03 15:15:41 +00:00
thesimplekid
2d3fdaec75 refactor: remove unwraps 2024-03-03 15:15:41 +00:00
thesimplekid
12d77fb0af chore: remove unused functions 2024-03-03 15:15:41 +00:00
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