Virtual Machine

The core of Phantasma is built with powerful support for flexibility and customization, and this required the creation of a custom virtual machine to execute both transactions and contracts.

The Phantasma Virtual Machine is on a way comparable to Ethereum Virtual Machine (EVM), in a way that both execute custom code that spends "gas", altough Phantasma implementation is separated and built from zero.

Architecture

Architecture

Types

Types

Opcodes

Opcodes

Assembler

Assembler

Interop

Interop

Last updated