local-dev-environment

Guides users in setting up Hardhat, Anvil, or AvalancheGo nodes for isolated EVM/Avalanche testing and contract deployment.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps developers establish a local environment for Avalanche, enabling testing, development, and debugging without relying on external testnets or mainnet infrastructure.

Core Features & Use Cases

  • Multiple Setup Options: Provides instructions to configure Hardhat, Foundry Anvil, or AvalancheGo local nodes depending on the development needs.
  • Versatile Testing: Supports running local nodes for contract testing, mainnet forking, and subnet development.
  • Use Case: Imagine a developer needs to test a new contract deployment; they can quickly spin up a local node, connect their wallet, and run tests with real-like chain behavior for efficient development.

Quick Start

Install the necessary tools such as Hardhat, Foundry, and AvalancheGo, then follow the provided commands to initialize local nodes, connect wallets, and deploy test contracts.

Frequently Asked Questions about local-dev-environment

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

FAQPage Schema
How do I set up a local Avalanche development environment for testing smart contracts?

You can set up a local Avalanche development environment by configuring Hardhat, Foundry Anvil, or AvalancheGo nodes. This enables running isolated test environments with configurable network parameters and pre-funded accounts for streamlined contract iteration.

Can I use Hardhat and Anvil for local Avalanche node testing without external testnets?

Yes, Hardhat and Anvil facilitate local Avalanche testing without external testnets. They allow developers to spin up isolated nodes, connect wallets, and execute contract testing using configurable network parameters and pre-funded accounts.

What is the best way to run an AvalancheGo local node for subnet development?

Running an AvalancheGo local node for subnet development involves initializing the node locally to isolate testing from mainnet infrastructure. This provides a real-like chain behavior environment for efficient debugging and mainnet forking.

Do I need AvalancheGo to test EVM contracts locally with minimal resources?

You do not strictly need AvalancheGo to test EVM contracts locally; Hardhat and Anvil are also supported. These options facilitate minimal-resource development workflows by allowing you to spin up local nodes for testing and deployment.

How do I configure pre-funded accounts when spinning up a local Avalanche test environment?

Configuring pre-funded accounts when spinning up a local Avalanche test environment is supported by tools like Hardhat and Anvil. These local node setups provide configurable network parameters to streamline testing and smart contract iteration.

Why use a local Avalanche node instead of a public testnet for contract deployment?

Using a local Avalanche node instead of a public testnet isolates testing and debugging from external infrastructure. It enables configurable network parameters, pre-funded accounts, and real-like chain behavior for efficient smart contract iteration.