-
Notifications
You must be signed in to change notification settings - Fork 15
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
Clarifying accounts/keys question #4
Comments
Hi Mike, In general, the app which use the ZKMA/ZKMS has responsibility to own the private key by itself. Due to they are individual App instance, so it can't get the same public key as Zion Vault from getReceviePublicKey() even if you register the wallet by passing the same register parameters. If you want to leverage the same account between Zion Vault and your App, there are two ways can do it.
I hope it helps you. |
Some questions regarding the second option: Is the
Is there a way to test this before going through the NDA and key sharing process? |
Who's the best contact at Zion for kicking off the NDA and key-sharing process? |
Hi Mike, The unique wallet id is the important key entry for accessing seed(private key) on TEE. For example : Zion Vault acquires the unique wallet Id (0x123456) via ZKMA register method, Once your app got the Zion Vault's unique id, you can use it to sign the transacion (TUI for user confirm is needed) Due to it is the violent way to touch the secret from Zion Vault, generally we would not recommend 3rd-party App use it. Alternatively, if your App is just want to do signTransaction (ex : pay ethereum to buy something), you might |
Hi Josh, |
Doesn't look like I'm getting the same address derived from
getReceivePublicKey(60, 0)
as is displayed in the Ethereum wallet of the Zion mobile app. Should apps built using ZKMA/ZKMS share the same keys as the Zion mobile app? Or does the unique ID/sha256 params given when registering change the derived private key used for that instance?I think for my use case, I'd prefer to use the same account users already have (via the Zion mobile app) so the app doesn't have to deal with generating accounts and funding them to onboard users. Is that doable or not intended functionality? Any clarification on this would be appreciated.
The text was updated successfully, but these errors were encountered: