LTO CLI

LTO wallet for the commandline terminal. Great for automating tasks.

Installation

pip install lto-cli

pip is the package installer for Python.

Setup

Manage accounts

lto account create
echo "my seed" | lto account seed --name foobar
lto account list
lto account show 3JuijVBB7NCwCz2Ae5HhCDsqCXzeBLRTyeL
lto account set-default foobar
lto account remove 3JuijVBB7NCwCz2Ae5HhCDsqCXzeBLRTyeL

Public node

lto node set https://nodes.lto.network
lto node show

Information

Balance

Node

Transactions

Anchor

Associations

Data

Data is read as JSON from stdin.

Transfer

Mass-transfer

Recipient/amount pairs are read from stdin.

Burn

Leasing

Sponsorship

Script

Common options

--network

Use --network T or -T to use testnet instead of mainnet. You need to set up accounts specifically for testnet.

--account

Select one of the accounts configured during setup. The account can be referenced by name or address. The name is only known locally. If this option is omitted, the default account is used.

--sponsor

Choose an account to sponsor the transaction. The sponsor will co-sign the transaction and pay the transaction fee.

--no-broadcast

Create and sign the transaction, but don't broadcast it to the node. The JSON will be outputted.

--unsigned

Create the transaction, but don't sign it. This option should only be used in combination with --no-broadcast.

Last updated