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

wasm: include public blinder to create-wallet #108

Merged
merged 2 commits into from
Oct 28, 2024

Conversation

sehyunc
Copy link
Contributor

@sehyunc sehyunc commented Oct 28, 2024

Purpose

This PR includes the blinder seed derived from a wallet seed so the relayer is able to verify this to prevent blinder frontrunning as described in renegade-fi/renegade#811.

Testing

Tested locally, ensures that wallet is created when blinder seed is included in request, and fails to create when blinder seed is absent.

@sehyunc sehyunc requested a review from akirillo October 28, 2024 18:23
@sehyunc sehyunc merged commit ccf172f into main Oct 28, 2024
1 check passed
@sehyunc sehyunc deleted the sehyun/create-wallet-blinder branch October 28, 2024 22:55
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.

2 participants