Hello frens!
We have prepared a script for you that will help you install a Unichain node with just one click!
1. First of all, purchase a server from Contabo or Spacecore.
Server specifications:
• 6 vCPU Cores
• 16 GB RAM
• 400 GB SSD
2. Set up the server on your PC.
Log in using the command root@ip
.
But before that, we recommend securing your server. Read more in our article.
3. Check the ports before installation.
The Unichain node uses the following ports:
TCP ports:
30303
8545
8546
9222
9545
UDP ports:
30303
9222
Before installing the node, make sure these ports are not in use.
What are ports and what role do they play in nodes? — Read more
4. Install the script.
Run the following command and download:
sudo curl -s https://raw.githubusercontent.com/dknodes/unichain-node/main/uniswap_node.sh -o uniswap_node.sh && sudo chmod +x uniswap_node.sh && sudo ./uniswap_node.sh
To use the commands, press the appropriate number and then the “enter”.
5. To install the node, press the first command and then “enter.”
🎉 Сongratulations, the node is installed!
6. Check the logs.
Press the 3rd command and then “enter.”
Then press the 4th command and “enter”.
And finally the 5th command and “enter.”
If everything matches the screenshots, the node is successfully installed and running.
You can stop the node with command 6 and exit with command 0.
7. Change RPC
If you want to change the public RPC, modify the file with the following command:
nano .env.sepolia (in the {$HOME}/unichain-node directory)
Edit OP_NODE_L1_ETH_RPC
and OP_NODE_L1_BEACON
.
Then run the script:
./uniswap_node.sh
and press 2, the node will restart.
Previous articles:
🗺️ All the info on nodes, giveaways, educational content, and research will be on our sources — DKNODES, GitHub and X (Twitter).
Thanks for your attention, node runners!