# UNICHAIN NODE PER ONE CLICK! 🔥

By [DK Nodes](https://paragraph.com/@dk-nodes) · 2024-11-25

---

**First of all, purchase a server from** [**AEZA**](https://aeza.net/?ref=583653)**,** [**Contabo**](https://contabo.com/en/) **or** [**Spacecore**](https://billing.spacecore.pro/billmgr?from=56688)**.**

**Server specifications:**

• 6 vCPU Cores  
• 16 GB RAM  
• 400 GB SSD

**1\. 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.](https://mirror.xyz/0x52277ABcbC9F8F71CdC7FFf2415c60040e2566d2/DwmqfcEe7XOfdCcVgkHXj5sjSHx_RncHEIrIFdA7Fw0)

![](https://storage.googleapis.com/papyrus_images/d5211c891cbc0976248b81d1f500fd858ac75d828e2e366be4ad933e9bb3add4.png)

**3\. Check the ports before installation.**
============================================

**The Unichain node uses the following ports:**

**TCP ports:**  
30301  
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_**](https://mirror.xyz/0x52277ABcbC9F8F71CdC7FFf2415c60040e2566d2/TAnrAafsfbqLMqc_f8QSKjl59SfBD92PBK7a18BMVFw)

**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
    

![Command 1 — install nodeCommand 2 — restart node.Command 3 — check node.Commands 4 and 5 — check logs.Command 6 — disable node.Command 7 — exit.](https://storage.googleapis.com/papyrus_images/67bff8ff7a11db28559209ad33c221988249ab823de1a417979e440fef4bce34.png)

Command 1 — install nodeCommand 2 — restart node.Command 3 — check node.Commands 4 and 5 — check logs.Command 6 — disable node.Command 7 — exit.

To use the commands, press the **appropriate number** and then the **“enter”.**

**5\. To install the node, press the first command and then “enter.”**
======================================================================

![](https://storage.googleapis.com/papyrus_images/7c92adbb12a51826c23935a9180d3a8538c7b421e48bdb10e54a9d0784467caf.png)

**🎉 Сongratulations, the node is installed!**

**6\. Check the logs.**
=======================

Press the **3rd command and then “enter.”**

![](https://storage.googleapis.com/papyrus_images/0de3b68e812ad9c2fcd70a02b0f6e189c648b51073d470ce6f7ac6a36e778b15.png)

Then press the **4th command and “enter”.**

![](https://storage.googleapis.com/papyrus_images/4869e11ae265bf39abdc8a4b946dc4cf33793418a1a10ea922eefc87e221fa4f.png)

And finally the **5th command and “enter.”**

![](https://storage.googleapis.com/papyrus_images/00edc9eee33871fbe4868314734b982b7b3ce0ea44a7db724d74cfd59619796e.png)

> _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.**

![](https://storage.googleapis.com/papyrus_images/8d75525bf52dbe76836809766bbc2678bb376040a1ce7a831b1026ed9eb5056e.png)

**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.

![](https://storage.googleapis.com/papyrus_images/2ebede17be6afe7e42a1f42b145e656ffac2578314926e532b20bf1187d5a69a.png)

**Previous articles:**

*   [Tutorial on Nodes | Part 1](https://mirror.xyz/0x52277ABcbC9F8F71CdC7FFf2415c60040e2566d2/Jr2eHiBXyxvbg-2cWlCruP7Rw60E61-QTYHtptgYRWQ)
    
*   [Where to buy servers for nodes](https://mirror.xyz/0x52277ABcbC9F8F71CdC7FFf2415c60040e2566d2/el_uy4gectpMbhMQsIuYhoIDKr3qlfSUyY3kSXdPAzw)
    
*   [Why Securing Your Server Is Important and How to Do It](https://mirror.xyz/0x52277ABcbC9F8F71CdC7FFf2415c60040e2566d2/DwmqfcEe7XOfdCcVgkHXj5sjSHx_RncHEIrIFdA7Fw0)
    
*   [The Importance of Using Different Ports When Running Multiple Nodes on One Server](https://mirror.xyz/0x52277ABcbC9F8F71CdC7FFf2415c60040e2566d2/TAnrAafsfbqLMqc_f8QSKjl59SfBD92PBK7a18BMVFw)
    
*   [What is Docker?](https://mirror.xyz/0x52277ABcbC9F8F71CdC7FFf2415c60040e2566d2/jRz0GkCD8_O_MOgZ5DHWxUkzDPLw42t8WFF5aWrdlhg)
    

* * *

🗺️ All the info on nodes, giveaways, educational content, and research will be on our sources — [DKNODES](https://t.me/dknodes), [GitHub](https://github.com/dknodes), and [X (Twitter)](https://x.com/dknodes).

**Thanks for your attention, node runners!**

![](https://storage.googleapis.com/papyrus_images/02ddbd3f2a454682a8b12465715cb7066794a55c247488668b1ef4942b9eadb8.png)

---

*Originally published on [DK Nodes](https://paragraph.com/@dk-nodes/unichain-node-per-one-click)*
