How to Setup and Run a Node on AirDAO
Last updated
Last updated
On AirDAO there is one type of Node, known as an Apollo Node. Apollo nodes secure the AirDAO Blockchain, and collectively validate transactions on the network to enable the creation of new blocks.
Stake Requirements for Managing an Apollo Node: As a proof of stake blockchain, a minimum amount of 400,000 AMB is required to run an Apollo Node on the Ambrosus Network. Smaller amounts of AMB can be delegated to existing Apollo Nodes on the AirDAO Network.
Server Requirements for Running an Apollo Node: A typical DigitalOcean node with 2 GB RAM, 2 CPUs, 60 GB SSD disk, and 3 TB transfer is recommended as a minimum for operating an Apollo Node.
AirDAO currently uses an OpenEthereum fork as node software.
Visit https://airdao.io/explorer/node-setup/, link your MetaMask wallet for node setup via βConnect walletβ button, and select the AirDAO network.
Consider generating a new wallet address as your second step for increased security. You can use a separate address for all node transactions, eliminating the necessity to hold funds in the node address.
Once the node is initiated, the Apollo nodes list on the website will display the chosen βNode Address.β
For increased security, selecting a separate wallet address for managing your node is advisable. βNode Ownerβ can manage several nodes at the same time.
You can also modify the node owner address on the dashboard page. Simply ensure youβre using the Node Ownerβs address in your MetaMask wallet. Visit https://airdao.io/explorer/apollo/ and find your node in the list. Opening the node will reveal an additional menu, providing you with management options.
Kindly note that the transaction to deduct AMB for launching the node will originate from this address. Furthermore, itβs essential to recognize that a single Node owner can manage multiple nodes, each assigned a different node address.
Designate the address where your node rewards will be received. It can be another wallet address or a Node Owner address. Utilize the dropdown button to select the addresses chosen in the preceding steps. You will have the flexibility to update this address later via the node dashboard.
Specify the quantity of AMB you wish to stake. Node rewards are dynamic and contingent on the staked AMB amount.
Notice that the minimum staking position size is specified in the βinputβ field, and you must enter a value not lower than the specified amount. Additionally, when entering the amount, ensure that the βNode Ownerβ is chosen in MetaMask.
You can adjust the stake size later on the node dashboard. If you reduce the stake size or retire your node, your funds will be returned to your wallet 15 days after the transaction confirmation.
Please note that not all active nodes will participate in blockchain validation and receive rewards. The AirDAO Council will decide the specific number of validating nodes in the blockchain, and this number may be subject to change in the future. To increase the likelihood of your node becoming a validator, please review the nodes list and ensure that your stake size is significant enough to rank among the top nodes with the largest stake size. Nodes with smaller stake sizes may be placed on a waiting list. If your stake size is insufficient for running a node, consider the AMB Staking program as an alternative.
You will be directed to a page displaying the provided information upon confirming the node launch amount. Here, you can review the details, modify pre-established addresses by selecting the βchangeβ button, and, if necessary, return to the previous steps.
Please note that the transaction to debit the specified amount for launching the node will be executed from the node ownerβs address. Therefore, itβs crucial to ensure that:
Sufficient AMB is available at this address;
This address is selected and accessible in your Metamask wallet at this stage.
Failure to meet these conditions may result in the transaction being canceled.
Once the transaction is successfully completed, you will receive a confirmation and the command required to initiate the node on the VPS server.
Command to launch the node:
source <(curl -s https://raw.githubusercontent.com/ambrosus/airdao-nop/master/setup.sh)
A Virtual Private Server offers users the unique ability to operate their server within a shared physical infrastructure. To illustrate, envision it as securing an office space in a vast building. You own the space and can tailor it to our specific requirements, yet other individuals collectively use the building.
The term βVirtual Private Serverβ is aptly named because it relies on virtualization technology, enabling the host, in our case, DigitalOcean, to partition a single server into multiple distinct ones. The attribute βprivateβ indicates that the server is exclusively accessible by you, and resources, like RAM, CPU, and storage, are allocated solely to your server, as defined during the VPS setup.
Our VPS serves as the hub for setting up and operating our node. Instead of running nodes on our personal desktop machines, leveraging a VPS provides numerous advantages, including robust availability, simplified setup and configuration, and potential for future expansion and scalability.
To start, initiate the process by establishing an account on DigitalOcean. After successful registration, login and create a βNew project,β giving it a suitable name.
When prompted to specify the type, opt for βService or API.β If thereβs an inquiry regarding relocating resources, kindly disregard it.
Now, navigate to your freshly created project. With this project in place, itβs time to introduce our VPS server, which DigitalOcean calls a βDroplet.β
Access the βCreateβ tab and select βDropletβ from the menu atop the page. At this juncture, itβs vital to specify the configuration and details of our server.
Choose the following options:
Select any data center region β AirDAO developers suggest picking the closest server to your location;
Ubuntu 22.04 x64. Please note this operating systemβs version is not selected by default;
Basic Plan;
CPU options β regular, $18 / month with 2 CPU / 2 GB memory / 60 GB SSD storage;
Additional storage β skip;
Add and select your SSH key or set up a password (it is recommended to add SSH key to increase security);
Name the droplet and assign it to our project;
Click βcreate dropletβ and wait until the server starts running. Youβll be brought to another page where you can see the status of your server as it spins up.
After the server starts, it will appear in the list of available servers. Double-click on the server name to open a page with detailed information about the VPS server. In the upper right corner, click the βConsoleβ button to open the command line.
Follow these steps for node installation:
Begin by pasting the command mentioned at the end of the initial part of this guide into the Command Prompt (CMD) to commence the node installation process.
(source <(curl -s https://raw.githubusercontent.com/ambrosus/airdao-nop/master/setup.sh)
Once the installation process concludes, with the latest updates installed, youβll observe the AirDAO logo displayed on the command line.
The next prompt will ask you to select the network you wish to operate on, and you should choose βmain.β
Subsequently, youβll be prompted to input the private key or generate a new key automatically. Pick the first option and use the key associated with the address where the node is currently active. You can find this key in your MetaMask wallet. Go to Account details by clicking on the three dots adjacent to your account name.
After the key is accepted, you must specify the nodeβs IP in agreement with the VPS server address, which is automatically determined.
This concludes the node launch process. Await a notification confirming a successful launch and a message indicating the time until the node becomes operational. This time frame signifies the minimum duration the node must be online for a successful launch.