# ⛏️ Staking and Mining

{% hint style="info" %}
DeFi farmers can stake crypto assets (liquidity pairs) and mine Commodity Tokens.
{% endhint %}

## Staking and Mining

If one player wants to mine commodities by himself, he is supposed to stake some crypto assets into the staking pools. (Alternatively, players who are not interested in staking, can buy commodities from the market directly.)

![](/files/8fuDi7ITjiNOUGJsKA2E)

Depending on the volatility and some other factors, Light Year's smart contracts assign one mutiplier to every staking pool. Players obtain "power" based on the pool's multipliers and their locked value in the pools.

*Power* = *ValueOfPool\_0 \* MutiplierOfPool\_*&#x30; +*ValueOfPool\_1 \* MutiplierOfPool\_1 + ...* +*ValueOfPool\_N \* MutiplierOfPool\_N*

A player's base's production rates of all commodities are proportional to the player's totally obtained power from staking, which displays in the bottom-left corner of the screen.

![](/files/TodEVxEVOQ42rgG2ivQG)

## Upgradeable Items

By consuming commodities, players are able to upgrade various items in their base. These upgradeable items are managed in 3 tabs: **Production, Research, and Defense.**

Certain items may enhance the production rate of certain commodities. For instance, a research item called "Nuclear Transmutation" may increase the production rate of GOLD by 10%.


---

# 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://docs.lightyear.game/getting-started/staking-and-mining.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.
