Run a LarzChain node
Your computer, part of the network โ discovering peers, syncing the chain, relaying blocks.
A LarzChain node is a small Python program. It has zero dependencies (Python 3.8+), and once running it finds the network on its own.
git clone https://github.com/larz-scripter/larzchain
cd larzchain
python3 -m larzchain node --persist chain.jsonIt fetches the seed list, handshakes with peers, and syncs the most-work chain. Behind a home router it stays synced but won't accept inbound connections โ that's fine. To run a public node others connect to, advertise your URL and open the port:
python3 -m larzchain node --public-url https://your-server:9333 --persist chain.jsonWatch it
Every node reports its own status:
curl http://127.0.0.1:9333/health # height, peers, version, errors
curl http://127.0.0.1:9333/metrics # Prometheus format
curl http://127.0.0.1:9333/debug # recent errors + peersThere's a full guide with a systemd unit and a Dockerfile, and the wire protocol if you want to build a compatible node.
FAQ
Only to run a public node others connect to. A node behind a home router still stays fully synced by pulling from peers โ it just can't accept inbound connections.
It's lightweight, but pure-Python signature validation is slow, so the initial sync of a long chain takes a while. Day-to-day it's cheap.
No โ Larz is zero-dependency. Python 3.8+ is all you need; git clone and run.