Getting Started with NavPi StakeBox
Staking Navcoins is the process of securing the network with your coin weight, which in turn rewards you with new Navcoins. You can buy a NavPi StakeBox here.
This quick guide will show you the steps to take to start staking with your NavPi using the web interface. This guide assumes you have some basic knowledge of how to use Linux OS.
Note: This guide is for reference only and we cannot be held responsible for any loss or theft of wallet data. Please make sure you backup your wallet and passphrase in a variety of locations.
What you will need
Assemble your hardware
- Connect your HDMI cable to your TV/Monitor
- Connect your Keyboard & Mouse
- Insert your NavPi microSD card into the SD slot (If purchased separately)
- Connect the micro USB power adapter
NavPi Login Credentials
By default when your NavPi StakeBox boot up it should automatically log you in to the Desktop. However, for future reference below is the current default login details for the NavPi StakeBox:
Username: pi
Password: navpi101
The NavPi StakeBox also has a web interface, which we will be using to configure the NavPi StakeBox. The default password for this web interface is:
Password: nav
Connecting to your Internet
Before we start configuring the NavPi StakeBox we must first make sure that we have an internet connection in order to download the blockchain and start staking. There are currently two options with the NavPi StakeBox; firstly you can connect and Ethernet cable from your router/switch or you can connect to your local Wi-Fi router using the built-in Wi-Fi.
Wi-Fi
To connect to your wireless router follow these steps:
- When your StakeBox boots into the NavPi desktop you will see a menu bar in the upper right hand side.
- Here you should see an icon with two red crosses on it, which indicates that the Wi-Fi is not connected to a wireless router. Click on this icon and you should see a list of available Wi-Fi hotspots, where you should see the name of your local router.
- Click on the name of your local hotspot and then enter your Wi-Fi password to connect to it. Note: your Wi-Fi SSID and password can usually be found on the back of your router or in the manual.
- Once you have connected you should see the Wi-Fi icon change and if you hover your mouse of it you will see your IP address and other information about the wireless connection
Ethernet
Ethernet is as simple as connecting an Ethernet cable from your StakeBox to the back of your router, you should see a green light on the Ethernet port on your StakeBox to indicate that it has successfully connected. For Ethernet DHCP settings you will need to refer to your instruction manual for your router.
Finding your local IP address
In order for you to connect to the NavPi web interface you will need to know the IP address of your NavPi StakeBox. You can do this in the Desktop interface or using the command line in the Terminal window.
To find the IP address you can simply hover your mouse cursor over the Wi-Fi symbol and after a few seconds your network information will pop up with your current IP address.
If you open up the Terminal you can type in the following from the command line to find your IP address:
ifconfig
Where eth0 is your ethernet connection and wlan0 is your Wi-Fi conenction. Under these sections you should see your IP address next to inet address.
Login to the Web interface
On your computer/laptop device you will need to open up a new web browser page. In the URL address bar you will then need to enter your IP address of your NavPi StakeBox in the following format, replacing the IP address with your IP address:
http://192.168.0.1/
You may receive a wanting about an unsafe certificate, you can simply ignore this.
Once the web page loads you can then enter the default password, which is nav, to login.
You are now logged into the Web interface of the NavPi StakeBox.
Change NavPi default password
It is highly recommended that you change the default password for the web interface to prevent any unauthorised access to your StakeBox. Open up the web interface and then go to Control in the top menu.
On the next screen you should see a button labelled Change UI Password, click on this.
Enter a new password then click Change password to save the settings.
Encrypting your NavPi wallet
Before you proceed and start sending Navcoins to your wallet you MUST encrypt it with a secure password. To encrypt your wallet open up the web interface and go to Control, just like we did in the previous example.
In the control web interface, scroll down to the Security section at the bottom of the page.Type in the password that you want to use to sucre your wallet next to the Encrypt Wallet field and click on Encrypt Wallet.
Note: Make sure you remember your password otherwise you will NOT be able to recover or access your Navcoins.
Now you will need to restart your NavPi StakeBox, which in turn restarts the wallet server. To restart from the web interface go to Control from the main menu and then click on Power and then Restart.
Download Bootstrap blockchain
The blockchain is essentially a large database of all transactions and your wallet must be fully synchronised with this blockchain in order to be staking and to transfer coins to your wallet. You will need to access the command line in order to download the blockchain. You can do this by opening a new Terminal window on the NavPi Desktop.
In the command line type in the following commands:
/home/stakebox/navcoin-4.1.1/bin/navcoin-cli -datadir=/home/stakebox/.navcoin4 stop
Temporarily backup your wallet just in case:
cp /home/stakebox/.navcoin4/wallet.dat /home/stakebox/wallet.bkup.dat
Delete the old blockchain if it is there and download the latest bootstrap file:
cd /home/stakebox/.navcoin4
sudo rm -rf blocks/ chainstate/
sudo wget -N https://build.nav.community/bootstrap/bootstrap-navcoin-4.1.0.tar
Extract the bootstrap:
sudo tar -xvf bootstrap-navcoin-4.1.0.tar
rm bootstrap-navcoin.tar
chown -R www-data:www-data chain state blocks
Start up the Navcoin daemon:
sudo -u www-data /home/stakebox/navcoin-4.1.1/bin/navcoind -datadir=/home/stakebox/.navcoin4-zapwallettxes
Verify the daemon is running:
ps -ef | grep nav
The web user interface should be accessible within about 5-20 mins.
Once the Navcoin application has finished synchronizing the blocks and as long as your wallet is unlocked and you have coins in your wallet, the staking process will begin automatically.
For further information on the Navcoin cryptocurrency please visit https://navcoin.org and if you have any queries you can visit the community channel https://navcommunity.net