The codex · technical reference

Pearl, byte by byte.

Twelve groups, from hex and hashes to the matrix math that mines blocks. Every page shows real mainnet bytes and is checked against Pearl's source code.

Groups
12
Pages
83
Verified
pearl v1.5.2

New to Pearl? The beginner guide tells the whole story in about an hour, with no hex. Not sure where to start here? Follow a learning path.

Coming from Bitcoin?
  1. § 01

    Bytes & numbers

    Hex, bytes, byte order and the little length prefixes everything uses.
    5 pages
  2. § 02

    Cryptography

    Hash functions, Merkle trees, elliptic curves, signatures and zero-knowledge proofs.
    8 pages
  3. § 03

    Matrix math

    The arithmetic AI runs on, and the reason Pearl can mine with it.
    7 pages
  4. § 04

    Keys & addresses

    From a random number to a prl1 address, and the 12 words that back it up.
    9 pages
  5. § 05

    Transactions

    Inputs, outputs, witnesses and fees, read byte by byte.
    10 pages
  6. § 06

    Script

    The tiny language that locks every coin: Taproot, P2MR and OP_RETURN.
    6 pages
  7. § 07

    Blocks

    The 108-byte header, its proof commitment and the certificate that rides in front.
    9 pages
  8. § 08

    Mining

    Proof of useful work: matrices, noise, tickets and the target.
    9 pages
  9. § 09

    Difficulty

    Targets, bits and WTEMA, the rule that retunes after every block.
    4 pages
  10. § 10

    Emission

    How 2.1 billion PRL are issued on a smooth curve, with no halvings.
    3 pages
  11. § 11

    Blockchain

    Heights, the most-work chain, reorganizations, forks and checkpoints.
    6 pages
  12. § 12

    Networking

    Nodes, peers, magic bytes, messages and light clients.
    7 pages

Learning paths

Read the codex in order.

All paths, page by page

Suggested

Up and down arrows move through the results, Enter opens one, Escape closes. Anywhere on the site, slash or Command K opens this search, and the square brackets [ and ] go to the previous and next page.