Modernize your entire Web3 frontend stack in one command. Automatically migrates wagmi v1→v2, ethers v5→v6, and RainbowKit v1→v2 with zero false positives
Migrate your entire Web3 frontend stack in one command. This codemod simultaneously upgrades wagmi v1→v2, ethers v5→v6, and RainbowKit v1→v2 — the three most interdependent libraries in a typical Ethereum frontend — without breaking the connections between them.
The Problem
Upgrading wagmi, ethers, and RainbowKit independently is error-prone. These libraries share types, provider patterns, and configuration objects that change in lockstep. Running three separate migrations in sequence leaves the codebase in a broken intermediate state on every pass. This codemod treats the full stack as a single atomic migration.
Supported Migrations
Library
From
To
Status
wagmi
v1
v2
Deterministic
ethers
v5
v6
Deterministic
@rainbow-me/rainbowkit
v1
v2
Deterministic + AI cleanup
The codemod reads your package.json and runs only the migrations that apply to your project. If you only have wagmi and ethers (no RainbowKit), only those two transforms run.
Run this from the root of your project. The codemod will detect your stack, apply all safe transforms, and flag the remaining edge cases with TODO comments for the AI skill to handle.