# Mining Mechanism

The mining mechanism of zkAgent is designed to reward participants fairly based on their contributions while maintaining efficient resource use and network stability. Below are its key components:

* Total Mining Output: 45% of the total token supply is allocated to mining rewards, emphasizing the importance of mining in the network's ecosystem.
* Daily Output Limits: Mining rewards for each time period are capped to prevent excessive token issuance. These caps are dynamically adjusted based on the remaining token pool for mining, ensuring long-term reward sustainability.
* Individual Rewards: Rewards for each participant are proportional to their contributions relative to the network's total activity, encouraging equitable participation.

Mining contributions are evaluated through a weighted scoring system, which considers the following factors:

* Computational Power: Rewards nodes based on the performance of their GPUs and other computational resources.
* Energy Efficiency: Prioritizes nodes with high performance-to-energy-consumption ratios, promoting environmentally friendly practices.
* Uptime: Rewards nodes with longer operational hours within a day, incentivizing consistent availability.
* Network Bandwidth: Ensures that nodes with sufficient bandwidth can contribute effectively to the network.
* Latency: Penalizes nodes with high latency to maintain low response times across the network, improving the user experience.

All mined tokens are initially locked to prevent oversupply and maintain controlled token circulation. A portion of these locked tokens is unlocked daily, providing miners with long-term incentives and ensuring a steady token release over time.

Mining rewards are also tied to specific network tasks, further supporting the network's operational and application needs:

* AI Task Execution: A substantial portion of mining rewards is allocated to nodes that contribute to the execution of AI-related tasks and other decentralized applications.
* Conditional Unlocking: Rewards from these tasks are only unlocked upon meeting predefined conditions, such as successful task completion and achieving network utilization benchmarks.

By leveraging these mechanisms, zkAgent fosters a secure, scalable, and reliable decentralized ecosystem, rewarding participants for their meaningful contributions while promoting a healthy balance of resource availability and network performance.


---

# 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://zkagent.gitbook.io/whitepaper/zkagent/zkagent-contract/mining-mechanism.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.
