> For the complete documentation index, see [llms.txt](https://doc.cryptostone.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.cryptostone.org/crypto-stone/crypto-stone-wp-jp/purotokorukitekucha/34mainingu.md).

# 34. 分散型マイニング構造

CryptoStoneにおいて、採掘はサーバーが代わりに実行する方式ではない。ユーザーは自分が希望するストーンプールにSTONXをステーキングし、時間の経過によってPoM値が当該プールの必要閾値に到達すると、claimGem()のようなコントラクト関数を直接呼び出してGem NFTを受け取る。

1. ユーザーがSTONXを保有する。
2. 希望するストーンプールを選択する。
3. STONXをステーキングする。
4. マイニングパワーが発生する。
5. 時間の経過とともにPoM値が蓄積される。
6. PoM値が必要閾値に到達するとclaimGem()を呼び出す。
7. コントラクトが採掘可能かどうかを検証する。
8. 検証可能なランダム値で属性を生成する。
9. Gem NFTを発行する。
10. NFTがユーザーウォレットへ転送される。

この過程において、中央サーバーが宝石を発行したり属性を指定したりすることはない。採掘条件と結果はコードによって決定される。

スマートコントラクトは自ら自動実行されるわけではない。しかし、誰でもコントラクトを呼び出すことができ、コントラクトは事前に定められた条件に従って結果を検証し実行する。したがって、CryptoStoneの採掘構造は中央サーバーなしでも作動できる。

開発者は、この構造において重要なのは「サーバーがない」という事実ではなく、「サーバーがなくてもユーザーが直接コントラクトを呼び出し、定められた規則に従って採掘結果を受け取れる」という点であると考える。


---

# 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://doc.cryptostone.org/crypto-stone/crypto-stone-wp-jp/purotokorukitekucha/34mainingu.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.
