near-api-js
near-api-js copied to clipboard
How to use Ledger hardware wallet with near-api-js
I see it proposed at https://github.com/near/near-api-js/issues/259#issuecomment-810631769
Is there any way to use Ledger with near-api-js?
I also found https://github.com/near/near-ledger-js/, but I haven't found documentation about any possible relationship between that repo and this one.
Thanks.
Is there any way to use Ledger with near-api-js?
Currently the only implementation I'm aware of is in near-cli
- using the --useLedgerKey
flag in conjunction with a command requiring signing will prompt on a connected ledger.
There is a PR under review to unblock development of this functionality that will require a major release, as the methods around retrieving keys must be asynchronous to support hardware keystores. Once released we will be able to implement a new LedgerKeyStore
as referenced in #259
This is on the backlog for near-api-js
in Jira but I don't believe it was synced via Exalate.
@andy-haynes Thanks for the update!