Guide to Set-up Pi Node + Technical Preparation (Windows 10 & Mac)

On 3 January 2009, the bitcoin network came into existence with Satoshi Nakamoto mining the genesis block of bitcoin (block number 0), which had a reward of 50 bitcoins. Ever since, potential usage of cryptocurrencies and its underlying blockchain technologies captivated attractions of many around the globe.

On 13 March 2019, an app called Pi Network was released on App Store and Google Play which is a cryptocurrency that allows users to gain Pi coins on their phones. According to Pi Network’s roadmap this project contains 3 main phases, Phase 1 – Design, Distribution, Trust Graph Bootstrap, Phase 2 – Testnet and Phase 3 – Mainnet. Pi Network (Pi) entrened Phase 2 on Pi day 2020 and with release of Pi Node Beta for computers Pi continues to gain momentum. (For a complete introduction to Pi Network click here.)

In this article, we will take a look at Pi Node app for computers and show you the necessary steps to set up Pi Node along with Node technical preparation installation for Mac and Windows.

Pi Node Detailed roadmap

Unlike Bitcoin that uses proof of work (PoW) system, where miners require heavy computational power to contribute to the mining network, Pi Network is built on the Stellar Consensus Protocol (SCP) which enables Pioneers (nickname for Pi users) to mine without wasting enormous amount of electricity. You can learn more about the Stellar Consensus Protocol by watching this short, 7 min explanation video or checking out this technical summary of SCP.

According to the Node info, there are three levels of participation to use the Pi Node software on computers. Pioneers can take part as a Computer App, Node or SuperNode, with requirements as shown below.

Three levels of participation

 

Testnet will be composed of three stages which are Selection Stage, Revision Stage and Live Testnet.

Testnet stages

Click here for more information about Pi Node.

Download and Connect Pi Node

STEP 1. Download Pi Node Beta for your computer by clicking here.

Download Pi Node Beta

STEP 2. Install Pi App and open it, then clock on ‘LOGIN’.

Pi App


STEP 3. A similar code such as shown in the picture below will be given, in order to connect your Computer App and your phone App you should enter this code to your Pi Network phone App.

Open the Pi Network app on your phone, then go to menu and enter the given code in the ‘Node’ section.

Sign in Pi app
Node Sign-in page
Confirm sign-in

Pi Node Application Request

STEP 1. On your Pi Node computer App Click on ‘Node’.

Pi Node computer App

 

STEP 2. Click on ‘APPLY’.

Pi Node

 

STEP 3. Fill up the form and submit your request.

Submit request

Install Docker

Core team will review your submitted request to be Node or Super Node and after their approval, you will need to do some additional steps.

STEP 1. On your computer, open Pi App, then click on ‘Node’ the click on ‘CONTINUE’

Pi Node submitted

STEP 2. Click on ‘Install Docker’.

Node technical prep

 

STEP 3. Click on ‘Download Docker’.

Docker download

 

STEP 4. Download Docker Desktop for your operating system and complete the Setup. During installation, if there are access requests from the Docker, Accept to complete the installation.

Docker Desktop

After installing the correct version of Docker which is compatible with your operating system, reset your device.

Attention, if Docker is not installed properly or if the installed Docker version is not suitable for your operating system, router ports will not open.

Node Technical Preparation (windows 10 pro)

STEP 1. Click on ‘Open router ports’, here we are told that Pi nodes communicate with each other through 10 (31400-31409) TCP/IP router ports. These ports need to be opened on the firewall and be redirected from the router (internet modem) to your computer.

Open router ports

 

STEP 2. Go to Windows Defender firewall then click on Advance Settings. then click on Inbound Rules which is shown with a red rectangle in the picture below.

Windows Defender firewall

STEP 3. Click on ‘Inbound Rules’ which is shown with a red rectangle in the picture below.

New rule

 

STEP 4. Click on ‘New rule’ which is shown with a red rectangle in the picture below.

New rule

 

