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

NUT-07: Token state check with Y #93

Merged
merged 4 commits into from
Mar 12, 2024
Merged

NUT-07: Token state check with Y #93

merged 4 commits into from
Mar 12, 2024

Conversation

callebtc
Copy link
Contributor

@callebtc callebtc commented Mar 7, 2024

Instead of using secret in the token state check, we use Y.

This allows third parties to check the state of a token for which they have received the Y without being able to spend it.

Wallets that know secret can compute Y by Y = hash_to_curve(secret).

Closes: #91

Copy link
Collaborator

@gandlafbtc gandlafbtc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

07.md Outdated Show resolved Hide resolved
Co-authored-by: thesimplekid <tsk@thesimplekid.com>
Copy link
Collaborator

@thesimplekid thesimplekid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK ab5c141

@callebtc callebtc merged commit dd68ce8 into main Mar 12, 2024
@callebtc callebtc deleted the nut-07-use-Y branch March 12, 2024 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NUT-07 – Allow token state check with Y
3 participants