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

Implement safe API for ecrecover for env #642

Closed
austinabell opened this issue Nov 24, 2021 · 0 comments · Fixed by #658
Closed

Implement safe API for ecrecover for env #642

austinabell opened this issue Nov 24, 2021 · 0 comments · Fixed by #658
Assignees

Comments

@austinabell
Copy link
Contributor

ecrecover is used to recover a secp256k1 public key from a secp signature and a 32-byte message hash that was signed. This probably doesn't have a ton of use cases in NEAR due to the fact that tooling supports ed25519 keys, but maybe for niche use cases this could be useful to sign messages off-chain and be able to submit and verify on-chain later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants