precompiles

Configure and interact with Avalanche Subnet-EVM precompiles for blockchain development.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a detailed reference for configuring and utilizing Avalanche Subnet-EVM precompiles, enabling developers to harness native on-chain functionalities securely and effectively.

Core Features & Use Cases

  • Precompile Reference: Detailed descriptions of fixed addresses like NativeMinter, FeeManager, and WarpMessenger.
  • Configuration Guidance: Instructions for enabling and managing precompiles within subnet genesis configurations.
  • Use Case: Developers can correctly deploy and interact with precompiles on Avalanche subnets to mint tokens, restrict contract deployers, or enable cross-chain messaging.

Quick Start

Review the configuration options and ensure the relevant precompiles are enabled before deploying your smart contracts to Avalanche subnet networks.

Frequently Asked Questions about precompiles

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

FAQPage Schema
How do I configure precompiles in an Avalanche Subnet-EVM genesis file?

To configure precompiles, you must enable and manage them within the subnet genesis configuration. This process involves specifying allowed addresses and setting roles to securely deploy and interact with native on-chain functionalities.

What are the fixed addresses for native precompiles on Avalanche EVM subnets?

Avalanche EVM precompiles use fixed addresses like NativeMinter, FeeManager, and WarpMessenger. These addresses provide specialized native functionalities for blockchain developers interacting with the subnet.

How do I use the NativeMinter precompile to mint tokens on an Avalanche subnet?

You use the NativeMinter precompile by enabling it in your subnet genesis configuration and assigning the appropriate minting roles. This setup allows developers to securely mint native tokens directly on-chain.

Can I restrict smart contract deployers on an Avalanche subnet using precompiles?

Yes, you can restrict contract deployers by configuring the relevant precompiles within the subnet genesis configuration. This setup ensures only authorized addresses are permitted to deploy smart contracts to the network.

What security best practices should I follow when configuring Avalanche precompiles?

Security best practices for Avalanche precompiles include carefully managing role assignments and enabling only necessary precompiles within the genesis configuration. This approach minimizes attack surfaces and ensures safe on-chain interactions.

When do I need to enable the WarpMessenger precompile for cross-chain messaging?

You need to enable the WarpMessenger precompile when your subnet requires cross-chain messaging capabilities. It must be explicitly configured in the genesis before deploying contracts to facilitate secure communication.