What is the purpose of the useEphemeralKeyPair hook and how does it work? #693
Answered
by
kinsflow
DefenceHack
asked this question in
Questions
-
Discord user IDNo response Describe your question in detail.What is the purpose of the useEphemeralKeyPair hook and how does it work? What error, if any, are you getting?No response What have you tried or looked at? Or how can we reproduce the error?No response Which operating system are you using?macOS Which SDK or tool are you using? (if any)TypeScript SDK Describe your environment or tooling in detailNo response |
Beta Was this translation helpful? Give feedback.
Answered by
kinsflow
May 22, 2025
Replies: 2 comments
-
Inside useMemo, it:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
DefenceHack
-
Thanks for your contribution, it helpful |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Inside useMemo, it:
Tries to retrieve an existing key pair.
If none exists, it generates a new one using createEphemeralKeyPair() and commits it to the store.