The teachings

Builders

For builders

The public addresses, and what the program does.

Everything the site shows is on Solana mainnet.

Addresses

What the program does

The world is 512 by 512 cells with no edges, cut into tiles of 64 by 64. Each tile lives in two accounts owned by the program: one holds the even breaths and the other the odd ones, with every cell's state and color.

A push is the program's step instruction. It takes one tile and its eight neighbours, runs the Game of Life on that tile, and writes the next breath into the tile's other account. It runs only when the neighbours have caught up, it accepts a signature from any key, and it credits the tile-step to whoever signed. Steps for different tiles write different accounts, so Solana runs them side by side.

A planting is the program's paint instruction. It writes cells and their color into one tile and pays the paint fee to the launch wallet.

Because the world is only these accounts, any Solana RPC node can read it and any wallet can push it. The site is one way to draw it.