Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: links to Vara network #63

Merged
merged 1 commit into from
Dec 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/account/create-account.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ You've now successfully created a new account using the polkadot.js browser exte

If you need access to your accounts on a mobile device, then you can use the following mobile wallets for the Polkadot/Kusama ecosystem:

[![img alt](./img/subwallet-logo2.png)](https://subwallet.app/)
[![img alt](./img/subwallet-logo2.png)](https://subwallet.app/)

[![img alt](./img/nova-logo.png)](https://novawallet.io/)

Expand All @@ -142,7 +142,7 @@ And then `import` the generated seed phrase into any convenient wallet.
2. Go to https://polkadot.js.org/apps, allow this web application to interact with Polkadot extension in the prompt window.
:::

- To see your account in the Vara Network format, just go to https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frpc.vara-network.io#/accounts.
- To see your account in the Vara Network format, just go to https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frpc.vara.network#/accounts.
- The address will be shown in the Vara format (with `kG…` or `kD…` prefix). Copy the address if you want to share it with someone.

![img alt](./img/pdjs-vara-account.png)
Expand All @@ -167,4 +167,4 @@ And then `import` the generated seed phrase into any convenient wallet.

#### How to get your address in the Vara Network format?

> The Vara address prefix is 137. To see your account in the Vara Network format, just go to https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frpc.vara-network.io#/accounts
> The Vara address prefix is 137. To see your account in the Vara Network format, just go to https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frpc.vara.network#/accounts
18 changes: 9 additions & 9 deletions docs/staking/nominate.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Being a nominator does not require running your own node or worrying about onlin

Vara offers a user-friendly staking dashboard, inspired by the Polkadot staking dashboard, that simplifies the process of staking and nominating validators.

1. To begin your VARA token staking journey, visit our staking dashboard at **[staking.vara-network.io](https://staking.vara-network.io/)**.
1. To begin your VARA token staking journey, visit our staking dashboard at **[staking.vara.network](https://staking.vara.network/)**.
2. Once on the staking dashboard, connect your account and navigate to the "Nominate" section.
3. Click the `Start Nominating` button.

Expand Down Expand Up @@ -76,7 +76,7 @@ SubWallet enables VARA staking in a few clicks. See how it's done with the examp

### Via Polkadot.\{js\} app

Go to the Polkadot.\{js\} app, navigate to the Network → Staking → [Accounts](https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frpc.vara-network.io#/staking/actions) section, and click `+ Nominator`:
Go to the Polkadot.\{js\} app, navigate to the Network → Staking → [Accounts](https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frpc.vara.network#/staking/actions) section, and click `+ Nominator`:

1. Select the stash and controller accounts, along with the amount of value you wish to bond. You can see in the screenshot what Stash and Controller accounts are. If you have not created your controller account, you can use the same one for both.

Expand All @@ -101,7 +101,7 @@ These pools enable users to join forces by pooling their VARA tokens together on

### Via Vara Staking Dashboard

1. Navigate to the 'Pools' section in the [Vara Staking Dashboard](https://staking.vara-network.io/#/pools) and click the `Join` button:
1. Navigate to the 'Pools' section in the [Vara Staking Dashboard](https://staking.vara.network/#/pools) and click the `Join` button:

![stake pool vara](./img/stakepool-vara-1.png)

Expand Down Expand Up @@ -163,28 +163,28 @@ Pool staking rewards are not claimed automatically by default. You have to perio
![stake pool polkajs](./img/stakepool_subwallet_8-2.jpg)

:::note
This instruction is also valid for using this app on Laptop/Desktop devices via **[this link](https://polkadot.js.org/apps/?rpc=wss://rpc.vara-network.io#/staking/pools)**.
This instruction is also valid for using this app on Laptop/Desktop devices via **[this link](https://polkadot.js.org/apps/?rpc=wss://rpc.vara.network#/staking/pools)**.
:::

## Rewards and Withdrawals

[Payouts](https://staking.vara-network.io/#/payouts) represent staking rewards on Vara and depend on the accumulation of 'Era Points' by your nominated validators over time. These rewards are determined at the end of each Era, which spans 12-hour periods.
[Payouts](https://staking.vara.network/#/payouts) represent staking rewards on Vara and depend on the accumulation of 'Era Points' by your nominated validators over time. These rewards are determined at the end of each Era, which spans 12-hour periods.

### Direct Nomination Rewards

To claim staking rewards, a Payout needs to be requested (Claimed). Any nominator supporting the relevant validator can initiate this request. **One request** triggers the reward payout for **all nominators**. Consequently, for most nominators, payouts are received **automatically**.

As per the user's staking options, rewards will either automatically bond with the current bond or can be sent to the stash, controller, or an external account.

The [Nominate](https://staking.vara-network.io/#/nominate) section of the Vara Staking Portal provides an overview of Bonded Funds and Nominator Status. Additionally, it offers a `Claim` option for available Pending Payouts.
The [Nominate](https://staking.vara.network/#/nominate) section of the Vara Staking Portal provides an overview of Bonded Funds and Nominator Status. Additionally, it offers a `Claim` option for available Pending Payouts.

![nomnate overview](./img/nominate-rewards.png)

Depending on the interface used for staking, the available options may vary.

### Pool Nomination Rewards

Unlike direct nominators, [Pool](https://staking.vara-network.io/#/pools) members are required to **manually claim** their rewards.
Unlike direct nominators, [Pool](https://staking.vara.network/#/pools) members are required to **manually claim** their rewards.

Users have two choices for claiming rewards:

Expand All @@ -201,7 +201,7 @@ To perform transactions (such as claiming, withdrawing, unlocking, and others),

When users require their tokens to be transferable, they must unstake them first.

- For direct nominators, click the `Unstake` button in the [Nominate](https://staking.vara-network.io/#/nominate) section.
- As a [Pool](https://staking.vara-network.io/#/pools) member, click `Manage` and then select the `Leave pool` option. Your funds will be unbonded, and your account will exit the nomination pool.
- For direct nominators, click the `Unstake` button in the [Nominate](https://staking.vara.network/#/nominate) section.
- As a [Pool](https://staking.vara.network/#/pools) member, click `Manage` and then select the `Leave pool` option. Your funds will be unbonded, and your account will exit the nomination pool.

Once unbonded, users' funds will be unlocked **after 7 days**. Users must click the `padlock` icon to withdraw their funds to their wallet.
2 changes: 1 addition & 1 deletion docs/staking/validate.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ The output will have a hex-encoded `result` field. Copy and save it!

Once your node is live, synchronized, and appears in telemetry, and session keys are prepared, it's time to set up the validator.

Go to Polkadot.\{js\} app and navigate to Network → Staking → [Account actions](https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frpc.vara-network.io#/staking/actions) section and click `+Validator`:
Go to Polkadot.\{js\} app and navigate to Network → Staking → [Account actions](https://polkadot.js.org/apps/?rpc=wss%3A%2F%2Frpc.vara.network#/staking/actions) section and click `+Validator`:

Choose your stash and controller accounts and specify your stake amount. It's recommended to utilize distinct accounts both stash and controller.

Expand Down
22 changes: 11 additions & 11 deletions docs/staking/validator-faqs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,25 @@ Here is a list of frequently asked questions about running a Vara validator node

## What is Vara Network?

[Vara Network](https://vara-network.io/) is a fast and scalable Layer-1 decentralized network powered by [Gear Protocol](https://gear-tech.io/).
[Vara Network](https://vara.network/) is a fast and scalable Layer-1 decentralized network powered by [Gear Protocol](https://gear-tech.io/).

Links:
- Official site: https://vara-network.io/
- Official site: https://vara.network/
- Block Explorer: https://explorer.vara-network.io/
- Vara Wiki: https://wiki.vara-network.io/
- Vara Wiki: https://wiki.vara.network/
- Node Telemetry: https://telemetry.rs/
- Tokenomics: https://wiki.vara-network.io/docs/tokenomics/
- Whitepaper: https://whitepaper.gear-tech.io/
- Tokenomics: https://wiki.vara.network/docs/tokenomics/
- Whitepaper: https://whitepaper.gear.foundation/
- Gear Wiki: https://wiki.gear-tech.io/
- Gear Foundation: https://gear.foundation/

## What are the public RPC endpoints?

- RPC Node:
- `wss://rpc.vara-network.io`
- `wss://rpc.vara.network`

- Archive RPC Node:
- `wss://archive-rpc.vara-network.io`
- `wss://archive-rpc.vara.network`


## What bootnode should I use to connect to the network?
Expand Down Expand Up @@ -111,7 +111,7 @@ or find more tags here: https://github.com/gear-tech/gear/pkgs/container/node

## How do I check if my node is validator or not?

Navigate to https://polkadot.js.org/apps/?rpc=wss://rpc.vara-network.io#/staking, and you will find a list of the active validators
Navigate to https://polkadot.js.org/apps/?rpc=wss://rpc.vara.network#/staking, and you will find a list of the active validators

## What is slashing?

Expand Down Expand Up @@ -173,7 +173,7 @@ Running multiple validators can increase your chances of earning rewards, but it

It's important to note that running multiple validators doesn't mean running multiple nodes on the same server or under the same network conditions. This could lead to simultaneous failures, which could result in multiple nodes being slashed at the same time. Ideally, each validator node should be run on separate servers and potentially in different geographic locations for redundancy and resilience.

## How to achieve high availability for my validator node?
## How to achieve high availability for my validator node?

To maintain high availability for your validator node, it may seem tempting to use redundant validator setups. However, incorrect setups can be risky because validator session keys should be confined to one node. Duplication across nodes may cause equivocation slashes, leading to the loss of all staked funds.

Expand Down Expand Up @@ -227,15 +227,15 @@ The validator's own reward is then calculated based on their commission, which i

## How should I decide the commission rate?

The commission is the percentage of rewards you keep before they are given out to nominators. With 0% commission, nominators get all the rewards; with 100% commission, they get NO rewards.
The commission is the percentage of rewards you keep before they are given out to nominators. With 0% commission, nominators get all the rewards; with 100% commission, they get NO rewards.

In general, in order to stay attractive to nominators you should keep the commission low. However, you also need to ensure that the commission rate you set allows you to sustainably operate your validator node. It's a balance of competitive positioning, sustainability, and profitability.

## How many validators will there be in each era?

The ideal number of active validators is defined by the `staking.validatorsCount` storage item, and is subject to change in the future.

You can query the storage item by visiting [PolkadotJS Apps](https://polkadot.js.org/apps/?rpc=wss://rpc.vara-network.io) > Developer > Chain state > staking > validatorCount
You can query the storage item by visiting [PolkadotJS Apps](https://polkadot.js.org/apps/?rpc=wss://rpc.vara.network) > Developer > Chain state > staking > validatorCount

![querying chainstate](./img/querying-chainstate.png)

Expand Down
6 changes: 3 additions & 3 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {themes as prismThemes} from 'prism-react-renderer';
export default {
title: 'Vara Network Documentation Portal',
tagline: 'All documentation related to Vara Network',
url: 'https://wiki.vara-network.io/',
url: 'https://wiki.vara.network/',
baseUrl: '/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
Expand Down Expand Up @@ -58,8 +58,8 @@ export default {
label: 'Docs',
},
{
href: 'https://www.vara-network.io/',
label: 'Vara-network.io',
href: 'https://www.vara.network/',
label: 'Vara.network',
position: 'right',
},
{
Expand Down