Solana钱包验证失败



希望有人能更好地向我解释这一点,但我对索拉纳还很陌生。我装了一个新钱包。我运行以下命令。当我运行最后一个命令索拉纳密钥根验证。它失败了。为什么会这样?

keypair file itself, which is stored as insecure plain text
BIP39 Passphrase (empty for none):
====================================================================================
pubkey: At4PCqTxBw3qkfb8ThQgMsc6yuq6SC7mNr8m9gmwk7zC
====================================================================================
Save this seed phrase and your BIP39 passphrase to recover your new keypair:
road leader toilet awful mixed cupboard tragic prepare kingdom glow imitate category
==================================================================================== ```
I run the following commands: 
```PS C:UsersisiahOneDriveDesktopSolana> solana-keygen pubkey prompt://
[pubkey recovery] seed phrase: 
[pubkey recovery] If this seed phrase has an associated passphrase, enter it now. Otherwise, press ENTER to continue: 
4QChrvQC4UDcgQCHbd5JxWBBSUW8JaP8rJcKZ2fiiAno
PS C:UsersisiahOneDriveDesktopSolana>
PS C:UsersisiahOneDriveDesktopSolana> solana-keygen pubkey ASK
[pubkey recovery] seed phrase: 
[pubkey recovery] If this seed phrase has an associated passphrase, enter it now. Otherwise, press ENTER to continue: 
At4PCqTxBw3qkfb8ThQgMsc6yuq6SC7mNr8m9gmwk7zC
Solana-keygen verify At4PCqTxBw3qkfb8ThQgMsc6yuq6SC7mNr8m9gmwk7zC prompt://
[pubkey recovery] seed phrase: 
[pubkey recovery] If this seed phrase has an associated passphrase, enter it now. Otherwise, press ENTER to continue: 
Verification for public key: At4PCqTxBw3qkfb8ThQgMsc6yuq6SC7mNr8m9gmwk7zC: Failed

如果您在下面输入,它能工作吗?

solana-keygen verify 4QChrvQC4UDcgQCHbd5JxWBBSUW8JaP8rJcKZ2fiiAno prompt://

我认为问题是因为您正在验证solana keygen ASK的公钥输出,而不是solana keygen-pubkey prompt://的公钥输出。事实上,如果你从钱包中创建了一个密钥对,它通常会给你一个派生路径为m/44'/501'的公钥。

相关内容

  • 没有找到相关文章

最新更新