- OS
- PACKAGES
- INSTALLATION
- VALIDATOR CREATION
- 1. Validator network
- 2. Username for SSH connection to server
- 3. IP address of the server
- 4. Private key path of the SSH user
- 5. SSH connection check
- 6. Validator software
- 7. Validator identity public key
- 8. Server Name
- 9. Validator vote key
- 10. Validator authority key
sdo expects the following present on your system before its installation and operation.
OS
Linux or MacOSX. For Windows, kindly use WSL2 for Windows
PACKAGES
INSTALLATION
npm install -g @skipline/sdo
VALIDATOR CREATION
sdo validator create
1. Validator network
? What is the validator network? (Use arrow keys)
❯ testnet
mainnet
✔ What is the validator network? testnet
2. Username for SSH connection to server
This depends upon your OS installed on the server and later its configuration for a new user. Default value is root
.
? What is the SSH user to connect as? (root)
✔ What is the SSH user to connect as? root
3. IP address of the server
This is the IP of the server to which SSH connection is to be established.
? What is the IP address of the validator server?
✔ What is the IP address of the validator server? 191.205.133.188
4. Private key path of the SSH user
Supply the path to private key pair which allow previously entered user to access the machine via SSH. In most case, it is at located in ~/.ssh/
. The default value reflects that.
? What is the path to the SSH private key? (~/.ssh/id_rsa)
✔ What is the path to the SSH private key? ~/.ssh/id_rsa
5. SSH connection check
Once you have supplied the above values, the command prompt will display an indicator that a SSH connection is being established.
⠴ Connecting to validator via SSH...
If the connection is established with success, the prompt is going to indicate it like this
SSH connection established successfully
In failure case, the relevant error is displayed and sdo will exit.
6. Validator software
Select the validator software to deploy on the server. In testnet’s case, following are the options.
? Choose validator type (Use arrow keys)
❯ Agave
Firedancer
✔ Choose validator type Agave
In mainnet’s case, the options are as below
? Choose validator type (Use arrow keys)
❯ Jito
Firedancer
✔ Choose validator type Jito
7. Validator identity public key
Now choose between providing the Identity public key for validator or generate new one. Default is No meaning you will have to provide public key of existing keypair.
? Do you want to generate a new validator identity keypair? (y/N)
✔ Do you want to generate a new validator identity keypair? No
✔ Enter the existing validator identity keypair 32nTAQSAxzSbvURguFvfz5FX1g4enbvgyttMYHr1KJqM
After entering the public key, sdo is going to ask you to place the keypair at ~/.sdo/keys
directory with name of the keypair as <publickey>.json
Make sure the keypair exists at ~/.sdo/keys/32nTAQSAxzSbvURguFvfz5FX1g4enbvgyttMYHr1KJqM.json
8. Server Name
For your own purpose, you can given the validator server a name which will be stored in slv config
for the validators. Default name will be public key of the validator if you don’t provide one.
? Enter a name for the validator (32nTAQSAxzSbvURguFvfz5FX1g4enbvgyttMYHr1KJqM)
✔ Enter a name for the validator 32nTAQSAxzSbvURguFvfz5FX1g4enbvgyttMYHr1KJqM
9. Validator vote key
You have to choose between providing the vote public key for validator or generate new one. Default is No meaning you will have to provide public key of existing keypair.
? Do you want to generate a new validator vote keypair? (y/N)
✔ Do you want to generate a new validator vote keypair? No
✔ Enter the existing validator vote keypair hsCzPbphXyJnwxXfD5HfpjT5vgYZvLKSU7ZLrVxDSLV
After entering the public key, sdo is going to ask you to place the keypair at ~/.sdo/keys
directory with name of the keypair as <publickey>.json
Make sure the keypair exists at ~/.sdo/keys/hsCzPbphXyJnwxXfD5HfpjT5vgYZvLKSU7ZLrVxDSLV.json
10. Validator authority key
As a last step, select between providing the authority public key for validator or generate new one. Default is No
meaning you will have to provide public key of existing keypair.
? Do you want to generate a new validator authority keypair? (y/N)
✔ Do you want to generate a new validator authority keypair? No
✔ Enter the existing validator authority keypair DCfCsPvYV5qnxWdDgrgpzh3A2jPKPfgzg8J58PaAWZyX
After entering the public key, sdo is going to ask you to place the keypair at ~/.sdo/keys
directory with name of the keypair as <publickey>.json
Make sure the keypair exists at ~/.sdo/keys/DCfCsPvYV5qnxWdDgrgpzh3A2jPKPfgzg8J58PaAWZyX.json