# Solar Farms

![](/files/0MxqnXnIz63XLCxNo61Y)

## Solar Farms

Liquidity Providers can earn $ASTRO  by locking their LP tokens into a smart contract. This added incentive means to address the risk of [impermanent loss](https://trustwallet.com/blog/what-is-impermanent-loss) that is part and parcel of providing liquidity in a DEX. (Please remember to always do your own research.)

## Calculating the Rewards

The AstroSwap Solar Farm APR calculations include the rewards earned through being a liquidity provider and the rewards earned through staking LP Tokens.

The rewards are generated per block and distributed to each user based on their deposited amount at the end of each block.

For example, in the ADA-ASTRO farming pool, 1 $ASTRO is generated as the reward per block.

After 100 blocks are generated on the Velas chain, 100 $ASTRO are distributed to users based both on the amount they deposited and how long they deposited for.

If Astronaut Kirk deposited 10 ADA-ASTRO LP and Astronaut Yuri deposited 15 ADA-ASTRO LP, of the 100 $ASTRO distributed as rewards, Astronaut Kirk would get 40 ASTRO and Astronaut Yuri would get 60 ASTRO.

As more users lock more LP tokens, the APR will drop according to the proportion in which these new tokens are added.


---

# 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.astroswap.app/products/yield-farming.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.
