# How does Pearl work?

> A plain-English tour of Pearl: a shared ledger, coins locked to keys, transactions, blocks, and miners who prove their work with matrix math.

Source: https://pearlcodex.com/beginners/how-pearl-works/ · Last updated: 2026-10-20 · Checked against Pearl's source code at v1.5.5

Pearl is money that no company runs.

There is no bank holding the accounts and no server you log in to. Instead, a network of ordinary computers keeps one shared record of who owns what, and every one of them checks the rules for itself.

This page walks through the whole idea once, start to finish. Each later page zooms in on one part.

## What is Pearl, in one sentence?

[Pearl](https://pearlcodex.com/glossary/#pearl) is a shared [ledger](https://pearlcodex.com/glossary/#ledger) whose coins, called [PRL](https://pearlcodex.com/glossary/#prl), move only when their owners sign for them, and whose new pages are added by miners who prove they did a large amount of matrix math.

That sentence packs in five ideas: a ledger, coins, owners, pages and miners. Let’s take them one at a time.

## Who keeps the ledger?

Picture a notebook that lists every payment ever made. Now picture that notebook copied onto computers all over the world, with every copy kept up to date.

Each of those computers is a [node](https://pearlcodex.com/glossary/#node). Anyone can run one, because the software is free. A node receives new payments, checks them against the rules, and passes them on.

No node is in charge. If one tries to cheat, the others notice when they check its work, and they ignore it.

## What is a coin, really?

There are no coin files. A PRL is an entry in the ledger that says, in effect, “this amount, locked so that only the owner of a certain key can spend it”.

Amounts are counted in [grains](https://pearlcodex.com/glossary/#grain). One PRL is 100,000,000 grains, the way a dollar is 100 cents. At most 2.1 billion PRL will ever exist.

## How do you own coins?

Ownership comes down to one secret number, your [private key](https://pearlcodex.com/glossary/#private-key). Your wallet picks it at random, and it is so large that nobody can guess it.

From the private key, your wallet computes a [public key](https://pearlcodex.com/glossary/#public-key), and from that an [address](https://pearlcodex.com/glossary/#address) you can share, which looks like `prl1p…`. Coins sent to that address can only be spent with a signature made by your private key.

Think of the address as the slot of a mailbox anyone can drop coins into, and the private key as the only key that opens the box.

## How do coins move?

To pay someone, your wallet writes a [transaction](https://pearlcodex.com/glossary/#transaction): spend these coins of mine, and create new ones, some for my friend and the rest back to me.

It signs the transaction with your private key and hands it to a node, which checks it and passes it on. Within seconds most of the network has a copy, waiting to be recorded.

## How do payments get into the ledger?

Waiting payments are collected into a [block](https://pearlcodex.com/glossary/#block), a new page of the ledger. Pearl aims to add one block every 194 seconds, a little over three minutes.

Each block names the block before it by its fingerprint, called a [hash](https://pearlcodex.com/glossary/#hash). That chains the pages together. Change anything on an old page and its fingerprint changes, which breaks the link from every page after it. That’s why the whole ledger is called a [blockchain](https://pearlcodex.com/glossary/#blockchain).

## Who gets to add the next block?

Anyone could try to write the next page, so Pearl needs a fair way to pick one writer at a time. It runs a lottery in which the tickets cost real work. The people and machines doing that work are [miners](https://pearlcodex.com/glossary/#miner).

In Bitcoin, the work is guessing: miners try an enormous number of guesses until one produces a lucky hash. That protects the network, but it’s useless for anything else.

Pearl’s work is [matrix multiplication](https://pearlcodex.com/glossary/#matrix-multiplication): multiplying big grids of numbers, the same math that runs AI models such as chatbots. Small patches of each answer become lottery [tickets](https://pearlcodex.com/glossary/#ticket), and a ticket that comes in under the network’s target wins the block.

## How does everyone know the work was done?

Redoing a miner’s multiplication to check it would take far too long. Instead, the winner sends a [certificate](https://pearlcodex.com/glossary/#certificate) along with the block: about 60 KB of proof that travels in front of it.

Inside is a [zero-knowledge proof](https://pearlcodex.com/glossary/#zero-knowledge-proof). It convinces any node that the winning ticket really came from honest matrix work, without revealing the matrices themselves. A node checks it in milliseconds.

> **Note: Is the mining work actually useful?**
>
> It can be. Pearl’s official miner multiplies the matrices of a real AI model while that model answers requests. But Pearl’s rules can’t tell a real AI layer from random numbers, so they don’t require it. Usefulness is a possibility, not a guarantee, and the matrix math page looks at this honestly.

## What keeps the rhythm steady?

Miners join and leave all the time. Without an adjustment, blocks would speed up whenever more machines joined.

So after every block, Pearl retunes the [difficulty](https://pearlcodex.com/glossary/#difficulty): a little harder if that block came quickly, a little easier if it came slowly. The result is a steady heartbeat of about 194 seconds.

## Where do new coins come from?

The winning miner is paid in two ways: the fees of the transactions it included, and brand-new PRL created by the block itself.

That new amount started at about 3,229.64 PRL in block 1 and shrinks a tiny bit with every block. The total creeps toward 2.1 billion but never quite gets there.

## What happens to one payment, start to finish?

Here is the whole journey of a single payment, simplified.

1. **Your wallet signs**

   It writes a transaction spending some of your coins and signs it with your private key.

2. **Nodes check and share**

   Each node checks it, keeps it in a waiting room, and passes it on.

3. **A miner wins a block**

   A miner includes your payment, multiplies matrices until a ticket wins, and attaches the certificate.

4. **Nodes check the block**

   Every node verifies the transactions and the certificate, then adds the block to its copy.

5. **Blocks pile on top**

   Each new block after yours makes your payment harder to undo.

**Make a guess:** Pearl has no company in charge. So who stops someone from spending the same coins twice?

**Answer:** Every node, on its own.

Each node keeps its own copy of the ledger and refuses any transaction that spends coins already spent. A miner who sneaks one into a block gets the whole block rejected, and loses the reward along with it.

- **Coin:** PRL
- **Smallest unit:** grain 100,000,000 grains = 1 PRL
- **Maximum supply:** 2.1 billion PRL
- **Target time per block:** 194 seconds
- **Block header:** 108 bytes no nonce
- **First block:** 2026-04-27

> **Pearl vs Bitcoin: If you already know Bitcoin**
>
> Same ledger model, keys and signatures. The big differences:
>
> - **The work** is matrix multiplication, proven by a zero-knowledge certificate. The header is 108 bytes with no nonce, and the block hash is never compared with the target.
> - **The pace** is one block every 194 seconds, with difficulty retuned after every block.
> - **The coins** are 2.1 billion PRL, issued on a smooth curve with no halvings.
> - **The addresses** are only prl1p… (Taproot) and prl1z… (P2MR). There are no legacy formats.

Next up: the network of nodes, and why nobody has to trust anybody.

## In short

- Pearl is a shared ledger of who owns which PRL, copied and checked by many independent computers called nodes.
- Coins are entries in that ledger, locked to keys. Your private key lets you sign a transaction that moves them.
- Transactions are collected into blocks, one about every 194 seconds, and each block points to the one before it.
- Miners win the right to add a block by multiplying matrices, the math AI runs on, and prove it with a certificate any node checks in milliseconds.
- New PRL appear in every block on a smooth, shrinking curve, up to 2.1 billion in total.

## Read the code

- [The 108-byte block header, with no nonce](https://github.com/pearl-research-labs/pearl/blob/v1.5.5/node/wire/blockheader.go#L14-L41) `node/wire/blockheader.go:14-41`
- [Mainnet timing and difficulty settings (194 s, one-week constant)](https://github.com/pearl-research-labs/pearl/blob/v1.5.5/node/chaincfg/params.go#L354-L362) `node/chaincfg/params.go:354-362`

## Sources

### Pearl source

- [Pearl source code at v1.5.5](https://github.com/pearl-research-labs/pearl/tree/v1.5.5)

### Pearl docs

- [Pearl INT whitepaper](https://pearlresearch.ai/research/int-whitepaper)
- [Proof of Useful Work from the Ground Up (Pearl Research Labs blog)](https://pearlresearch.ai/research/blog/proof-of-useful-work)
