Migration Guide Generator Between Major Versions
Free to download on every platform. Comes pre-installed on BotFone, BotPad and BotFlip — with extra free apps included.
About this app
WHAT IT DOES
This tool connects to your EVM wallet and generates migration guides by comparing two versions of smart contract source code. It reads old and new contract source code to identify differences in functions, events, modifiers, and state variables. The tool automatically detects added, removed, and modified components, categorizes breaking changes, and provides step-by-step migration recommendations. It highlights changes in function signatures, visibility, mutability, parameters, and return types.
HOW TO USE
Connect your Web3 wallet using the Connect button. Paste the old version source code in the Old Version Source Code field. Paste the new version source code in the New Version Source Code field. Enter the version labels (e.g., v1.0.0 and v2.0.0). Click "Generate Guide" to produce the migration guide. Click "Load Sample" to populate fields with example contract versions. Results appear in the Results card with a summary of changes found, breaking changes count, and migration status, followed by detailed migration steps organized by breaking and non-breaking changes.
TECHNICAL MECHANISM: SOURCE CODE DIFFERENTIAL ANALYSIS
The tool uses regular expression pattern matching to parse both contract versions and extract key contract components. It extracts function signatures including name, parameters, visibility, mutability, and return types. It also extracts events, modifiers, and state variables. The tool then performs a differential analysis by comparing the sets of components from both versions. Functions are compared by name, with detailed diffs for visibility, mutability, parameters, and return types. Events are compared by name and parameter lists. Modifiers and state variables are compared for addition or removal. Changes are categorized as breaking (removals, signature changes) or non-breaking (additions). The tool generates structured migration steps with recommendations for each change type.
WHAT IT CANNOT SEE
This tool cannot automatically identify all breaking changes or semantic differences—some changes may be breaking even if not detected by signature comparison. It cannot verify that migration steps are complete or correct—the tool provides guidance but does not validate the migration. It cannot generate migration guides for contracts without clear version markers or source code—both versions are required. It relies on source code parsing and may miss subtle incompatibilities—the tool does not analyze bytecode or inheritance chains. It cannot test or validate migration paths—the tool only generates recommendations. It cannot handle contracts with complex inheritance or dependency changes—the tool focuses on the contract itself.
PLEASE NOTE
This is a read-only tool—it never signs transactions. All data is processed in-memory and never persists. The tool supports EVM chains only—Ethereum, Polygon, BSC, Arbitrum, Optimism, Avalanche, Base, and Fantom. Migration guides are generated based on static analysis—always test migration paths thoroughly. The tool helps identify potential issues but does not replace comprehensive testing or code review.