> For the complete documentation index, see [llms.txt](https://docs.cogitus.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cogitus.io/getting-started/launching-an-l1-devnet-testnet/a-deep-dive-into-precompiles.md).

# A Deep Dive into Precompiles

Precompiles are system-level contracts embedded directly into the Avalanche L1 protocol. Unlike traditional Solidity smart contracts, which are executed within the EVM runtime, precompiles invoke native Go functions, providing access to low-level operations that are gas-efficient and optimized for performance.

#### 📌 What Are Precompiles?

Precompiles serve as a bridge between Solidity and the underlying protocol logic, enabling developers to:

* Interact with blockchain features not natively supported in Solidity
* Execute operations like native token minting, permission changes, and governance role management
* Achieve faster execution with reduced gas costs

They are defined at specific addresses and behave like standard contracts from the perspective of the EVM but are implemented and handled directly by the Avalanche node software.

{% hint style="danger" %}
You must define precompiles during chain initialization in the genesis configuration.
{% endhint %}

To know more about precompile, refer this [documentation link](https://build.avax.network/docs/avalanche-l1s/evm-configuration/evm-l1-customization#precompiles)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.cogitus.io/getting-started/launching-an-l1-devnet-testnet/a-deep-dive-into-precompiles.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
