Core Modules

Three deterministic migration engines. One unified mission: eliminate legacy technical debt.

// 01
JavaScript TypeScript TSX

🐲 Web3.js v4 Evolution

A 100% deterministic JS-AST strike that migrates legacy Web3.js v1 patterns to modern v4 modular syntax.

Named Export Migration

Transforms default exports to named exports with strict module structure.

Constructor Enforcement

Enforces strict `new` constructors for all provider and signer instances.

Event Signature Healing

Automatically fixes malformed event signatures and topic filters.

Provider Pattern Updates

Migrates legacy provider patterns to Web3.js v4's modular architecture.

Example Transformation
// Before (Legacy)
const Web3 = require('web3');
const web3 = new Web3('http://localhost:8545');

// After (Modern)
import { Web3 } from 'web3';
const web3 = new Web3(provider);
// 02
JavaScript TypeScript BigInt

⚡ Ethers v6 Math Sentinel

Symbol Table-aware math refactor. Safely swaps BigNumber methods for native BigInt operators with zero risk.

Type-Aware Transformations

Traces variable types through the entire AST before making any changes.

BigInt Operator Migration

Converts .add(), .sub(), .mul(), .div() to native +, -, *, / operators.

Comparison Operators

Migrates .eq(), .gt(), .lt(), .gte(), .lte() to ==, >, <, >=, <=.

Safety First

If we can't verify the type, we don't touch it—absolute zero false positives.

Example Transformation
// Before (Ethers v5)
const balance = await provider.getBalance(addr);
const formatted = balance.div(1e18).toString();

// After (Ethers v6)
const balance = await provider.getBalance(addr);
const formatted = (balance / 1n).toString();
// 03
Python Ape Framework Smart Contracts

🐍 Brownie to Ape Architect

The official path for Python smart contract evolution. Deterministically transforms Brownie projects to the modern Ape Framework.

Import Transformations

Converts Brownie's global imports to Ape's explicit package imports.

Account Management

Migrates Brownie's account-centric patterns to Ape's account ecosystem.

Contract Deployment

Transforms Brownie deployment syntax to Ape's modular deployment.

Testing Framework

Converts Brownie tests to Ape's pytest integration with proper fixtures.

Example Transformation
# Before (Brownie)
from brownie import accounts, interface
account = accounts[0]
token = interface.IERC20(addr)

# After (Ape)
from ape import accounts, project
account = accounts[0]
token = project.Token.at(addr)

Built on Industry Standards

AST-Grep

Deterministic pattern matching using Abstract Syntax Tree analysis.

Codemod CLI

Code transformation engine powered by AST manipulation.

Syntax Verification

Automated node/python validation after every transformation.

Workflow Engine

Multi-phase orchestration with dependency resolution.