wallet-cli import ledger

July 16, 2026 · View on GitHub

Register a Ledger account (watch-only; signs on device).

Synopsis

wallet-cli import ledger --app tron (--index <n> | --path <bip32> | --address <T…>) [--label <l>] [options]

Options

OptionDescription
--app <tron>Ledger app to open, selecting the derivation scheme [required]
--index <number>HD account index to import (mutually exclusive with --path/--address)
--path <string>explicit BIP32 path, e.g. m/44'/195'/0'/0/0
--address <string>known address to locate by bounded scan
--scan-limit <number>indexes to scan with --address (default 20)
--label <string>unique account label, 1-64 chars

Plus global options.

Notes

Creates a watch-only entry; no secret is stored. Requires the device unlocked with the TRON app open. See Ledger guide.

Examples

wallet-cli import ledger --app tron --index 0 --label cold
✅ Registered Ledger account "cold"
  Account ID  wlt_7h2k9d3m
  App         tron
  Path        m/44'/195'/0'/0/0
  Address     TMSgJxtPw29AFEHMXsjGo4kWV7UwbCToHJ

⚠️ No private key is stored locally. Signing requires device confirmation.
wallet-cli import ledger --app tron --index 0 --label cold -o json
{"schema":"wallet-cli.result.v1","success":true,"command":"import.ledger","data":{"status":"created","accountId":"wlt_7h2k9d3m","label":"cold","type":"ledger","index":null,"active":true,"addresses":{"tron":"TMSgJxtPw29AFEHMXsjGo4kWV7UwbCToHJ"},"family":"tron","path":"m/44'/195'/0'/0/0"},"meta":{"durationMs":812,"warnings":[]}}

Output

data carries the newly registered Ledger account — address and derivation path only, no secret. Local command — no chain block.

FieldTypeMeaning
statusstring"created", or "existing" if the account was already registered
accountIdstringStable account id
labelstringAccount label
typestring"ledger" (signs on device)
indexnumber | nullNon-HD account, always null (device index lives in path)
activebooleanBecame the active account
addresses.tronstringBase58 TRON address
familystringChain family of the address (e.g. tron)
pathstringBIP32 derivation path on the device

Exit status

0 success · 1 execution failure · 2 usage error. See machine-interface.

See also

Ledger guide · import watch