种子短语,根键和衍生键。.什么可以从什么?
我试图更多地了解如何从初始助记符种子短语中得出的按键。
我认为发生的事情是,从种子短语中,您可以得出“ root Keypair”(我不知道这是正确的术语,但我已经看到它在其他地方使用)。例如,使用Solana CLI,如果您不指定派生路径,或者明确将M/44'/501'作为路径,这就是您得到的。
据我所知,不可能拿起这款根键盘并将种子短语恢复原状(这是根据BIP39标准的一部分设计)。
您也可以通过其他路径来获取其他按键,例如通过M/44'/501/0/1',m/44'/501/1/1',这就是诸如Phantom Wallet应用程序之类的东西会给您作为您的帐户,而不是根。
我不确定的是您是否可以从根键中得出这些额外的按键,或者仅从种子短语中。 t推断任何其他私钥或根键,因为路径被“硬化”。另外,如果某人掌握了您的种子短语,他们可以清楚地得出您的root Keypair,以及所有其他派生的按键,但是,如果有人掌握了根键(但不是种子般的),他们可以从中获得其他帐户吗?
感谢您的帮助!
I am trying to understand a little bit more about how keypairs are derived from the initial mnemonic seed phrase.
What I think happens is that from the seed phrase, you can derive a 'root keypair' (i don't know if this is the right term, but i've seen it used elsewhere). With the Solana CLI for example, this is what you get if you don't specify a derivation path, or explicitly pass m/44'/501' as the path.
As far as i'm aware it isn't possible to take this root keypair and get the seed phrase back (this is by design as part of the BIP39 standard).
You can also pass other paths to get other keypairs eg by passing m/44'/501/0/1', m/44'/501/1/1', and this is what something like the Phantom wallet app will give you as your account, rather than the root.
What i'm not sure on is whether you can derive these additional keypairs from the root key, or only from the seed phrase.. I know that if someone gets hold of one of the non-root derived account private keys, they can't infer anything about any of the other private keys, or the root key, because the paths are 'hardened'. Also, if someone gets hold of your seed phrase they can clearly derive your root keypair, and all other derived keypairs, but if someone gets hold of the root keypair (but not the seedphrase) can they derive other accounts from that?
Thanks for any help!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论