RuslanGlaznyov / defund

Defund validator node on Akash Network. Нода валидатора сети Defund, развертка в Akash Network.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Defund validator node on Akash Network

Нода валидатора сети Defund, развертка в Akash Network.

pba

Akash Network Forum Akash Network

Before you start - subscribe to our news channels:

Прежде чем начать - подпишитесь на наши новостные каналы:

Discord Akash Telegram Akash EN Telegram Akash RU TwitterAkash TwitterAkashRU

English version

Fill out the form .

If you want to migrate your Defund node to Akash, or if you have priv_validator_key.json, then go to this step.

You must have more than 5 AKT on your Akash wallet (5 АКТ will be blocked for deployment + transaction gas payment). АКТ can be found on the exchanges Gate, AsendeX, Osmosis . Also in our communityAkash RU we regularly hold events in which we distribute АКТ.

If starting for the first time:

Create an additional Cosmos ecosystem wallet for the Defund project using Keplr or Cosmostation. Rewrite the seed phrase from the created wallet, we will need it when deploying.

  • Open Akashlytics,if you don't have it installed, then link for download.

  • We check the presence of a balance (>5АКТ) and the presence of an installed certificate.

image

  • Click CREATE DEPLOYMENT. Select Empty and copy the contents there deploy.yml

  • Let's take a look at what is there, so the services section indicates the docker node image, as well as a block with environment variables env:

  • my_root_password - password root user, for connection to container via ssh.

  • MONIKER - Node name .

  • MNEMONIС - insert the mnemonic phrase from your wallet Defund.

  • LINK_ADDRBOOK - link addrbook.json

  • SNAP_RPC - link RPC node.

LINK_KEY - comment out the env to the priv_validator_key.json.

In the resources field, we set the capacity to be rented. 2 CPU x 4 GB RAM x 600 GB SSD recommended for Defund node. In case of synchronization with RPC nodes, we do not store the full blockchain, so you can put 2 CPU x 4 GB RAM x 100 GB SSD.

  • Click on CREATE DEPLOYMENT and we are waiting for the appearance of providers with free capacities (BIDS).

image

  • We choose the one that suits us in terms of price and equipment. Then we press ACCEPT BID.

We are waiting for the completion of the deployment.

  • In the LOGS tab, wait for a message about the generated file priv_validator_key.json .

image

  • In the SHELL tab, run the commandcat /root/.defund/config/priv_validator_key.json, save the answer in a filepriv_validator_key with extension.json.

image

