Deterministic hardware wallet appPrivateKey
generation
#2352
kyranjamie
started this conversation in
General
Replies: 2 comments 2 replies
-
@kyranjamie Which restrictions apply to hardware wallets? Which keys are available? Do different wallets support different derivation functions? |
Beta Was this translation helpful? Give feedback.
1 reply
-
📞 2022-04-14 @friedger @janniks @markmhx @aulneau and I had a call to run through the current approach to supporting hardware wallets, where we also discussed some ideas of how to support Gaia and Creating an accompanying software private key
Possibly deprecating auth v1
RPC direction for Wallet protocol SIP
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
To support hardware wallets in the Hiro Wallet, with the same functionality we do software wallets, we must return an
appPrivateKey
to a given app when authenticating.This key is used by app to:
For software wallets, the
appPrivateKey
is derived from the "identities keychain", or thedataPrivateKey
, from them/888'/0'
derivation path.See @stacks/wallet-sdk implementation →
This implementation relies on the
dataPrivateKey
, which is not accessible on a hardware wallets. Consequently, we need to consider alternate means to deterministically deriving such a key.cc/ @kantai @zone117x @markmhx @andresgalante @beguene
Beta Was this translation helpful? Give feedback.
All reactions