# Hardhat

**Hardhat** es un entorno integral de desarrollo de Ethereum que abarca todo el conjunto de actividades asociadas al desarrollo de contratos inteligentes y aplicaciones descentralizadas (dApps).

Entre las tareas que podemos realizar con Hardhat se encuentran:

* Editar smart contracts, añadiendo la posibilidad de incluir sentencias `console.log().`
* Compilar smart contracts.
* Depurar errores (debugging).
* Desplegar smart contracts en mainnet, redes de prueba o en una blockchain virtual local.
* Hacer pruebas.

A continuación veremos cómo podemos realizar un flujo completo de creación y despliegue de un smart contract usando Hardhat.


---

# Agent Instructions: 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:

```
GET https://edp.ethkipu.org/modulo-4/toolkit-para-desarrollo-ethereum/toolkit/hardhat.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
