evm-foundry

Compile, test, and deploy Solidity smart contracts on Avalanche with Foundry.

Updated May 7, 2026
One-click install
npx skills add https://github.com/Ayomisco/avaxskills --skill evm-foundry-ayomisco
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: evm-foundry
Source: https://github.com/Ayomisco/avaxskills/tree/main/website/public/evm-foundry
Command: npx skills add https://github.com/Ayomisco/avaxskills --skill evm-foundry-ayomisco

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires foundry, cast, forge, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Developers need a fast, reliable toolkit to compile, test, and deploy Solidity contracts on Avalanche efficiently.

Core Features & Use Cases

  • Contract Compilation and Testing: Compile Solidity code with built-in fuzzing and coverage analysis.
  • Deployment and Verification: Script deployments, broadcast transactions, and verify contracts on Snowtrace effortlessly.
  • Use Case: A developer wants to deploy a new token contract on Fuji, running tests locally before deploying to mainnet with automated verification.

Quick Start

Use Foundry to initialize a project, write smart contracts, run tests, and deploy on Avalanche with minimal setup.

Frequently Asked Questions about evm-foundry

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy Solidity smart contracts on Avalanche using Foundry?

Yes, Foundry supports fork testing against Avalanche Fuji or Mainnet. This allows you to compile Solidity code and run tests with built-in fuzzing and coverage analysis securely against the actual chain state.

Do I need Rust-based CLI tools to compile and test Solidity with Foundry?

Yes, you need Rust-based forge and cast CLI tools to interact with the chain. These dependencies are required to compile Solidity code, execute built-in fuzzing, and broadcast deployment transactions.

What is the best way to verify Avalanche smart contracts on Snowtrace after deployment?

The best way to verify Avalanche smart contracts on Snowtrace is using Foundry's automated verification capabilities. After scripting your deployment and broadcasting transactions, the framework verifies contracts effortlessly without manual intervention.

Can I run local tests before deploying to Avalanche Mainnet?

Yes, you can run local tests before deploying to Avalanche Mainnet. The framework enables a rapid workflow where you initialize a project, write contracts, run local tests, and then deploy to mainnet with automated verification.