LTO Network
  • Getting started
  • What is LTO Network?
  • Tutorials
    • Buying and staking LTO
      • Exchanges
        • Binance
        • AscendEX (Bitmax)
        • Uniswap
        • PancakeSwap
        • Other exchanges
      • Creating your LTO web wallet
      • Using the LTO token bridge
      • Staking LTO tokens
    • Mining
      • Setup your node wallets
      • Node management
      • Public community nodes
    • Anchoring
      • Hashing
    • LetsFlow
  • Wallets
    • LTO Web Wallet
      • Using Ledger
    • Universal Wallet
    • LTO CLI
    • Third-Party Wallets
      • Stakely.io wallet
        • Web wallet
        • Commandline
    • ERC20 Token Swap
  • Running a node
    • Public node
      • Installation Guide
        • Mainnet & Testnet
        • Requirements
        • Configuration
        • (Virtual) Machine
        • Nginx reverse proxy (optional)
        • Troubleshooting FAQ
      • Cloud installation
        • Alibaba Cloud
        • AWS Elastic Beanstalk
        • Google Cloud
        • IBM Cloud
        • Microsoft Azure
        • OKD (OpenShift)
        • Raspberry Pi (Expert)
        • Ubuntu Linux with Container
        • Windows with Container
      • REST API
        • Address
        • Wallet
        • Lease Transactions
        • Peers
        • Blocks
        • Utils
        • FAQ
      • Security Notes
      • FAQ
      • Exchange integration guide
    • Anchor node
      • Installation Guide
        • Linux
        • MacOS
        • Windows
      • REST API
    • Identity node
      • Installation guide
        • Linux
        • MacOs
        • Windows
      • Configuration
        • Trust network
      • REST API
    • Workflow node
      • Installation Guide
        • MacOS
        • Windows
        • Ubuntu Linux
      • REST API
  • Ownables
    • What are Ownables?
    • Making your first ownable
    • Ownables SDK
      • Prerequisites
      • Setup
    • Ownables Architecture
      • Smart Contract
      • Widget
    • Ownables Bridge
  • Libraries
    • JavaScript
      • Accounts
      • Transactions
      • Event chain
      • Messages
      • Identities
      • HTTP Authentication
    • Python
      • Accounts
      • Public layer
    • PHP
      • Accounts
      • Identities
      • Public layer
      • Private layer
      • HTTP Authentication
      • Commandline scripts
    • Java
  • Protocol
    • Cryptography
    • Accounts
      • ED25519
      • secp256k1
      • secp256r1
    • Identities
      • Decentralized identifiers (DID)
      • Trust network
      • Verifiable credentials
    • Public layer
      • Transactions
        • Transfer
        • Lease
        • Cancel Lease
        • Mass Transfer
        • Set Script
        • Data
        • Anchor
        • Association
        • Revoke Association
        • Sponsorship
        • Cancel Sponsorship
        • Register
        • Burn
        • Mapped Anchor
        • Statement
      • Transaction fees
      • Consensus protocol
      • Activation Protocol
      • Data Structures
    • Private layer
      • Event chain
        • Event
      • Messaging
        • Sending messages
Powered by GitBook
On this page
  • Use a Ledger device with the CLI Wallet
  • Send LTO through a Ledger device using the CLI Wallet
  1. Wallets
  2. Third-Party Wallets
  3. Stakely.io wallet

Commandline

How to use a Ledger device with LTO Network on the commandline

PreviousWeb walletNextERC20 Token Swap

Last updated 3 years ago

Use a Ledger device with the CLI Wallet

It was the first interface for this Ledger hardware wallet app. It consists of an executable that autodetects your device showing a list of possible tasks.

These executables can be downloaded here, make sure you download the correct binary and most recent for your platform (Windows, Linux, macOS):

Once you have the executable downloaded, double-click it, and a command prompt will appear. Don't be afraid of the console, you won't need to write any command! This is a fairly easy way to use the wallet, you just need to enter the numbers and transaction fields.

There are six possible options to choose which are self-explanatory.

Let's see an example of how to send LTO with this CLI Wallet:

Send LTO through a Ledger device using the CLI Wallet

You should have your Ledger device with the LTO Network app selected and the Cli wallet opened:

We first need to get our public key and address from the Ledger device, so put a 1 in the console and press enter.

A message asking for a BIP-32 path will show up, just click enter. We are going to use the default path in this tutorial.

Then, our public key and address will appear on the screen:

Now that we have this data, we can proceed to send a transaction. In this tutorial, I will do a transfer, so input a 2 and press enter.

A pop-up message asking for a path will emerge: just press enter.

Then it will ask you for a public key. You need to paste the public key we have fetched in the previous step; after that, press enter.

Note that in Windows, to copy something on the console, you need to select the text you want to copy and press enter. Then, to paste, just do a right-click on the console.

The CLI Wallet will ask you for a recipient. Paste the address you want to send LTO and press enter.

In the next step, you need to introduce how many LTOs you want to send. Press enter and it will try to sign this data with your Ledger device.

The Ledger device will display on its screen the transaction data: recipient, fee, amount, transaction ID, and your address.

Always double-check that the data shown by your Ledger device coincide with the data on the console.

Once you have validated the data, press the accept transaction button. You will see on the CLI Wallet that the transaction was signed:

Press Try it out! and there should not be errors in the Response Body

Finally, we need to broadcast this transaction. To do that, copy everything between brackets (included) and paste it here:

If you want to track your transaction, paste the id value from the Response Body on the explorer:

https://nodes.lto.network/api-docs/index.html#!/transactions/broadcast
https://explorer.lto.network
https://github.com/iicc1/ledger-app-lto/releases