Skip to content

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

License

Notifications You must be signed in to change notification settings

dfinity/hardware-wallet-cli

Repository files navigation

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 node >= 18.13.0.
  • Install the CLI: npm install -g @dfinity/hardware-wallet-cli
  • Run the CLI: ic-hardware-wallet --help

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.

Development

Clone the repository.

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.