Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.thru.org/llms.txt

Use this file to discover all available pages before exploring further.

The Thru Runtime is the execution environment that processes transactions on the Thru blockchain. It manages the complete transaction lifecycle from validation through execution to state commitment.

Key Components

Transaction Execution

Covers the multi-phase transaction processing pipeline including pre-execution validation, VM execution, and post-execution rules.

Resource Management

Defines the resource metering system with Compute Units (CUs) for instruction execution, Memory Units (MUs) for scratch space allocation, and resource consumption patterns.

Error Handling

Comprehensive error codes organized by transaction lifecycle stage, from validation errors to execution failures and system-level issues.