This repository has been archived by the owner on Oct 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update links to images; get to generation of exhaustive list
- Loading branch information
Showing
79 changed files
with
786 additions
and
246 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
sidebar_position: 2 | ||
sidebar_label: dApp Staking | ||
title: Astar dApp Staking | ||
--- | ||
|
||
## What is dApp Staking | ||
|
||
dApp staking on Astar and Shiden Network introduces a novel approach, empowering individuals to nominate their ASTR or SDN tokens to support dApps building on the network. | ||
|
||
For every block produced on the network, a segment of inflation is specifically allocated to dApp staking. These rewards are then divided between the dApp developers and stakers involved, offering benefits to both developers and stakers. | ||
|
||
As a dApp gains popularity and attracts more stakers, the developers stand to receive a greater share of block rewards. Importantly, the dApp staking program is inclusive, accommodating projects utilizing EVM and Wasm technologies, along with zkEVM dApps. | ||
|
||
For a more detailed explanation of dApp Staking, refer to the comprehensive presentation in the [Learn section] (/docs/learn/dapp-staking/). **LINK TO UPDATE** | ||
|
||
### User & Developers guides | ||
|
||
In the following sections, you'll find all the help you need to interact with dApp Staking as a staker or dApp owner. | ||
|
||
You will also find guides for dApp Staking V2 for reference until the full transition to dApp Staking V3. | ||
|
||
|
||
import DocCardList from '@theme/DocCardList'; | ||
import {useCurrentSidebarCategory} from '@docusaurus/theme-common'; | ||
|
||
<DocCardList items={useCurrentSidebarCategory().items}/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"label": "For Devs", | ||
"position": 2 | ||
} |
33 changes: 33 additions & 0 deletions
33
docs/about/products/dapp-staking/for-devs/create-promotion.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
sidebar_position: 4 | ||
--- | ||
|
||
import Figure from '/src/components/figure' | ||
|
||
# Create a promotion card on top page | ||
|
||
If you have a campaign or new product you would like to share in the community, this will help you spread the news. It will create a card which will be shown on the top of the dApp Staking page as well as the Portal asset page. | ||
|
||
You can create a PR once a month, at most. | ||
|
||
<Figure src={require('/docs/use/how-to-guides/layer-1/dapp-staking/for-devs/img/Promotion_card_3.png').default} width="90%" /> | ||
|
||
# Steps for creating a PR for the promotion card | ||
|
||
- Fork our [astar-apps](https://github.com/AstarNetwork/astar-apps) repository. | ||
|
||
- Find a file [dapp_promotion.json](https://github.com/AstarNetwork/astar-apps/blob/main/src/data/dapp_promotions.json) and put a promotion details there. | ||
|
||
- add a promotion image to [public/images/dapp_promotions](https://github.com/AstarNetwork/astar-apps/tree/main/public/images/dapp_promotions) folder. | ||
|
||
- Create a PR to the <code>release-hotfix</code> branch in [astar-apps](https://github.com/AstarNetwork/astar-apps). | ||
|
||
|
||
:::info | ||
- **Image must be 16:9 and recommended size is less than 1MB**. | ||
- **Description is limited to 65 characters maximum**. | ||
- Your PR will be merged after being reviewed by the dApp Staking operation team. | ||
- Card can be removed at any time, for any reason, at the discretion of the operation team. | ||
- Multiple PRs or more than one PR within a month from the same team will not be approved. | ||
::: | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
import Figure from "/src/components/figure" | ||
|
||
# For Developers | ||
|
||
## Overview | ||
|
||
Discover [dApp Staking] (/docs/learn/dapp-staking/), **LINK TO UPDATE** a unique mechanism that allows communities to support their favorite teams by staking ASTR or SDN with them. When staking ASTR or SDN on a dApp, users not only support the development of innovative apps but also receive staking rewards from inflation. | ||
|
||
You can educate yourself more by reading the technical documentation about [dApp Staking] (/docs/learn/dapp-staking/). **LINK TO UPDATE** | ||
|
||
**Are you a product owner and want to list your dApp in our staking mechanism to earn rewards?** | ||
|
||
Please take the following parameters into consideration and make sure you meet the [requirements](/use/how-to-guides/layer-1/dapp-staking/for-devs/requirements.md): | ||
|
||
:::tip | ||
|
||
Before reading the dApp Staking section for dApp owner, make sure you understand the concept of periods, subperiods and eras, as well as the dApp Staking V3 parameters explained [here] (/docs/learn/dapp-staking/#period--subperiods). **LINK TO UPDATE** | ||
|
||
::: | ||
|
||
### Tier System and Rewards | ||
|
||
dApp Staking introduces the concept of a tier system for dApps. It's important to fully understand the [tier mechanism] (/docs/learn/dapp-staking/dapp-staking-protocol#tier-system) before proceeding with dApp Staking application and registration as a dApp owner. **LINK TO UPDATE** | ||
|
||
Currently, there are **4 tiers** with a limited number of slots per tier. Tier capacity for dApp staking is calculated at the start of each period based on the ASTR price as described [here] (/docs/learn/dapp-staking/dapp-staking-protocol#tier-system). **LINK TO UPDATE** | ||
|
||
The slots allocated to each tier can be viewed on the [dApp Staking Page](https://portal.astar.network/astar/dapp-staking/discover) of the Astar Portal. | ||
|
||
At the end of each **Build&Earn** subperiod, dApps are assigned to a tier based on the total value staked on them by users. Each tier has a **threshold** that a dApp must reach in order to access it. | ||
|
||
The threshold for tier 4 is fixed, but for the other tiers, the threshold is **dynamic** and calculated at the start of each new period based on the total number of slots for the period. To find out more, [click here] (/docs/learn/dapp-staking/dapp-staking-protocol#tier-threshold-entry). **LINK TO UPDATE** | ||
|
||
**Rewards** for dApps are also **dynamic**, fluctuating from tier to tier. The higher the tier, the greater the number of ASTR tokens allocated from inflation as rewards for that tier. | ||
|
||
The rewards of a tier are divided between all available slots and distributed to the dApps occupying slots. This means that the rewards for dApps within a tier are the same for each dApp, even if not all slots within a tier are occupied. | ||
|
||
*Refer to the [dApp staking parameters] (/docs/learn/dapp-staking/protocol-parameters#network-values) page to find out more about the tier system and reward allocation.* **LINK TO UPDATE** | ||
|
||
:::tip | ||
You have to claim your rewards to receive them. We recommend that you claim your rewards at least once a week or, optimistically, 2 or 3 times a week. | ||
|
||
::: | ||
|
||
:::info | ||
|
||
**Example:** | ||
|
||
- Tier 1 has 5 slots for dApps and 50,000 ASTR tokens are allocated as a reward; | ||
- At the end of the voting subperiod, only 3 slots are occupied by dApps in Tier 1 ; | ||
- These 3 dApps will each receive 10,000 ASTR as reward; | ||
- The remaining 20,000 ASTR tokens will not be minted by the network and will be considered burnt; | ||
|
||
::: | ||
|
||
If there are more dApps eligible for a tier than there is capacity, the dApps with the higher score get the advantage. dApps which missed out on a higher tier get priority for entry into the next lower tier (if there still is any). | ||
|
||
In the case a dApp doesn't satisfy the entry threshold for any tier, even though there is still capacity, the dApp will simply be left out of tiers and won't earn any reward. | ||
|
||
:::warning | ||
|
||
In the event that a dApp is **unregistered** from dApp Staking following a governance decision, all developer unclaimed rewards will become unavailable. We recommend that dApp owners claim their rewards regularly. | ||
|
||
::: | ||
|
||
In case you have any questions, please check the [FAQ page] (/docs/learn/dapp-staking/dapp-staking-faq/) **LINK TO UPDATE** in the Learn section or join our [Discord channel](https://discord.com/invite/astarnetwork). | ||
|
||
### Other pages may be of interest: | ||
|
||
import DocCardList from '@theme/DocCardList'; | ||
import {useCurrentSidebarCategory} from '@docusaurus/theme-common'; | ||
|
||
<DocCardList items={useCurrentSidebarCategory().items}/> | ||
|
38 changes: 38 additions & 0 deletions
38
docs/about/products/dapp-staking/for-devs/manage-dApp-Staking.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
--- | ||
sidebar_position: 3 | ||
--- | ||
|
||
import Figure from "/src/components/figure" | ||
|
||
# Manage dApp & claim rewards | ||
|
||
As a dApp owner, a new panel will appear in the Asset page of the Astar portal: **Your Project** ; | ||
|
||
<Figure src={require('/docs/use/how-to-guides/layer-1/dapp-staking/for-devs/img/Project.png').default} width="90%" /> | ||
|
||
By clicking on your dApp in the **Your Project** panel, you will have access to everything related to your dApp, from claiming developer rewards to editing your project information; | ||
|
||
### Your Dashboard: | ||
|
||
- **Curent Tier:** The current tier to which your dApp has been assigned. See [Tier system] (/docs/use/dapp-staking/for-devs/#tier-system-and-rewards) for more information; **LINK TO UPDATE** | ||
- **Number of stakers:** Total of current stakers on your dApp; | ||
- **Total Earned:** Total tokens received in the dApp Staking program; | ||
|
||
<Figure src={require('/docs/use/how-to-guides/layer-1/dapp-staking/for-devs/img/dApp_owner_page.png').default} width="90%" /> | ||
|
||
### Your Rewards: | ||
|
||
Here you can see how many tokens you have earned for past periods and what you still have to `claim`; | ||
|
||
<Figure src={require('/docs/use/how-to-guides/layer-1/dapp-staking/for-devs/img/dApp_rewards.png').default} width="100%" /> | ||
|
||
To claim your tokens, click on the **Claim your rewards** button and sign the transaction with your wallet; | ||
Claiming will release all your pending rewards; | ||
|
||
### Edit: | ||
|
||
- **Edit Project Page:** Allows you to edit information about your dApp Staking projects; | ||
- **Edit your owner info:** If you want to change the registered smart contract address and the address receiving developer rewards ; | ||
- **Add a promotion card:** If you are running a campaign, you can create a promotion card that will be added to the dApp Staking section of the Portal after review; | ||
|
||
<Figure src={require('/docs/use/how-to-guides/layer-1/dapp-staking/for-devs/img/dApp_owner_page_2.png').default} width="85%" /> |
Oops, something went wrong.