Operator 操作技巧与窍门
插入密钥到密钥库:
如果您决定切换域或已经有助记词,这段信息可能对你有所帮助。请在下一节阅读更多关于切换域的信息。
要插入密钥,请使用以下命令:
subspace-node domain key insert \
--base-path NODE_DATA_PATH --domain-id DOMAIN_ID --keystore-suri "<Secret phrase>"
上述命令将把密钥对插入NODE_DATA_PATH/domains/DOMAIN_ID/keystore
的子文件夹。
suri
是操作员密钥的助记词。
切换域
Any Operator can switch domain they operate on anytime. In order to switch domain:
- 进入 PolkadotJS
- Make sure to select the correct network at the top-left corner.
- 选择您想要在
using the selected account
中使用的帐户。 - 选择
submit the following extrinsic
下的domains
并在下拉列表中选择 "switchDomain(operatorId, newDomainId) "。 - Add your
operatorId
andnewDomainId
to the corresponding fields.
note
Only the account who registered Operator can switch the domain.
note
您需要将密钥对移动到新的位置,如果您要更换域,请按照insert key to keystore section 进行操作。
note
Stake of your Nominators won't be released, but will be moved to the new domain as well.