🟢Subspace
Step-by-Step Registration Process
Step 1: Install Required Tools
Before registering as an operator, make sure you have the following tools installed:
Node.js (version 14 or higher)
Yarn package manager
Docker to run your node services
You can install these tools using the following commands:
Install Node.js and npm:
sudo apt update sudo apt install nodejs npm
Install Yarn:
npm install --global yarn
Install Docker: Follow instructions from the official Docker installation guide for your OS: Docker Installation
Step 2: Clone the Autonomy Staking Repository
After setting up the environment, clone the Autonomy staking repository using Git:
git clone https://github.com/Autonomy-Network/staking
cd staking
Step 3: Install Dependencies
Navigate into the staking
directory and install the required dependencies:
yarn install
Step 4: Generate Keys
To participate as an operator, you will need to generate a pair of public and private keys. This key pair will allow you to sign transactions and prove your identity as an operator. You can generate the keys by running the following command:
yarn generate-keys
Save the private key securely, as it will not be retrievable once generated.
Step 5: Configure Your Node
Next, configure your operator node by setting up the required environment variables. Create a .env
file in the root of the staking
directory with the following content:
PRIVATE_KEY=<your_private_key>
PUBLIC_KEY=<your_public_key>
NETWORK=<network_name> # for example, 'mainnet' or 'testnet'
Replace <your_private_key>
and <your_public_key>
with the values you generated earlier.
Step 6: Register as an Operator
To register your operator node on the Autonomy network, you need to run the following registration command:
yarn register-operator
During this step, you will be required to stake a certain amount of AUT tokens, which will lock your funds and register you as an operator. Make sure you have enough tokens in your wallet for this process.
Step 7: Run the Operator Node
Once registered, you can start running your operator node by executing the following command:
yarn start
This will launch your node and connect it to the network. You can monitor logs to ensure the node is running properly and handling tasks.
Step 8: Monitor Your Node
To ensure that your node is performing as expected, it’s crucial to monitor its performance. You can use Docker logs or monitoring tools like Prometheus and Grafana to track the status of your node.
Check logs with:
docker logs -f autonomy-operator
Last updated