February 14, 2022

Kusama Node

ss

⠀Kusama — это общедоступная блокчейн-платформа от разработчиков Polkadot, которая позволяет экспериментировать и тестировать новые блокчейны или приложения перед их выпуском в Polkadot.


Содержание


Информация о проекте

К содержанию

ыы

Фазы

⠀Набор валидаторов в мейннет по программе: «1000 Валидаторов Кусамы»

As a validator, getting nominations can be hard. To help validators bootstrap themselves, we're launching the Thousand Validators Programme. By applying and following the setup instructions, you will be eligible to receive nominations from Web3 Foundation and Parity Technologies to help kickstart your Kusama node.

We require:
- Validators have a minimum stash in their accounts (10 KSM)
- Validator nodes connect to a dedicated telemetry
- Validators charge no more than 10% commission
- Validators must have a separate Stash and Controller account
- A one-week monitoring period to ensure validator nodes have stable operations.
- Validator stash addresses must get a verified on chain identity.
- All nodes must upgrade to the latest version within 12 hours of its release if it is labeled "critical" or "high" priority and 24 hours if it is labeled "medium" or "low" priority.
- Validator must operate nodes themselves, they may not be run by a third party or staking provider
(together the "Requirements").

Depending on the volume of applicants, Validators with less than 10 KSM self staked will still be considered on a case-by-case basis; they’ll need to make a case for good-intentions.The case for good intentions will be judged based on the following criteria:

https://hackmd.io/@nlWRE-3fQzmUnPRDIXb2Ag/SyvCIMBMd

What we we will do:
Validators meeting the above requirements will obtain a rotation of nominations per period of successful operation. The cadence of nominations is relative to their rank in the programme, where upon performing their duty successfully per period, validators will move up a rank.If a validator fails for any reason (slashing, getting kicked out the validator set, not upgrading on time), that validator's rank will be halved. If a validator gets slashed, or receives three halvings they will be suspended from nominations and will need to re-apply.

These rankings will be made public, to help a validator establish their reputation.

Награды

ыыы


Что устанавливается?

ыыы


Требования к серверу

Официальные:

  • CPU - Intel(R) Core(TM) i7-7700K CPU @ 4.20GHz
  • Storage - A NVMe solid state drive. Should be reasonably sized to deal with blockchain growth. Starting around 80GB - 160GB will be okay for the first six months of Polkadot, but will need to be re-evaluated every six months.
  • Memory - 64GB.
  • Ubuntu 18.04

Наш опыт:

  • Ryzen 5

Launching

Linux (manually)

Update packages

sudo apt update && sudo apt upgrade -y

⠀Install the required packages

sudo apt install wget jq bc build-essential -y

⠀Install Docker

. <(wget -qO- https://raw.githubusercontent.com/SecorD0/utils/main/installers/docker.sh)

⠀Create a directory in which a data will be stored

mkdir -p $HOME/.kusama

⠀Assign rights to use the directory

sudo chown -R $(id -u):$(id -g) $HOME/.kusama

⠀Come up with a node moniker, run a command and enter the moniker, thereby adding it to the system as a variable

. <(wget -qO- https://raw.githubusercontent.com/SecorD0/utils/main/miscellaneous/insert_variable.sh) -n kusama_moniker

Открыть используемые порты

. <(wget -qO- https://raw.githubusercontent.com/SecorD0/utils/main/miscellaneous/ports_opening.sh) 30333 9933 9944 30334 9934 9945

Run validator

docker run -dit \
--name kusama_node \
--restart always \
--network host \
-v $HOME/.kusama:/data -u $(id -u ${USER}):$(id -g ${USER}) \
parity/polkadot --base-path /data --chain kusama \
--validator --name "$kusama_moniker" \
--telemetry-url 'wss://telemetry-backend.w3f.community/submit 1'

Add log and info

. <(wget -qO- https://raw.githubusercontent.com/SecorD0/utils/main/miscellaneous/insert_variable.sh) -n kusama_log -v "docker logs kusama_node -fn 100" -a
. <(wget -qO- https://raw.githubusercontent.com/SecorD0/utils/main/miscellaneous/insert_variable.sh) -n kusama_node_info -v ". <(wget -qO- https://raw.githubusercontent.com/SecorD0/Kusama/main/node_info.sh) -l RU 2> /dev/null" -a

⠀Make sure that the node launched and started to synchronize

kusama_log 
kusama_node_info

Information about a node

Browser

⠀Information about a node, such as the current height, can be obtained from the Polkadot telemetry website by starting to type node moniker on the keyboard.

Updating

To the content

Manually

⠀Update the image

docker pull parity/polkadot

⠀Stop the node

docker stop kusama_node

⠀Remove a container with the node

docker rm kusama_node

Run validator

docker run -dit \
--name kusama_node  \
--restart always  \
--network host  \
-v $HOME/.kusama:/data  \
-u $(id -u ${USER}):$(id -g ${USER}) parity/polkadot  \
--base-path /data  \
--chain kusama  \
--validator  \
--name "$kusama_moniker"  \
--telemetry-url 'wss://telemetry-backend.w3f.community/submit 1'

Useful commands

To the content

⠀Available variables (remove echo while using)

echo $kusama_moniker

⠀To view the node's log

kusama_log
docker logs kusama_node -fn 100

⠀To view the information about the node

kusama_node_info

⠀To restart the node

docker restart kusama_node 

Check your score in Browser. Change your STATSHACCOUNT

https://kusama.w3f.community/score/STASHACCOUNT

Polkachu, validator tracker with recomendations:

https://polkachu.com/kusama/thousand_validators/STATSHACCOUNT


Useful links

To the content

Wiki Polkadot | Matrix Org | Subscan

Discord | Twitter | Reddit | GitHub

Official documentation | Телеметрия | Payout


Acknowledgments

To the content

To everyone from the «Community contribution» section

Let’s Node! Team — studying the project, writing the article

Express your gratitude