Skip to content

omiDBaghi/Aptos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

Aptos AIT3 Registration

To participate in the AIT-3 program, follow the below steps. Use these steps as a checklist to keep track of your progress. Click on the links in each step for a detailed documentation.

Sign-in, connect Wallet and complete survey

  1. Navigate to the Aptos Community page and follow the steps, starting with registering or signing in to your Discord account.

  2. Before you click on Step 2 CONNECT WALLET:

  • Delete any previous versions of Aptos Wallet you have installed on Chrome
  • Install the Petra (Aptos Wallet) extension using Step 3 instructions, and
  • Create the first wallet using Step 4 instructions.
  1. Install the Petra (Aptos Wallet) extension on your Chrome browser by following the instructions:
  • Download the latest Petra Wallet release and unzip.
  • Open a Chrome window and navigate to the Extensions using any of the below methods:
    • At the top right corner of the browser window, click the three vertical dots and then More tools and then Extensions, or
    • On a new tab or a window type chrome://extensions in the URL field and press return.
  • Enable Developer mode at the top right of the Extensions page.
  • Click on Load unpacked at the top left, and point it to the folder where you just unzipped the downloaded Wallet release.

Now you will see Wallet in your Chrome extensions.

  1. Create the first wallet using Petra (Aptos Wallet). This first wallet will always be the owner wallet
  • Open the Aptos Wallet extension from the Extensions section of the Chrome browser, or by clicking on the puzzle piece on top right of the browser and selecting Aptos Wallet.
  • Click Create a new wallet.
  • Make sure to store your seed phrase somewhere safe. This account will be used in the future.
  1. Navigate to AIT3 Registration Page and click on Step 2 CONNECT WALLET to register the owner wallet address to your Aptos Community account. The Aptos team will airdrop coins to this owner wallet address.

  2. Click on the Step 3 COMPLETE SURVEY to complete the survey.

  3. Next, proceed to install and deploy the validator node.

Deploy the validator node and register the node

Hardware requirements:

For running an Aptos node on incentivized testnet we recommend the following:

  • CPU: 8 cores (Intel Xeon Skylake or newer)
  • Memory: 32GB RAM
  • Storage: 300GB (You have the option to start with a smaller size and adjust based upon demands)

Set up your aptos validator

Automatic Use script below for a quick installation

wget -qO aptos_validator.sh https://raw.githubusercontent.com/omiDBaghi/aptos/main/aptos_validator.sh && chmod +x aptos_validator.sh && ./aptos_validator.sh

Post installation

When installation is finished please load variables into system

source $HOME/.bash_profile

Check your node health

  1. Navigate to https://ait.aptos-node.info/
  2. Enter your node public IP address and change API port to 80
  3. You should see data like in example below:

Register your validator node

  1. Come back to the Aptos Community page and register your node by clicking on Step 4: NODE REGISTRATION button.

  2. Provide the details of your validator node on this node registration screen, all the public key information you need is in the ~/$WORKSPACE/keys/public-keys.yaml file (please don't enter anything from private keys).

cat ~/$WORKSPACE/keys/public-keys.yaml
  • OWNER KEY: the first wallet public key. From Settings -> Credentials
  • CONSENSUS KEY: consensus_public_key from public-keys.yaml
  • CONSENSUS POP: consensus_proof_of_possession from public-keys.yaml
  • ACCOUNT KEY: account_public_key from public-keys.yaml
  • VALIDATOR NETWORK KEY: validator_network_public_key from public-keys.yaml
  1. Next, click on VALIDATE NODE. If your node passes healthcheck, you will be prompted to complete the identity verification process.

The Aptos team will perform a node health check on your validator, using the Node Health Checker. When Aptos confirms that your node is healthy, you will be asked to complete the KYC process.

  1. Wait for the selection announcement. If you are selected, the Aptos team will airdrop coins into your owner wallet address. If you do not see airdropped coins in your owner wallet, you were not selected.

Useful commands

Check validator node logs

docker logs -f testnet-validator-1 --tail 50

Check sync status

curl 127.0.0.1:9101/metrics 2> /dev/null | grep aptos_state_sync_version | grep type

Restart docker container

docker restart testnet-validator-1

Clean up preveous installation

(WARNING!) Before this step make sure you have backed up your Aptos keys as this step will completely remove your Aptos working directory

cd ~/$WORKSPACE && docker-compose down; cd
rm ~/$WORKSPACE -rf
docker volume rm aptos-validator
unset NODENAME

About

Aptos Validator setup for Devnet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages