[←] RETURN TO ARCHIVE
PRJ-01 Compilers & Developer Tools 1st Runner-Up
ENVIRONMENT: Avalanche C-Chain

PyVax .

Python-to-EVM Compiler & Developer Tooling for Avalanche

01 / Python → EVMCompiler anatomy
Counter.py repository excerpt
@public_function
def increment(self):
    """Increment counter."""
    self.count = self.count + 1
    self.event("Incremented", self.count)
  1. 01ParsePython AST
  2. 02LowerState & opcodes
  3. 03EmitEVM bytecode
SLOAD 54 · ADD 01 · SSTORE 55Avalanche ↗
Pipeline illustration. Opcode key, not execution output. Read source ↗
ROLE Compiler & CLI developer
TARGET NETWORK / VM Avalanche C-Chain
STATUS Open-source compiler prototype
CONTENT REVIEWED October 2026

Live site unavailable when checked on October 29, 2026: https://pyvax.xyz. Source and case study remain available.

01 // PROBLEM & MOTIVATION

Why I built it

Writing an EVM contract usually means adopting a new language and toolchain. PyVax explores a Python-based path to contract development on Avalanche.

02 // INDIVIDUAL CONTRIBUTION

What I built

Built Python contract tooling around AST analysis, EVM bytecode generation, ABI output and CLI deployment commands.

03 // ARCHITECTURE & PIPELINE

How it works

The repository uses PythonASTAnalyzer to collect contract state and functions, then EVMBytecodeGenerator to emit initialization and runtime bytecode. The CLI also contains a Solidity compilation path. This is a prototype, not an audited contract compiler.

ACTIVE TECHNOLOGIES & CRATES:
PythonAST ParsingEVM OpcodesAvalanche C-ChainClick CLIWeb3.py
05 // CHALLENGES & TRADEOFFS

Technical decisions

01

Mapping Python state onto EVM storage slots and 256-bit operations.

02

Resolving function selectors and jump destinations during bytecode generation.

03

Defining the supported Python subset and testing contract behavior.

06 // IMPACT & VALIDATION

Results and reported recognition

Placements are owner-reported. Event and project links provide context, not independent award certification.

  • 1st Runner-Up at AVAX Kolkata, owner-reported.
  • Published source includes Python example contracts, AST analysis, opcode generation and CLI tooling.
  • No independent compiler audit or performance benchmark is claimed.