Skip to content
Blockchain Association of Cameroon
BAC-L2-AVAX-112AvalancheExpert

Custom virtual machines I — concepts

Leaving the EVM model behind: defining for yourself what a transaction, a block and a state transition mean in your domain.

Level
L2Appchain developer
Duration
4 h
Track
Avalanche
Maintainer
Avalanche Lead Architect

Learning objectives

  • 01Describe the interface a virtual machine must implement
  • 02Design a transaction model specific to a domain
  • 03Decide between a bespoke VM and a customised EVM

Guided lab

Walk through an existing minimal virtual machine and map its entry points.

Independent lab

Specify a virtual machine for a land-title registry: transactions, state, validity rules.

Security angle

Writing your own virtual machine means re-assuming guarantees the EVM was providing for free.

Assessment

Specification reviewed on the completeness of its validity rules.