Перейти к основному содержанию

Operator Tips & Tricks

Claiming tSSC

The minimum amount of tokens required to register an operator is 100 tSSC. If you don't have that much, there is a way to claim it as long as you are a verified farmer.

  1. Proceed to the staking tab on Astral and connect your wallet.

NStaking-1

  1. Выберите кошелек, который вы хотели бы подключить. Поддерживаются как Subwallet, так и кошельки PolkadotJS.

NStaking-2

  1. Введите пароль, чтобы предоставить доступ к Вашему кошельку.

NStaking-3

  1. Выберите аккаунт, который вы хотели бы использовать из выпадающего меню. Вы увидите доступные и заблокированные (застейканные) балансы токенов для каждого аккаунта.

NStaking-4

NStaking-14

  1. As long as you are a verified farmer, you should have the Claim button available.

NStaking-15

  1. Click the Claim button and it should change to Pending.

NStaking-16

  1. After about 5 minutes you should see an additional 100 tSSC in your account.

NStaking-17

note

If the claim button is not available you may need to disconnect and reconnect your wallet. If you still don't see the claim button you may need to click refresh.

NStaking-18

Размещение ключа в хранилище ключей:

This might be useful if you decided to switch domains or already have the secret phrase. Read more about switching domain in the next section.

Чтобы поместить ключ, используйте следующую команду:

target/production/subspace-node domain key insert \
--base-path NODE_DATA_PATH --domain-id DOMAIN_ID --keystore-suri "<Secret phrase>"

The command above will insert the keypair in the subfolder of NODE_DATA_PATH/domains/DOMAIN_ID/keystore.

suri - это секретная фраза ключа оператора.

Переключение доменов

Any Operator can switch domain they operate on anytime. In order to switch domain:

  1. Перейдите на PolkadotJS
  2. Убедитесь, что выбрали правильную сеть в верхнем левом углу.
  3. Выберите аккаунт, который хотите использовать в using the selected account.
  4. Выберите domains в поле submit the following extrinsic, далее выберите switchDomain(operatorId, newDomainId) в выпадающем списке.
  5. Добавьте свои operatorId и newDomainId в соответствующие поля.

Staking-24

note

Только аккаунт, который зарегистрировал Оператора, может изменить домен.

note

You need to move your keypair to a new location, if you switch domains. Follow the insert key to keystore section.

note

Депозиты Ваших Номинаторов не будут разблокированы, а будут также перенесены на новый домен.

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

Одновременный запуск ноды валидатора (фармера) и оператора

tip

To run both operator and validator at the same time, provide requrired flags for both roles when starting your node.

target/production/subspace-node run `
--chain gemini-3h `
--farmer `
--name your_node_name `
-- `
--domain-id your_domain_id `
--operator-id your_operator_id `
--listen-on /ip4/0.0.0.0/tcp/40333
note

If you're running an operator node for AutoID domain, add the following bootstrap node to the list of domain arguments:

--bootstrap-nodes /dns/bootstrap-0.autoid.gemini-3h.subspace.network/tcp/30334/p2p/12D3KooWFoiz2iTkmnnSqiL2oQRhGzaqgtUjYNz2jyWKQqgPXgx9

Вы должны увидеть, что нода успешно запущена и начала синхронизацию.

Staking-28

Переключение на другой сервер

To ensure the minimum downtime during your switch, we propose the following:

  1. Sync a new operator node using a throwaway key. You can generate a new key, just not insert it into your keystore.
  2. Остановите исходную ноду и переименуйте ключевое хранилище (или сделайте то, что Вам удобно, чтобы предотвратить случайный запуск исходной ноды с оригнальным ключом подписи).
  3. Update the keystore on the new node with the original signing key.
  4. Restart the new operator node.