Skip to content

Commit

Permalink
docs: updated operator - delegated staking doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Bobinstein committed Mar 11, 2024
1 parent ccfe3af commit b5150a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/gateways/ar-io-node/delegated-staking.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ permalink: "/gateways/delegated-staking"

## Overview

Gateway operators can choose to allow other people to stake tokens on their gateway. This is called "delegated staking", and it increases the number of tokens staked, which increases the likelihood of a gateway being chosen as an observer and potentially receive additional rewards for a given epoch (assuming that the gateway's observer is working properly). To incentivize this, you can set a portion of your gateway and observer rewards to be given to the people who stake on your gateway.
Gateway operators can choose to allow other people to stake tokens on their gateway. This is called delegated staking, and it increases the number of tokens staked for a given gateway. The additionally staked tokens result in a greater `stakeWeight` for the gateway - increasing it’s likelihood chosen as an observer and potentially receive additional rewards for a given epoch (assuming that the gateways observer is working properly). To incentivize this, you can set a portion of your gateway and observer rewards to be given to the people who stake on your gateway.

By default, delegated staking is disabled. You will need to enable it, and configure your settings, by running the `update-gateway-settings` script from the [testnet contract repo](https://github.com/ar-io/testnet-contract).

Expand Down Expand Up @@ -53,7 +53,7 @@ You will need a small amount of AR in this wallet, in addition to the IO tokens,
You will need to edit the script to give it the correct information for when it runs. You can do this by opening the file, located at `testnet-contract > tools > update-gateway-settings.ts` in any code or text editor. Once you have the file open, you will need to look for these lines:

```ts
// Enable or disable delegated staking. If true, other token holders can delegate their stake to this gateway
// Enable or disable delegated staking. If true, other token holders can delegate their stake to this gateway
// const allowDelegatedStaking: boolean = true;

// Number between 0-100 indicating the percent of gateway and observer rewards given to delegates eg. 30 is 30% distributed to delegates
Expand Down

0 comments on commit b5150a8

Please sign in to comment.