> For the complete documentation index, see [llms.txt](https://docs.xenblocks.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.xenblocks.io/mining/mining-xnm-with-xenblocks.md).

# Mining XNM with XenBlocks

## Mining process

XNM serves as the incentive token awarded for participating in the Proof of Work (PoW) mining process.

Hashing operations demand hardware with significant computational capabilities, such as GPUs. Miners have the option to purchase GPUs, which are well-suited for the memory-intensive cryptographic hashing algorithm [Argon2](/technicals/argon2.md), allowing for efficient mining even with mid-range GPUs. Alternatively, individuals can opt to rent GPUs at affordable rates—often just a few cents per hour—through platforms like vast.ai that facilitate access to shared GPU resources.&#x20;

<figure><img src="/files/0LCpNuYttgTJDDoU265H" alt=""><figcaption></figcaption></figure>

To [begin mining](/mining/how-to-mine-xenblocks.md), users simply need to deploy the mining script and monitor its efficiency over time. An important metric for assessing mining efficiency is h/s/usd, which measures the number of hashes generated per second relative to the cost incurred. Upon successfully solving a hash and discovering a block, the X1 network confirms its validity and rewards the miner with XNM for each block found.&#x20;

Various community made tools have been made to help optimize the mining of XenBlocks. Here tr4vler made performance bot which plugs into your GPUs and monitor their performance over time.

<figure><img src="/files/u4XUabXac7jAnliuum3I" alt=""><figcaption></figcaption></figure>


---

# 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.xenblocks.io/mining/mining-xnm-with-xenblocks.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.
