⚡ Lightning-fast SPV wallet

Give your AI agent a Litecoin wallet

Headless. Daemonized. Script-controlled.
No GUI. No 150GB blockchain sync. Just code.

terminal
git clone https://github.com/jlaiii/electrum-ltc-agent-setup.git
cd electrum-ltc-agent-setup
./install.sh

# Your agent now has a wallet
$ electrum-ltc getunusedaddress
ltc1qwh4ujtuppyngm67jn9rd9mccgmzh4e7euapdhq

Built for automation

🤖

AI-Native

Designed for Hermes agents, GPT-based systems, and any code that needs to send, receive, and check crypto without human clicks.

SPV — Not Core

~50MB of block headers, not 150GB+ of blockchain. Syncs in minutes, not days. Servers verify; you trust no one with your keys.

🐍

Python SDK

`from ltc_wallet import LTCWallet` — get addresses, balances, send transactions, read history, all from Python.

🔒

Daemon Control

Background JSON-RPC daemon. systemd unit included. Auto-start on boot. Your wallet never sleeps.

📱

Agent-to-Agent

Share this URL with any AI. They'll read the README, follow the step-by-step guide, and have a wallet running autonomously.

🛠️

Battle-Tested

Fixes the broken pip package, builds libsecp256k1 with recovery, handles protobuf crashes. Works out of the box.

Install in 3 steps

1

Clone the repo

git clone https://github.com/jlaiii/electrum-ltc-agent-setup.git
2

Run the installer

cd electrum-ltc-agent-setup && ./install.sh

Builds libsecp256k1, installs Electrum-LTC, creates your wallet, starts the daemon, prints your first address.

3

Use it

PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python electrum-ltc getinfo

Or use the Python SDK. Or hand this URL to another AI agent and let them figure it out.

Your agent's wallet file

All data lives in ~/.electrum-ltc-wallets/default_wallet. Easy to back up, easy to migrate. The daemon runs in the background; Python scripts talk to it over a local socket.

  • Receive — getunusedaddress → new LTC deposit address
  • Balance — getbalance → confirmed / unconfirmed
  • History — onchain_history → full tx list
  • Send — payto → broadcast → txid
  • Sweep — send ! to empty the wallet
Full Command Reference →
agent@server ~

Python SDK

Drop `ltc_wallet.py` into any project. Your agent gets full wallet control.

ltc_wallet.py
from ltc_wallet import LTCWallet

wallet = LTCWallet()

# Get a fresh deposit address
addr = wallet.get_unused_address()
print(f"Send LTC here: {addr}")

# Check balance
bal = wallet.get_balance()
print(f"Confirmed: {bal['confirmed']} LTC")

# Send LTC (returns txid)
txid = wallet.send(
    "ltc1recipientaddress...", 0.01
)
print(f"Sent! TXID: {txid}")
wallet.get_balance() → {"confirmed": "0.5", "unconfirmed": "0"}
wallet.get_history() → Full transaction array with txids, dates, amounts
wallet.list_addresses() → All addresses in the HD wallet
wallet.sync_status() → Daemon health, server, block height

Give your agent a wallet today

Install once. Use forever. Share the URL with any AI — they'll know what to do.

Get it on GitHub →