【发布时间】:2022-01-13 07:52:09
【问题描述】:
使用 solana cli 创建纸质钱包,然后将助记词运行回 cli 时,我得到了一个完全不同的 pubkey?
我在这里错过了什么?
在这个例子中没有使用密码。
❯ solana-keygen new --no-outfile
Generating a new keypair
For added security, enter a BIP39 passphrase
NOTE! This passphrase improves security of the recovery seed phrase NOT the
keypair file itself, which is stored as insecure plain text
BIP39 Passphrase (empty for none): none
===============================================================================
pubkey: 7A5h8N21EtjAnfcf8kxp7Bd7pNtQ5SvoYHLyBwz2796e
===============================================================================
Save this seed phrase and your BIP39 passphrase to recover your new keypair:
animal flock border attitude simple piece firm reason snack isolate siege seven
===============================================================================
~/.config/solana
❯ 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:
2NW5bHw8dh4rS9wZSPj5u6Xec9tCHEN64PiTPUiy2ms7
【问题讨论】:
标签: solana solana-cli