Hardware Requirements

Software Requirements

Aptos Validator

Install Docker

sudo apt-get remove docker docker-engine docker.io containerd runc
sudo apt-get update

sudo apt-get install \\
    ca-certificates \\
    curl \\
    gnupg \\
    lsb-release

sudo mkdir -p /etc/apt/keyrings
curl -fsSL <https://download.docker.com/linux/ubuntu/gpg> | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg

echo \\
  "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] <https://download.docker.com/linux/ubuntu> \\
  $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

sudo apt-get update

sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin

Aptos CLI

~~# Release page
[<https://github.com/aptos-labs/aptos-core/releases?q=cli&expanded=true>](<https://github.com/aptos-labs/aptos-core/releases?q=cli&expanded=true>)

# Download your corresponding os zip
wget <https://github.com/aptos-labs/aptos-core/releases/download/aptos-cli-v0.3.1/aptos-cli-0.3.1-Ubuntu-x86_64.zip>

# Unzip binary
unzip aptos-cli-0.3.1-Ubuntu-x86_64.zip

# Move it to bin
sudo mv aptos /usr/local/bin/

# Clean up
rm aptos-cli-0.3.1-Ubuntu-x86_64.zip

aptos help

# If you get this error
aptos: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

# Proceed with
wget <http://nz2.archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.16_amd64.deb>
sudo dpkg -i libssl1.1_1.1.1f-1ubuntu2.16_amd64.deb
rm libssl1.1_1.1.1f-1ubuntu2.16_amd64.deb

# Try again
aptos help
aptos 0.3.1
...~~

***** **For AIT-3, you should install 0.3.2 instead ***

wget <https://github.com/aptos-labs/aptos-core/releases/download/aptos-cli-v0.3.2/aptos-cli-0.3.2-Ubuntu-x86_64.zip>

# unzip to /usr/local/bin/aptos
unzip aptos-cli-v0.3.2/aptos-cli-0.3.2-Ubuntu-x86_64.zip
sudo mv aptos /usr/local/bin/

Validator configurations

export WORKSPACE=testnet
export USERNAME=LydiaLabs
mkdir ~/$WORKSPACE
cd ~/$WORKSPACE

# Get docker config file
wget <https://raw.githubusercontent.com/aptos-labs/aptos-core/main/docker/compose/aptos-node/docker-compose.yaml>
wget <https://raw.githubusercontent.com/aptos-labs/aptos-core/main/docker/compose/aptos-node/validator.yaml>

# Generate genesis keys
aptos genesis generate-keys --output-dir ~/$WORKSPACE/keys

Node configuration