注册操作员
下载 Subspace 节点
下载你操作系统对应的 Subspace Node
文件 。
要在 Linux 上运行Operator节点,直接进入下一步。
- 🖼️ Windows
- 🍎macOS
- 🐧Ubuntu
选择正确的域
An operator needs to register on a specific domain and create a key pair to participate in bundle production. Autonomys is currently using domain 0
for the EVM domain.
More domains will be available in the future. It is possible to register an operator for each domain, but each operator will require running its own node.
Currently operators can only be registered on the Taurus network.
Any account with the minimum operator stake of 100 tAI3 can become an operator.
创建操作员密钥
操作员需要一个密钥对才能参与bundle生产。
若要创建一个新的operator密钥,请运行以下命令:
subspace-node domain key create --base-path NODE_DATA_PATH --domain-id DOMAIN
确保为密钥生成指定**--base-path** 基本路径,并运行操作员节点,请务必将**--domain-id** 中的值替换为你想要成为操作员的域ID。
操作员需要找到他们想要操作的正确域 ID。
你已 经成功生成了一个operator密钥,恭喜!
请确保记录并安全存储打印出的助记词。如果泄露或被盗,你的操作员和提名者的质押都可能面临被削减的风险。
密钥是在 /domains/domainID/keystore
下 NODE_DATA_PATH 的子文件夹中生成的。如果您在子文件夹中没有看到生成的密钥对,就有问题了。
启动域操作者节点
域操作员节点与嵌入式共识节点一起运行,因此需要同时为共识节点和域操作员节点指定参数:
subspace-node [consensus-chain-args] -- [domain-args]
目前,域链不支持从其他操作员节点同步;它需要逐块确定地从共识链中产生。
您需要清除 并在不使用 snap 同步的情况下从创世块同步您的节点,因为您需要同步共识和域链。 你不需要清除任何现有的绘图。
You can ignore setting up your_operator_id
while you're syncing your node as you won't have an operator id until you have registered your operator. Make sure to set it after syncing and registration
by replacing your_operator_id
with your operator_id obtained when registering the operator.
- 🖼️ Windows
- 🍎 macOS
- 🐧 Ubuntu
- 🐋 Docker
subspace-node run `
--chain taurus `
--name your_node_name `
--base-path NODE_DATA_PATH `
--blocks-pruning archive-canonical `
--state-pruning archive-canonical `
--sync full `
-- `
--domain-id your_domain_id `
--operator-id your_operator_id `
--blocks-pruning archive-canonical `
--state-pruning 16000
subspace-node run \
--chain taurus \
--name your_node_name \
--base-path NODE_DATA_PATH \
--blocks-pruning archive-canonical \
--state-pruning archive-canonical \
--sync full \
-- \
--domain-id your_domain_id \
--operator-id your_operator_id \
--blocks-pruning archive-canonical \
--state-pruning 16000
subspace-node run \
--chain taurus \
--name your_node_name \
--base-path NODE_DATA_PATH \
--blocks-pruning archive-canonical \
--state-pruning archive-canonical \
--sync full \
-- \
--domain-id your_domain_id \
--operator-id your_operator_id \
--blocks-pruning archive-canonical \
--state-pruning 16000
services:
node:
# Replace snapshot-DATE with the latest release (like mainnet-2025-jan-28)
image: ghcr.io/autonomys/node:snapshot-DATE
volumes:
# Instead of specifying volume (which will store data in /var/lib/docker), you can
# alternatively specify path to the directory where files will be stored, just make
# sure everyone is allowed to write there
- node-data:/var/subspace:rw
# - /path/to/subspace-node:/var/subspace:rw
ports:
# If port 30333 or 30433 is already occupied by another Substrate-based node, replace all
# occurrences of 30333 or 30433 in this file with another value
- "0.0.0.0:30333:30333/tcp"
- "0.0.0.0:30433:30433/tcp"
- "0.0.0.0:40333:40333/tcp"
restart: unless-stopped
command: [
"run",
"--chain", "taurus",
"--base-path", "/var/subspace",
"--listen-on", "0.0.0.0:30333",
"--dsn-listen-on", "/ip4/0.0.0.0/tcp/30433",
# Replace INSERT_YOUR_ID with your node ID (will be shown in telemetry)
"--name", "INSERT_YOUR_ID",
"--blocks-pruning", "archive-canonical",
"--state-pruning", "archive-canonical",
"--sync", "full",
"--",
# Replace INSERT_YOUR_DOMAIN_ID with domain ID you want to be operator on
"--domain-id", "INSERT_YOUR_DOMAIN_ID",
# Replace INSERT_YOUR_OPERATOR_ID with your operator ID once you have registered
"--operator-id", "INSERT_YOUR_OPERATOR_ID",
"--blocks-pruning", "archive-canonical",
"--state-pruning", "16000",
"--listen-on", "/ip4/0.0.0.0/tcp/40333"
]
healthcheck:
timeout: 5s
# If node setup takes longer than expected, you want to increase interval and retries number.
interval: 30s
retries: 60
volumes:
node-data:
您应该可以看 到节点启动成功并开始同步。
在域上注册操作者
It's crucial to fully sync your node before registering as an operator. Please follow the commands in the Start the domain operator node section and only register as an operator once your node is fully synced. If many operators are registered but their nodes are still syncing or offline, it can adversely affect the speed of block production in the domain. You are required to have at least 100 tSSC in order to register your operator.
使用Autonomys质押页面注册operator
- Proceed to the staking tab on Astral and connect your wallet.
- Select the wallet you would like to connect. Subwallet, PolkadotJS, and Talisman wallets are supported.
- 输入您的密码以允许访问您的钱包。
- Select the account you'd like to use from the dropdown menu. You can click the button in the upper left corner to see available and locked (staked) token balances for the selected account.
- While still on the
Staking
tab, selectRegister Operator
.
务必指定提名者最低质押为 1 tSSC。
--This will need a new image once we have the gemini text replaced with Taurus text
- Select your Domain (It will default to the Taurus EVM), Signing key, Amount to Stake, Nominator Tax, and a Minimum Nominator Stake.
Make sure to use the operator key generated on the previous Create operator key step.
- 在弹出窗口中批准请求。
- Congratulations, you're now registered as an operator! While still on the
Staking
tab, selectOperators
and then Change the switch to sayMy nominations
to see your operator and get the Operator Id.
操作员最多可能需要 10 分钟才能注册并显示在页面上。 您的质押金额可能需要一天时间才会显示在表格中Total Stake下。 获得操作员 ID 后,您可以重新启动操作员节点并包含 --operator-id **OPERATOR_ID**
参数。
You can view some additional actions by clicking on action
next to your operator.
You can increase your stake (Nominate), withdraw some existing stake, de-register your operator, and unlock funds.