小贴士和技巧
插入密钥到密钥库:
如果您决定切换域或已经有助记词,这段信息可能对你有所帮助。请在下一节阅读更多关于切换域的信息。
要插入密钥,请使用以下命令:
Replace these placeholders
<BASE_PATH>
: Path to your node data directory<DOMAIN_ID>
: The domain ID you want to operate on<SECRET_PHRASE>
: Your operator key's secret phrase
./subspace-node-ubuntu-x86_64-skylake-taurus-2025-jul-14 domain key insert \
--base-path "<BASE_PATH>" --domain-id "<DOMAIN_ID>" --keystore-suri "<SECRET_PHRASE>"
The command above will insert the keypair in the subfolder of <BASE_PATH>/domains/<DOMAIN_ID>/keystore
.
suri
是操作员密钥的助记词。
切换域
Any Operator can switch domain they operate on anytime. In order to switch domain:
- 进入 PolkadotJS
- 请确保在左上角选择正确的网络。
- 选择您想要在
using the selected account
中使用的帐户。 - 选择
submit the following extrinsic
下的domains
并在下拉列表中选择 "switchDomain(operatorId, newDomainId) "。 - 将您的
operatorId
和newDomainId
添加到相应字段。
备注
Only the account who registered Operator can switch the domain.
备注
您需要将密钥对移动到新的位置,如果您要更换域,请按照insert key to keystore section 进行操作。
备注
Stake of your Nominators won't be released, but will be moved to the new domain as well.