LarzChain › Run a LarzChain node
Node operators

Run a LarzChain node

Your computer, part of the network โ€” discovering peers, syncing the chain, relaying blocks.

โš ๏ธ Experimental testnet. LARZ is not an investment, has no promise of value, and may be worth nothing. There is no sale โ€” coins exist only by mining. Nothing here is financial advice.

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.json

It 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.json

Watch 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 + peers

There's a full guide with a systemd unit and a Dockerfile, and the wire protocol if you want to build a compatible node.

FAQ

Do I need to open a port?

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.

Does it use much resource?

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.

Is there anything to install?

No โ€” Larz is zero-dependency. Python 3.8+ is all you need; git clone and run.

Join the testnetPure-Python blockchainMiningGitHub