A CLI to interact with the Internet Computer App on Ledger Nano S/X devices.
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.
- Install the CLI:
npm install -g @dfinity/hardware-wallet-cli - Run the CLI:
ic-hardware-wallet --help
- Clone the repository.
- Run
mise installto install the supported version ofnpm.- If you don't have mise install, you can install it with
curl https://mise.run | sh
- If you don't have mise install, you can install it with
- 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 balancefor development.
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.