Skip to content

Contracts Tutorial

Contracts are Earth-side programming jobs. They are closer to puzzle problems than factory automation.

A machine script usually changes the planet. A contract script reads the contract data, computes an answer, and sends it back. The reward comes from correctness, not from keeping a production loop running. Contract state is contained, and a wrong answer is safe to inspect and retry.

Read the briefing first. Then inspect the available contract data from the script. Work out the answer in small steps and print intermediate values while you are learning the shape of the data. When the answer is ready, use the transmitter workflow described in the contract and DOCS.

Contracts and Harvesting test different skills, so neither is universally harder. Contracts avoid routes, heat, cargo, and multi-machine recovery, but ask for more abstract reasoning with loops and collections. They are a good choice when you want a focused coding puzzle and a bigger one-time payout. If a contract feels too abstract, leave it and build the base for a while; it will still be there later.

  • Contracts: the full workflow guide
  • Contract: the type reference with all 15 contract APIs

Reading Errors and Console Output