我有一个使用不在分类帐上的 key 的近帐户,以及一个带有近应用程序的分类帐设备。
我想将分类帐中的 key 添加到我的近帐户中。为此,我需要知道与分类帐(某些路径)相关联的公钥。我怎样才能得到这样的公钥?
最佳答案
如果您想生成 key ,您可以使用 near-cli 工具并调用以下命令:
near generate-key key --useLedgerKey="44'/397'/0'/0'/1'"
near generate-key key --useLedgerKey="44'/397'/0'/0'/2'"
您可以在文档中找到更多信息:https://docs.near.org/docs/development/near-cli
关于nearprotocol - 如何从账本设备获取 NEAR 公钥?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64559229/