> For the complete documentation index, see [llms.txt](https://docs.hg.network/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hg.network/farm-wa-kuang-bang-zhu/untitled/defi-wa-kuang-yu-qi-ta-wa-kuang-de-yi-tong.md).

# DeFi挖矿与其他挖矿的异同

目前区块链挖矿分为很多种：

首先分为需要硬件和不需要硬件的两类。

需要硬件的，一般是要做一些特殊计算的挖矿，比如以比特币为代表的POW共识挖矿。也有POC，使用硬盘存储空间，而不是消耗计算性能的挖矿。也可以归为基于需要特殊硬件的挖矿之列。

不需要硬件的，如果挖矿是基于链上进行的，更多的是一种质押或者Staking。

如果是公链本身的挖矿，一般是质押公链本币，比如 EOS 的Staking，做超级节点，也可以获得 EOS。

如果不是公链本身的 Staking，就是 DeFi 挖矿所用的形式了。这种形式，有以下特点：

A、不是公链出块本身的奖励，公链本身奖励是主币，比如 以太坊是 ETH。但是随着所在公链出块，也伴随着新Token的分发。

B、矿池的所有操作，包括抵押、解压、收益计算、收矿等，全部基于智能合约来实现，矿池信息、用户资产信息也保存于链上

C、Staking 的币种可以多种，可以是单币，也可以是基于DEX的流动性LP，根据需要调整，包括各个矿池的权重也可以调整。

还有一些基于钱包的，但是不在区块链上的Staking 挖矿，这属于中心化的币理财了，虽然同样是抵押币种获得收益，这不应该属于挖矿的范围。请注意加以区分。


---

# 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.hg.network/farm-wa-kuang-bang-zhu/untitled/defi-wa-kuang-yu-qi-ta-wa-kuang-de-yi-tong.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.
