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