【问题标题】:How to get the NEAR public key from the ledger device?如何从账本设备中获取 NEAR 公钥?
【发布时间】:2021-02-10 00:21:16
【问题描述】:

我有一个使用不在账本上的密钥的 Near 帐户,以及一个带有 Near 应用程序的账本设备。

我想将分类帐中的密钥添加到我附近的帐户。为此,我需要知道与账本(某些路径)关联的公钥。我怎样才能得到这样的公钥?

【问题讨论】:

    标签: nearprotocol


    【解决方案1】:

    如果要生成密钥,可以使用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

    【讨论】:

      猜你喜欢
      • 2021-01-15
      • 1970-01-01
      • 2014-04-01
      • 1970-01-01
      • 2012-01-02
      • 2014-02-16
      • 2012-09-10
      • 2020-03-30
      • 2021-12-03
      相关资源
      最近更新 更多