Legacy Core is the official full-node, CLI, miner, and desktop wallet for Legacy Coin (LBTC) — a CPU-friendly Yespower Proof-of-Work cryptocurrency.
Download the latest release from GitHub Releases.
Windows:
Extract the ZIP → double-click START_HERE.bat → wallet opens
Or run the node manually:
legacycoind.exe
legacycoin-cli getblockchaininfo
Linux:
tar -xzf LegacyCore-LBTC-mainnet-linux-amd64-*.tar.gz
chmod +x legacycoind legacycoin-cli
./legacycoind
./legacycoin-cli getblockchaininfomacOS:
tar -xzf LegacyCore-LBTC-mainnet-macos-amd64-*.tar.gz
chmod +x legacycoind legacycoin-cli
./legacycoind
./legacycoin-cli getblockchaininfoVerify integrity: Compare SHA256 checksums against
SHA256SUMS.txtbefore running.
git clone https://github.com/legacybtc/LegacyCore.git
cd LegacyCorePrerequisites: Go 1.22+, Node.js LTS, MSYS2 UCRT64 with GCC.
- Install MSYS2, open MSYS2 UCRT64, run:
pacman -S --needed mingw-w64-ucrt-x86_64-gcc - Open Command Prompt in the repo folder, run:
build-windows.bat
Produces: legacycoind.exe, legacycoin-cli.exe, cmd\legacywallet\build\bin\LegacyWallet.exe
To skip the desktop wallet:
build-windows.bat -SkipWails
Prerequisites: gcc, golang-go, git
sudo bash scripts/build-linux.shAlso supports cross-compilation:
# Build for ARM64
sudo bash scripts/build-linux.sh arm64
# Build with custom output dir
sudo bash scripts/build-linux.sh amd64 ./my-binariesProduces: legacycoind, legacycoin-cli
Prerequisites: Xcode Command Line Tools (clang), Go 1.22+
bash scripts/package-macos.sh v1.0.35 amd64For Apple Silicon (ARM64):
bash scripts/package-macos.sh v1.0.35 arm64Produces: dist/LegacyCore-LBTC-mainnet-macos-*.tar.gz
make build # daemon + CLI + internal wallet
make test # run Go tests
make vet # run Go vet
make clean # remove build artifacts
make linux-arm64 # cross-compile daemon + CLI for ARM64One-command update for production nodes:
sudo bash scripts/server/update-node.shBacks up current binaries, builds from source, verifies mainnet identity, stops old daemon, installs new binary, restarts, and verifies RPC is alive. Generates a rollback script and build evidence.
Connect to the Legacy Coin network by specifying seed peers on first run:
legacycoind run -seed-peersThe daemon will discover peers from DNS seeds (legacycoinseed.space, legacycoinseed2.space) and maintain a local peer database. You can also manually add known nodes:
legacycoin-cli addnode 192.168.1.131:19555 addNote: Legacy Core uses Yespower Proof-of-Work. Old SHA256d peers (v1.0.20–v1.0.30) are on a different chain — the daemon will ignore their headers (expected) and sync blocks from them via the INV flow. Sync reaches chain tip reliably.
| Field | Value |
|---|---|
| Coin | Legacy Coin / LBTC |
| Genesis hash | 5b4c78e4556afcd51acf7b9eb2e387fbea2d1414e6042d80d38e6256987154f5 |
| P2P port | 19555 |
| RPC port | 19556 |
| DNS seeds | legacycoinseed.space, legacycoinseed2.space |
| yespower | LegacyCoinPoW (cgo-c-reference) |
| Data dir | %APPDATA%\LegacyCoin (Windows) / ~/.legacycoin (Linux/macOS) |
Verify any build:
legacycoind params
Solo CPU mining from CLI:
legacycoin-cli setminerthreads 4
legacycoin-cli startminer
legacycoin-cli getminerstatusOr use the Mining tab in the desktop wallet.
The desktop wallet includes a Legacy AI Workstation — accessible from the AI tab in the sidebar:
- Chat — Ask about your node, sync, mining, peers, balance, or storage
- Image Gen — Free AI image generation (Pollinations.ai, no API key)
- Code Agent — Execute allowlisted CLI tools with
/commands - Research — DuckDuckGo web search with AI analysis
- Provider switching — Built-in AI (offline) / Groq (free cloud) / llama.cpp (local GPU)
No Python, no LangChain, no cloud API required. Privacy-first — wallet secrets are never exposed to AI.
- Keep RPC port (
19556) private — never expose to the internet - P2P port (
19555) may be public - Never share wallet backups, private keys, seed phrases, or RPC credentials
- Verify SHA256 checksums before running binaries
- Legacy AI is read-only advisory — it cannot spend coins, sign transactions, or control the node
| Directory | Purpose |
|---|---|
cmd/legacycoind/ |
Full node daemon |
cmd/legacycoin-cli/ |
RPC command-line client |
cmd/legacywallet/ |
Wails desktop wallet (Go + React) |
internal/ai/ |
Legacy AI Companion (providers, tools, web search) |
internal/p2p/ |
Peer-to-peer networking |
internal/rpc/ |
JSON-RPC server |
internal/mining/ |
Solo CPU miner |
internal/wallet/ |
Wallet operations |
internal/blockchain/ |
Chain state and validation |
scripts/ |
Build, deploy, smoke test, and verification scripts |