# Minare il primo blocco Bitcoin

{% hint style="info" %}
Questo passaggio e' opzionale, potete andare diretti al [Playground overview](/playground-overview.md) per affrontare la parte teorica dell'ambiente di sviluppo.
{% endhint %}

Vi bastera' attivare una bash all'interno di Hansel o Gretel

```
docker exec -ti hansel bash
```

e successivamente minare il primo blocco Bitcoin della vostra personale blockchain di sviluppo

```
bitcoin-cli generatetoaddress 1 $(bitcoin-cli getnewaddress)
```

Dopo qualche secondo, aggiornando la pagina del [*Bitcoin regtest explorer*](http://localhost:8094/)*,* potrete ammirare il vostro blocco appena minato.

Per chi volesse esplorare i dati grezzi di blocchi e transazioni il playground comprende un [blockchain reader](http://localhost:8888/explorer/).&#x20;

{% hint style="info" %}
Senza entrare nei dettagli abbiamo subito toccato con mano il funzionamento dei nodi Bitcoin.\
Adesso vi proponiamo un overview meno pratica e piu' teorica del playground prima di muovere i prossimi passi.
{% endhint %}


---

# 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://playground.bitcoininaction.com/minare-il-primo-blocco-bitcoin.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.
