Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for NUT-12 #200

Merged
merged 29 commits into from
Nov 13, 2024
Merged
Show file tree
Hide file tree
Changes from 26 commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
30445e1
dleq
lollerfirst Oct 29, 2024
d794f2c
less tab
lollerfirst Oct 29, 2024
40b5468
package.json
lollerfirst Oct 29, 2024
c7ac6d9
fix
lollerfirst Oct 29, 2024
bb8aa49
Merge remote-tracking branch 'upstream/development' into dleq
lollerfirst Oct 30, 2024
102908f
add optional `dleqValid` to `Proof` type. It will be true if the mint…
lollerfirst Oct 30, 2024
e4a59f6
include dleq in encoded V4 token if provided
lollerfirst Oct 30, 2024
72f4211
handleTokens include dleq if present.
lollerfirst Nov 1, 2024
e7c6501
fix tests accordingly
lollerfirst Nov 1, 2024
2379ed5
Carol receive from Alice
lollerfirst Nov 1, 2024
36a643e
strip DLEQs when melting, swapping
lollerfirst Nov 1, 2024
87686d7
npm format
lollerfirst Nov 1, 2024
a5f9dd2
Merge remote-tracking branch 'upstream/development' into dleq
lollerfirst Nov 2, 2024
f8e66e7
remove unused imports + update cashu/crypto dependency to latest rele…
lollerfirst Nov 5, 2024
6b8c7c7
integration tests for verify and includeDleq in token + some fixes
lollerfirst Nov 6, 2024
8c12a87
sure-fire pad to 64 characters for bigint
lollerfirst Nov 6, 2024
5cb0d07
check pubkey is not undefined
lollerfirst Nov 6, 2024
8aea25f
fix dleq strip
lollerfirst Nov 7, 2024
582172f
test not enough funds when dleq missing and includeDleq true
lollerfirst Nov 7, 2024
2bfb5a0
npm run format
lollerfirst Nov 7, 2024
8e7a58d
test receive with invalid dleq
lollerfirst Nov 7, 2024
c70b2c6
requested changes
lollerfirst Nov 8, 2024
d2da842
clean tests
lollerfirst Nov 8, 2024
266c8aa
test for `hasValidDleq` in utils tests.
lollerfirst Nov 8, 2024
efc73ec
npm run format
lollerfirst Nov 8, 2024
f26bd15
test no matching key
lollerfirst Nov 8, 2024
06fdaab
use new syntax for serializedDLEQ
lollerfirst Nov 13, 2024
af68d57
abstracted strip util + changed conditions
Egge21M Nov 13, 2024
31d3832
use stripDleq everywhere
Egge21M Nov 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
124 changes: 63 additions & 61 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"typescript": "^5.0.4"
},
"dependencies": {
"@cashu/crypto": "^0.2.7",
"@cashu/crypto": "^0.3.4",
"@noble/curves": "^1.3.0",
"@noble/hashes": "^1.3.3",
"@scure/bip32": "^1.3.3",
Expand Down
Loading
Loading