Website catalogue: 151 chains. Current AI connection: 14 chains; approved accounts only.

Foundations

Execution models: contracts, scripts and predicates

Lesson: Reviewed Sep 16, 2026 Next review due Sep 16, 2027.

Some chains run contracts: code stored in an account executes against shared account state when a transaction calls it. Others attach a script or predicate to each unspent output: a spend supplies a solution or witness that the script checks, and a predicate can return conditions that constrain which outputs are consumed or created. Both support programmable transactions, but programmers must understand each model's creation, consumption and cross-transaction constraints rather than assuming the other model.

Key idea. The application goal may be similar while the state transitions and validation rules differ.

Example

A signed trade that settles both assets in one transaction constrains the exchange on-chain. Whether an off-chain service was satisfactory still requires evidence beyond the on-chain exchange.

Keep in mind

Sources

  1. Chia CLVM versus EVM (external site)
  2. Ethereum accounts (external site)
  3. Ethereum scaling: offchain scaling and rollups (external site)
  4. Bitcoin Developer Guide: Transactions (external site)
Provenance

Shared fundamentals v1.0.1 execution and layer-scope clarification reviewed 2026-09-16; rewritten 2026-09-28 in v1.1.0 to name no chain. The script source is reused from a member chain's profile. No live metrics or ranking.

Related lessons

Report an error in this lesson