Loading video player...
Why plan a migration before you rewrite contracts? A targeted audit prevents surprises, preserves test coverage, and makes Anchor parity measurable and automatable. What you'll learn: This lesson shows how to inventory a Hardhat or Foundry repository and turn that inventory into a prioritized migration plan for Anchor. You will identify concrete artifacts (Solidity contracts, compiled artifacts and caches, tests written with Mocha/Chai or Forge, deployment scripts and fixtures, typechain outputs, and CI pipeline definitions), locate their file paths and tooling versions, and map each to an Anchor/Rust equivalent or a documented custom approach. The lesson explains how to translate build and test workflows into Anchor workspace elements, capture runtime assumptions (keypair/secret handling, network configs, and containerized toolchains), and define measurable success criteria such as build reproducibility, test coverage parity, and deployment automation. Who this is for: Intermediate developers and engineering leads who already understand EVM toolchains (Hardhat/Foundry) and want a structured, testable plan to migrate to Anchor on Solana. Prior experience with Node-based build scripts, CI pipelines, and basic Rust/Anchor concepts is helpful. Key topics covered: - How to create an explicit inventory: files, paths, and runtime assumptions for contracts, tests, fixtures, and CI - Mapping artifacts: Solidity/TypeChain -⟩ Anchor/Rust client equivalents and gaps that require custom tooling - CI and environment parity: keypair/secret handling, containerized Anchor toolchains, and reproducible builds - Defining migration success criteria: build reproducibility, test coverage parity, and deployment automation - Prioritizing tasks: estimating effort, producing a migration checklist, and converting inventory items into actionable work - Examples of mapping commands and artifacts from Hardhat/Foundry to Anchor workspace elements Ready to produce a prioritized migration plan and checklist for your repository? Begin your migration journey and access more resources at https://www.forge.college/