How LarzChain works
A from-scratch proof-of-work blockchain, explained module by module.
Keys & addresses
Pure-Python secp256k1 ECDSA with RFC-6979 deterministic signatures, compressed
public keys, and base58check L… addresses — the Bitcoin cryptographic stack,
no C libraries.
UTXO transactions
Like Bitcoin, a transaction spends previous outputs and creates new ones. Each input is signed over a hash that commits to the whole transaction, so nothing can be altered after signing. Amounts are in sparks (1 LARZ = 100,000,000 sparks).
Proof-of-work & consensus
Blocks are found by grinding a nonce until the SHA-256d header hash meets the target. Difficulty retargets to hold a 120-second block time. Nodes follow the chain with the most cumulative work and reorg onto a heavier branch when one appears.
Money supply — the 90/10 split
Every block mints a subsidy (50 LARZ, halving every million blocks) that splits 90% to the miner, 10% to a public on-chain airdrop pool. This split is a consensus rule enforced by every node — see the airdrop page. The total supply can never exceed 100,000,000 LARZ.
Network
A minimal P2P node gossips new blocks and transactions and pull-syncs from peers over HTTP/JSON. A Larz-framework block explorer and web wallet read it live.