PyVax .
Python-to-EVM Compiler & Developer Tooling for Avalanche
@public_function
def increment(self):
"""Increment counter."""
self.count = self.count + 1
self.event("Incremented", self.count) - 01ParsePython AST
- 02LowerState & opcodes
- 03EmitEVM bytecode
Live site unavailable when checked on October 29, 2026: https://pyvax.xyz. Source and case study remain available.
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.
What I built
Built Python contract tooling around AST analysis, EVM bytecode generation, ABI output and CLI deployment commands.
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.
Technical decisions
Mapping Python state onto EVM storage slots and 256-bit operations.
Resolving function selectors and jump destinations during bytecode generation.
Defining the supported Python subset and testing contract behavior.
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.