Then open access to the file on google drive and copy its link, it will look like: https://drive.google.com/open?id=xxxxxxxxxxxxxx-xxxxxxxxxxxx&authuser=gmail%40gmail.com&usp=drive_fs you need to take a part: id=xxxxxxxxxxxxxx-xxxxxxxxxxxx and put in front of it: https://drive.google.com/uc?export=download&.
Thus, you will get a link to a direct download of the file: https://drive.google.com/uc?export=download&id=xxxxxxxxxxxxxx-xxxxxxxxxxxx

  • Go to the UPDATE tab, uncomment the LINK_KEY line (remove the # symbol) and paste the link to directly download your priv_validator_key.json file. Then click UPDATE DEPLOYMENT. Confirm the transaction.

*In the process of work, your address Defund will be displayed, you need to request tokens to it. Everything is difficult with a faucet, there is a resource https://bitszn.com/faucets.html , may give something. If not, then go to Discord and ask for tokens to your Defund address there.

image

  • In the LOGS tab , you can view the operation of the node. Synchronization will start from the block that is 2000 blocks "below" the last one. For example, if there are 596562 blocks in the network at the time the node is launched, then synchronization and "catching up" will start from 596562-2000= 594562 blocks. After full synchronization, a validator will be created (if it has not been created earlier) and the node will enter the automatic mode of operation. Every 5 minutes the balance will be checked, and if it is positive - auto-delegation to yourself. There will also be a check on the jail, the exit from the jail will be performed automatically.

Go to start

Useful Commands

Thank you for choosing Akash Network!

If you have priv_validator_key.json

Then open access to the file on google drive and copy its link, it will look like: https://drive.google.com/open?id=xxxxxxxxxxxxxx-xxxxxxxxxxxx&authuser=gmail%40gmail.com&usp=drive_fs you need to take a part: id=xxxxxxxxxxxxxx-xxxxxxxxxxxx and put in front of it: https://drive.google.com/uc?export=download&.
Thus, you will get a link to a direct download of the file: https://drive.google.com/uc?export=download&id=xxxxxxxxxxxxxx-xxxxxxxxxxxx

  • Open Akashlytics,if you don't have it installed, then link for download.

  • We check the presence of a balance (>5АКТ) and the presence of an installed certificate.

image

  • Click CREATE DEPLOYMENT. Select Empty and copy the contents there deploy.yml

  • Let's take a look at what is there, so the services section indicates the docker node image, as well as a block with environment variables env:

  • my_root_password - password root user, for connection to container via ssh.

  • MONIKER - Node name .

  • MNEMONIС - insert the mnemonic phrase from your wallet Defund.

  • LINK_ADDRBOOK - link addrbook.json

  • SNAP_RPC - link RPC node.

  • LINK_KEY - paste the link to the hosted priv_validator_key.json (direct download).

In the resources field, we set the capacity to be rented. 2 CPU x 4 GB RAM x 600 GB SSD recommended for Defund node. In case of synchronization with RPC nodes, we do not store the full blockchain, so you can put 2 CPU x 4 GB RAM x 100 GB SSD.

  • Click on CREATE DEPLOYMENT and we are waiting for the appearance of providers with free capacities (BIDS).

image

  • We choose the one that suits us in terms of price and equipment. Then we press ACCEPT BID.

We are waiting for the completion of the deployment.

  • In the LOGS tab , you can view the operation of the node. Synchronization will start from the block that is 2000 blocks "below" the last one. For example, if there are 596562 blocks in the network at the time the node is launched, then synchronization and "catching up" will start from 596562-2000= 594562 blocks. After full synchronization, a validator will be created (if it has not been created earlier) and the node will enter the automatic mode of operation. Every 5 minutes the balance will be checked, and if it is positive - auto-delegation to yourself. There will also be a check on the jail, the exit from the jail will be performed automatically.

  • In the process of work, your address Defund will be displayed, you need to request tokens to it. Everything is difficult with a faucet, there is a resource https://bitszn.com/faucets.html , may give something. If not, then go to Discord and ask for tokens to your Defund address there.

image

Go to start

Useful Commands

Thank you for choosing Akash Network!

Русская версия

Заполняем форму .

Если хотите перенести вашу ноду на Akash, или у вас есть priv_validator_key.json, то перейдите к этому пункту.

На вашем кошельке Akash (с которого будет разворачивать Defund) должно быть более 5 АКТ (5 АКТ будут заблокированы на развертывание + оплата газа транзакций). АКТ можно пробрести на биржах Gate, AsendeX, Osmosis . Так же в нашем сообществе Akash RU мы регулярно проводим эвенты в которых раздаем АКТ.

Если запуск производится впервые:

Создайте дополнительный кошелек экосистемы Cosmos для проекта Defund, с помощью Keplr или Cosmostation. Перепишите seed фразу от созданного кошелька, она понадобится нам при развертке.

  • Открываем Akashlytics, если он у вас не установлен - то вот ссылка на скачивание.

  • Проверяем наличие баланса (>5АКТ) и наличие установленного сертификата.

image

  • Нажимаем CREATE DEPLOYMENT. Выбираем Empty(пустой template) и копируем туда содержимое deploy.yml .

Раберем что там есть, итак раздел services здесь указывается docker образ ноды, а также блок с переменными окружения env:

В поле my_root_password - задаем пароль root для подключения по ssh.

В поле MONIKER - задаем имя ноды.

В поле MNEMONIС - вставляем мнемоник фразу от вашего кошелька Defund.

В поле LINK_ADDRBOOK - ссылка на скачивание адресной книги пиров .

В поле SNAP_RPC - ссылка на RPC ноду, для начала синхронизации с последних блоков (рекомендуется) .

Поле LINK_KEY - оставьте закомментированным ссылка на размещенный priv_validator_key.json (прямое скачивание).

Ниже, в поле resources мы выставляем арендуюмую мощность. для ноды Defund рекомендуется 2 CPU x 4 GB RAM x 600 GB SSD. В случае синхронизации с RPC ноды - мы храним не полный блокчейн, поэтому можно поставить 2 CPU x 4 GB RAM x 100 GB SSD.

Нажимаем кнопку CREATE DEPLOYMENT и ждем появления провайдеров, со свободными мощностями (BIDS).

image

  • Выбираем подходящий для нас по цене и оборудованию. После чего нажимаем ACCEPT BID.

Ждем заверщения развертывания.

  • Во вкладке LOGS дождитесь сообщения о сгенерированном файле priv_validator_key.json .

image

  • Во вкладке SHELL выполните команду cat /root/.defund/config/priv_validator_key.json, ответ сохраните в файле priv_validator_key с расширением .json.

image

Откройте доступ к файлу на google диск и скопируйте его ссылку, она будет вида: https://drive.google.com/open?id=xxxxxxxxxxxxxx-xxxxxxxxxxxx&authuser=gmail%40gmail.com&usp=drive_fs`` вам нужно взять часть: id=xxxxxxxxxxxxxx-xxxxxxxxxxxxи вставить перед ней:https://drive.google.com/uc?export=download&```.
Таким образом, у вас получится ссылка на прямое скачивание файла: https://drive.google.com/uc?export=download&id=xxxxxxxxxxxxxx-xxxxxxxxxxxx . Сохраните ее.

  • Перейдите во вкладку UPDATE, расскаментируйте строку LINK_KEY (удалив символ #) и вставьте ссылку на прямое скачивание вашего файла priv_validator_key.json. После чего нажмите UPDATE DEPLOYMENT. Подтвердите транзакцию.

  • В процессе работы будет выводится ваш адрес Defund, на него нужно запросить токены. С краном все сложно, есть ресурс https://bitszn.com/faucets.html , может что то даст. Если нет - то идем в дискорд и просим токены на наш адрес Defund там.

image

  • В поле LOGS можете наблюдать работу ноды. Синхронизация начнеся с блока который на 2000 блоков "ниже" последнего. Например, если в сети на момент запуска ноды 596562 блоков, то синхронизивароться и "догонять" начнет с 596562-2000= 594562 блока. После полной синхронизации будет создан валидатор (если он не был созда ранее) и нода войдет в автоматический режим работы. Каждые 5 минут будет проверяться баланс, и в случае если он положителен - автоделегирование на себя. Так же будет происходить проверка на тюрьму, выход из тюрьмы будет выполнен автоматически.

Перейти к началу

Полезные команды

Спасибо что используете Akash Network!

Если у вас есть priv_validator_key.json

Откройте доступ к файлу на google диск и скопируйте его ссылку, она будет вида: https://drive.google.com/open?id=xxxxxxxxxxxxxx-xxxxxxxxxxxx&authuser=gmail%40gmail.com&usp=drive_fs вам нужно взять часть: id=xxxxxxxxxxxxxx-xxxxxxxxxxxx и вставить перед ней: https://drive.google.com/uc?export=download&.
Таким образом, у вас получится ссылка на прямое скачивание файла: https://drive.google.com/uc?export=download&id=xxxxxxxxxxxxxx-xxxxxxxxxxxx . Сохраните ее.

  • Открываем Akashlytics, если он у вас не установлен - то вот ссылка на скачивание.

  • Проверяем наличие баланса (>5АКТ) и наличие установленного сертификата.

image

  • Нажимаем CREATE DEPLOYMENT. Выбираем Empty(пустой template) и копируем туда содержимое deploy.yml .

Давайте раберем что там есть, итак раздел services здесь указывается docker образ ноды, а также блок с переменными окружения env:

В поле my_root_password - задаем пароль root для подключения по ssh.

В поле MONIKER - указываем имя ноды.

В поле MNEMONIС - вставляем мнемоник фразу от вашего кошелька Defund.

В поле LINK_KEY - скопируйте ссылку на размещенный priv_validator_key.json (прямое скачивание).

В поле LINK_ADDRBOOK - ссылка на скачивание адресной книги пиров .

В поле SNAP_RPC - ссылка на RPC ноду, для начала синхронизации с последних блоков.

Ниже, в поле resources мы выставляем арендуюмую мощность. для ноды Defund рекомендуется 2 CPU x 4 GB RAM x 600 GB SSD. В случае синхронизации с RPC ноды - мы храним не полный блокчейн, поэтому можно поставить 2 CPU x 4 GB RAM x 100 GB SSD.

Нажимаем кнопку CREATE DEPLOYMENT и ждем появления провайдеров, со свободными мощностями (BIDS).

image

  • Выбираем подходящий для нас по цене и оборудованию. После чего нажимаем ACCEPT BID.

Ждем заверщения развертывания.

  • В вкладке LOGS можете наблюдать работу ноды. Синхронизация начнеся с блока который на 2000 блоков "ниже" последнего, например если в сети на момент запуска ноды 596562 блоков, то синхронизивароться и "догонять" начнет с 596562-2000= 594562 блока. После чего будет создан валидатор (если он не был созда ранее) и нода войдет в автоматический режим работы. Каждые 5 минут будет проверяться баланс, и в случае если он положителен - автоделегирование на себя. Так же будет происходить проверка на тюрьму, выход из тюрьмы будет выполнен автоматически.

  • В процессе работы будет выводится ваш адрес Defund, на него нужно запросить токены. С краном все сложно, есть ресурс https://bitszn.com/faucets.html , может что то даст. Если нет - то идем в дискорд и просим токены на наш адрес Defund там.

image

Перейти к началу

Полезные команды

Спасибо что используете Akash Network!


Useful Commands | Полезные команды

Use the SHELL tab of the Akashlytics user interface to enter commands.

Для ввода команд используйте вкладку SHELL пользовательского интерфейса Akashlytics .

Node status | Статус ноды

curl -s localhost:26657/status node status

Checking balance | Проверка баланса

defundd q bank balances your_defund_address

Distribution withdraw rewards | Вывод комиссионных

defundd tx distribution withdraw-rewards your_valoper --from your_defund_address --chain-id defund-private-1 --fees 5ufetf --commission -y

Send tokens | Отправка токенов

defundd tx bank send name_wallet your_defund_address 1001000ufetf --fees 5ufetf --chain-id defund-private-1 -y

Voting | Голосование

defundd tx gov vote 1 yes --from your_defund_address --fees 555ufetf

About

Defund validator node on Akash Network. Нода валидатора сети Defund, развертка в Akash Network.


Languages

Language:Shell 97.6%Language:Dockerfile 2.4%