Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 1.37 KB

File metadata and controls

38 lines (25 loc) · 1.37 KB

hardware-wallet-cli

A CLI to interact with the Internet Computer App on Ledger Nano S/X devices.

Important Note

Warning

The CLI does NOT support tokens with different than eight decimals at the moment.

Do NOT USE the cli to transfer ckETH or ckERC20 tokens.

Quick Start

  • Install the CLI: npm install -g @dfinity/hardware-wallet-cli
  • Run the CLI: ic-hardware-wallet --help

Development

  • Clone the repository.
  • Run mise install to install the supported version of npm.
    • If you don't have mise install, you can install it with curl https://mise.run | sh
  • Install dependencies with npm install.

To execute a command, you can use npm run execute -- <args>.

For example

  • The command ic-hardware-wallet --network https://nnsdapp.dfinity.network icp balance.
  • Would be npm run execute -- --network http://127.0.0.1:4943 icp balance for development.

USB connection issues with Ledger Live

In order to install the Internet Computer App on your Ledger device or perform the genuine check, you need to first connect your Ledger device with the Ledger Live desktop app running on your computer. If you are facing connection issues when doing so, Ledger provides platform-specific troubleshooting instructions on their support site.