STEP 5. Select on ‘Port’, then click on ‘Next’.

Select Port

 

STEP 6. In the ‘Specific local ports’ section type ‘31400-31409’’, then click on ‘Next’.

 

STEP 7. Click on ‘Next’.

 

STEP 8. Click on ‘Next’.

 

STEP 9. In the ‘Name’ section, type any name, then click on ‘Finish’.

This is the end of opening the ports on the firewall, now we need to do the router ports.

STEP 10. Before moving on to router ports, we need to know IPv4 Address and Default Gateway Address, to find these addresses type ‘Command Prompt’ in the search section of your windows.


STEP 11.
Once Command Prompt is open, type ‘ipconfig’ then press ‘Enter’ on your keyboard.


STEP 12. IPv4 Address and Default Gateway Address can be found here. Remember these two addresses because you will use them in next steps.

STEP 13. Open an empty browser page and enter your Default Gateway address and press ‘Enter’.

STEP 14. Enter your Username and Password, If this is the first type you are entering your Username and Password can be found behind your router (internet modem). If you can not find your Username and Password call your internet provider and ask them.


STEP 15. Once you enter the router settings, find the ‘PORT FORWARDING’ section, then click on ‘new’ and for LAN IP enter IPv4 Address which you learned in Step 12. Protocol type is TCP, and for LAN port and WAN port type ‘31400:31409’. Click on ‘ENABLED’ then save it.

Tips: Routers use different settings, your might look different than the picture below but principle stays the same, most routers have PORT FORWARDING section yours might be name different or be an option under another category. Make it look everywhere if you do not find it, give your Internet provider a call and ask them. LAN port and WAN port might also have different names in your outer settings.

Node Technical Preparation (mac)

It is assumed that you were able to install Docker properly on your Mac.

STEP 1. After running Docker on your Mac. Click on the Apple icon on top right of your screen then click on ‘System Preferences…’.


STEP 2. Search ‘Security & Privacy’.

 

STEP 3. Select ‘Firewall, Then unlock this option by clicking on the lock which can be seen in the bottom part of the picture below to allow access to the Firewall Options. Then turn on the Firewall.

 

STEP 4. A popup will appear, make sure to tick everything except ‘Block all incoming connections’ and ‘Enable Stealth mode’.

Make sure that Docker has the ‘Allow incoming connections’ status.

 

STEP 5. 10 router ports must be enabled. In order to do this step go to ‘System Preferences’ and search ‘Network’.

 

STEP 6. Once you are in the Network section, Click on ‘Advance’ which will open the picture below. Here instead click on the ‘TCP/IP’ option, here take a note of your ‘IPv4 Address’ and ‘Router’ Address.

 

STEP 7. Open an empty browser page and enter your Default Gateway address and press ‘Enter’.

 

STEP 8. Enter your Username and Password, If this is the first type you are entering your Username and Password can be found behind your router (internet modem). If you can not find your Username and Password call your internet provider and ask them.

 

STEP 9. Once you enter the router settings, find the ‘PORT FORWARDING’ section, then click on ‘new’ and for LAN IP enter IPv4 Address which you learned in Step 12. Protocol type is TCP, and for LAN port and WAN port type ‘31400:31409’. Click on ‘ENABLED’ then save it.

Tips: Routers use different settings, your might look different than the picture below but principle stays the same, most routers have PORT FORWARDING section yours might be name different or be an option under another category. Make it look everywhere if you do not find it, give your Internet provider a call and ask them. LAN port and WAN port might also have different names in your outer settings.

Control Ports

After completing all the steps return to the Pi App on your computer and go to the Node page.

STEP 1. Click on the ‘Check Now’ button. The app should control all the ports and their status should be OPEN. Then, click on the ‘Continue’ button.

 

STEP 2. Caongratulations! Your computer is now ready to participate in the Pi Network Testnet.

 

Make sure to leave a comment and share this article with others. If you have future questions let’s have a conversion in the comment section below.