Crypto OS
Technical Crypto OSStage 2 · Smart Contract Engineering

Introduction to Stage 2

Smart Contract Engineering. Write, test, and deploy working contracts on EVM and Solana.

The questions this stage addresses

This stage focuses on three fundamental differences between contracts and ordinary backend code:

  1. Public: Anyone can call any entry point, so every public function is an attack surface.
  2. Immutable: You cannot change deployed code unless you designed an upgrade path in advance, and that path introduces its own risks.
  3. Expensive: Storage is scarce. One write can cost a hundred times as much as one computation.

Six chapters

After this stage

You can deliver a fully tested contract deployed to a testnet with verified source code.

Stage artifact: A token contract with comprehensive tests.

Study suggestions

  • T12's mainnet fork testing is this stage's most important skill. It lets you validate code against real state before spending real money.
  • Write failure cases first. Correct rejection matters more than correct execution in contracts.
  • Mainnet deployment belongs in the capstone, after the security stage. This stage does not involve it.

On this page