# Lithos Protocol

> What Lithos is, how a Lithos payout works, and where to start.

Source: https://lithosprotocol.org/docs/intro

**Level:** Standard

*For anyone considering mining on Lithos. No Ergo or smart contract experience needed.*

Lithos is a decentralized mining pool for the [Ergo](https://ergoplatform.org) blockchain. Miners
combine their hashrate and are paid in proportion to the work they prove they did, which is what any
pool offers. What differs is that Lithos has no operator. The payout rules are smart contracts on Ergo,
every miner produces their own blocks, and no one ever custodies your rewards.

This page explains what Lithos does and how a payout reaches you. For installation, read the
[startup guide](https://lithosprotocol.org/docs/startup-intro).

> **Info: Lithos is live on Ergo mainnet**
>
> The protocol launched on mainnet in October 2026, and the client ships configured for it. Values on
> this page are mainnet values unless marked otherwise.

## How Lithos differs from a traditional pool

The following table compares a Lithos pool against a conventional Ergo pool:

| | Traditional pool | Lithos |
|---|---|---|
| Who holds your rewards before payout | The operator's wallet | No one. A contract holds them |
| Who decides what you are paid | The operator's software | A contract, from proofs you submit |
| Who builds the blocks | The operator's node | Your node, from your own mempool |
| What you trust | That the operator pays honestly and stays online | Nothing. The rules are on-chain |
| Fee | Whatever the operator sets | A maximum of 3% of the block subsidy. You receive Lithos tokens, MEV, storage rent, and more in return. |
| If the pool disappears | Your unpaid balance goes with it | Nothing to disappear. Payouts are contract-driven |

Two of those rows matter more than the rest.

**No custody.** Value destined for miners sits in a contract from the moment a block is found. There is
no operator balance, no minimum payout threshold and no withdrawal step.

**You build your own blocks.** Every Lithos miner runs their own Ergo node and assembles their own
block candidates. Nobody chooses your transactions for you, so the block-production centralization that
comes with a large pool does not apply here.

## How a payout works

A Lithos payout runs in five stages. You take part in stage 2 and stage 3; the rest happens without
you.

1. **A lender posts collateral.** Someone locks 2.915 ERG into a **collateral box**, which any Lithos
   miner is allowed to spend when they find a block. Up to 100 of these boxes are live at any time.
   Lenders are often miners posting their own capital, but they do not have to be.
2. **A miner finds a block.** Before the proof-of-work starts, the finder's client inserts a **genesis
   transaction** into the block candidate. That transaction spends a collateral box and produces a
   **holding box** carrying its value. Inserting it before the proof-of-work is what ties the block to
   Lithos: changing the transaction afterwards would change the block's hash.
3. **Miners submit proofs.** For the next 360 blocks, any miner who worked during the window before
   that block submits one **Non-Interactive Share Proof (NISP)** to the holding box. A NISP is one
   score plus 10 super shares. It is a few kilobytes, and you submit it once, no matter how many
   shares you actually mined.
4. **Anyone can challenge a proof.** For a further 360 blocks, anyone may submit a **fraud proof**
   against a NISP that does not hold up. A disproved NISP is removed and earns nothing.
5. **The box pays out.** Every surviving miner receives `total reward × your score ÷ total score`, in
   both ERG and LIT.

![The four stages of a Lithos rollup: a collateral box is spent, then Holding collects NISPs for 360 blocks, then Evaluation accepts fraud proofs for 360 blocks, then Payout pays each miner by score.](https://lithosprotocol.org/docs-img/rollup-phases.png)

*Every Lithos block starts one rollup, and every rollup ends in a payout.*

Each phase is 360 blocks, about 12 hours on mainnet at Ergo's 2-minute block time.

## What you get paid

You are paid in two currencies:

- **ERG**: the pooled block subsidy. Ergo pays a flat 3 ERG per block, of which at least 2.91 ERG is
  shared among the miners who proved work on that block.
- **LIT**: the Lithos protocol token. Each Lithos block emits new LIT, and most of it is paid to miners
  alongside the ERG.

Your share of both is set by your **score**, not by how many shares you sent. Score is the difficulty
value you commit to on-chain in advance, and it is the single number that decides your payout. The
[startup guide](https://lithosprotocol.org/docs/startup-intro) covers how to choose it.

### What the genesis transaction pays out

Everything a Lithos block distributes happens in one transaction, and you can read it on an explorer.
The following is a real genesis transaction, recorded on testnet before launch. Mainnet genesis
transactions have the same seven outputs, though the LIT amounts depend on the emission schedule at
the time. The collateral box goes in, and seven outputs come out:

![The genesis transaction from testnet block 505,123. One collateral box holding 2.91515 ERG and 1,710 LIT is spent into seven outputs: the holding box that pays the miners takes 2.9109 ERG and 480 LIT, three founder boxes take 0.001 ERG each with 100, 25 and 15 LIT, the lender's permit return takes 0.001 ERG and 1,070 LIT, the finder takes 0.0001 ERG and 20 LIT, and the proof-of-spend box takes 0.00015 ERG and the collateral token. Of the 1,710 LIT, 640 is newly emitted and 1,070 is the returning permit.](https://lithosprotocol.org/docs-img/genesis-outputs.png)

*Almost all of the collateral box reaches the miners, and the transaction balances to zero.*

Three things to read out of it:

- **The miners' share is output 0.** Of the 2.91515 ERG posted, 2.9109 ERG goes to the holding box that
  later pays miners by score. The rest funds the small boxes the other outputs need.
- **The lender's 1,070 LIT is not a reward.** It is their own permit being returned, unchanged, now
  that the box has been used. Only 640 LIT is newly emitted here, and 480 of that goes to miners.
- **There is no fee output.** The transaction is inserted into the block directly, so it pays no
  transaction fee at all.

### Where the 3% goes

The fee is not an operator's cut, because there is no operator. It is the gap between what the block
subsidy is worth and what the lender had to post to claim it.

The lender posts 2.915 ERG on mainnet and receives the block's coinbase, which is the full 3 ERG
subsidy plus every transaction fee in the block. Two consequences worth knowing before you compare
Lithos against a pool's advertised fee:

- **3% is a hard ceiling, enforced by contract.** The contract refuses any collateral box below the
  principal floor, so no miner can ever be charged more than 0.09 ERG of a 3 ERG block.
- **Transaction fees in a Lithos block go to the lender, not to the miners.** Lithos pools the block
  subsidy and nothing else. Fee futures markets enable transaction fee revenue to flow back to block miners
  indirectly through the genesis transaction.

## Two ways to take part

You can mine, lend, or do both.

**Mining** needs a synced Ergo node, the Lithos client, and mining software that supports Ergo's
Autolykos 2 algorithm. You commit to a difficulty, mine, and the client submits your NISPs for you.
[Lithos Launcher](https://github.com/Lithos-Protocol/Lithos-Launcher), a desktop app for Windows and
Linux, installs and runs the node and the client for you. Start with the
[startup guide](https://lithosprotocol.org/docs/startup-intro).

**Lending** means placing collateral into the queue so miners can spend it. A position locks 2.915 ERG
plus a **permit**, which is an amount of LIT held alongside the ERG. Both return to you when a miner
spends the box, along with that block's coinbase. Neither can be withdrawn before then. The client's
web interface handles this; see the collateral pages there.

> **Warning: A queued position cannot be cancelled**
>
> Once collateral is in the queue, the principal and permit are locked until a block spends the box.
> There is no withdrawal path, by design.

## What you need to run Lithos

The following are the minimum requirements for mining on Lithos:

| Requirement | Minimum |
|---|---|
| Java | Java 11 |
| Ergo node | Version 6.0.7 or later, or 6.1.7 or later on the 6.1 line. Indexed and fully synced |
| Memory and disk | 6 to 8 GB of RAM, and 60 GB of free disk for the node |
| Mining software | Any Autolykos 2 miner. [SOAT Miner](https://github.com/blindrun/soat-miner) is open source, has no dev fee, and supports Lithos directly |
| GPU memory | About 6.56 GiB of free VRAM on mainnet, growing with the chain height |
| ERG | At least 0.05 ERG in the node wallet, for your difficulty commitment, submission bonds and fees |

Lithos Launcher installs Java and the Ergo node for you. The [startup guide](https://lithosprotocol.org/docs/startup-intro)
walks through each of these, with the launcher or by hand.

## The client's API and web interface

The Lithos client serves a local HTTP API and a web interface on `http://localhost:9000`. The interface
shows your mined blocks, payments, stratum state, collateral positions and the LithosDex.

The same API is documented, and callable, from these docs. See
[Lithos API](https://lithosprotocol.org/docs/api) to read the endpoints and send test requests to your own client.

> **Danger: Do not expose the client's API**
>
> The Lithos client holds your node's API key and wallet password and can sign transactions. Keep port
> `9000` inside your local network.

## Next steps

- [Startup guide](https://lithosprotocol.org/docs/startup-intro): install and run the client with Lithos Launcher or by hand,
  from nothing to mining.
- [Mining on Lithos](https://lithosprotocol.org/docs/tutorial-basics/mining-on-lithos): how work is proven and scored.
- [LithosDex](https://lithosprotocol.org/docs/lithosdex/overview): trading ERG, LIT and other tokens, providing liquidity, and creating pools, from the client.
- [LFSM](https://lithosprotocol.org/docs/tutorial-basics/lfsm): the contract set that runs the protocol, for readers comfortable
  with smart contracts.
