Wallet Installation Guide for Staking on Raspberry PI

Similar documents
Masternode Setup Guide Local Wallet with VPS Server

What you need: 5001 AEG. Computer with wallet installed. Make sure the wallet contains the Masternode Collateral of at least 5001 AEGEUS

SmartCash SmartNode SCRIPT Setup Guide v2.2. Windows 10. Date: 20/02/2018. By (Jazz) yoyomonkey

SmartCash SmartNode Setup Guide v1.2. Windows 10. Date: 13/01/2018. By (Jazz) yoyomonkey

SmartCash SmartNode Setup Guide V1.2 Windows 10 13/01/2018 By (Jazz) yoyomonkey Page 1

This guide assumes that you are setting up a masternode for the first time. You will need:

LOCAL WALLET (COLD WALLET):

Contents. Crave Masternode Setup Guides. Single / Multiple Local Masternode(s) Single Masternode using a VPS. Multiple Masternodes using a VPS

(Ubuntu 16.04) This guide will assist you in setting up an Aegeus Masternode on a Linux Server running Ubuntu (use at your own risk).

DogeCash Masternode Setup Guide Version 1.2 (Ubuntu 16.04)

Cold Masternode Guide

MTI Coin. MTI Coin. Hot Cold Wallet Masternode VPS setup Guide

Masternode Setup Guide

We will create an address, private key and transaction for each masternode (MN in the following) and show the necessary steps for configuration.

Rover Coin. Hot Cold Wallet Masternode VPS setup Guide

CazCoin VPS Masternode Setup December 2018

Flex Linux Masternode with Windows Cold Wallet

Relarium (RLM) Masternode Guide for VPS

MarketC - Masternode Setup Guide

50,000 THC (have an additional.01 THC available to cover transaction costs)

Nyerium Hot Cold Masternode Guide

LINUX VPS GUIDE. Pre-requisites: (this guide assumes you are using windows)

SUB1X Masternode Setup Guide: LINUX Version

Dixicoin (DXC) Masternode Guide for VPS

Masternode Guide Version 1.0.4

Rabbit Linux Masternode with Windows Cold Wallet

COLD WALLET STEP BY STEP SETUP TUTORIAL FOR BEGINNERS

Controller-Cold-Setup

Setting up a Chaincoin Masternode

XLink Kai Raspberry Pi Beginners Tutorial

CazCoin VPS Masternode Setup May 2018

Anonymity and Privacy Blockchain

TECHNOLOGY. Cold Masternode Guide

Beetle Coin Masternodes Guide

NAV Coin NavTech Server Installation and setup instructions

Master Node Setup Guide

Masternode Guide #1. Single masternode on Linux VPS (Ubuntu)+ control wallet on local PC (Windows)

SCRIV NETWORK WINDOWS HOT WALLET MASTERNODE SETUP GUIDE DETAILED

Windows cold wallet managing Linux VPS connected Masternode

Complete Guide to Setting Up Linda on Ubuntu 16 For Staking

WHAT YOU WILL NEED FOR THIS GUIDE:

Anonymity and Privacy Blockchain

Install Guides. Automated Compiler Cold Node (Linux VPS) Absolute. Proof of View

BitcoinMonster Masternode Linux VPS Tutorial - Vultr VPS Created By : Samshak Donet Mon: MKX8PFz1uvBkwNDTXtUuj6KinudhsKZh1K

SAROS MasterNode Guide V1.1

Masternode Guide #1. Single masternode on Linux VPS (Ubuntu)+ Control wallet on local PC (Windows) (VPS installation with script :-) )

SCRIV NETWORK COLD WALLET MASTERNODE SETUP GUIDE DETAILED

VPS SETUP: What is a VPS? A VPS is a cloud server, running on a virtual machine. You can t run a masternode on your computer itself.

AEGEUS Official Aegeus FAQ

Crave Setup Guide v1.07

RETROPIE INSTALLATION GUIDE

Configure router. 26. Start AirPort Utility (located in the Utilities folder). The AirPort Utility window show a component diagram:

Official Aegeus FAQ s

Masternode Setup in VPS server

Create MedicCoin Master Node Instruction Rev2

COLD WALLET + MASTERNODE SETUP ON LINUX

Masternode Setup Guide. HexCash Coin. Masternode Setup Guide Version /

MASTERNODE Setup Guide

Raspberry Pi Setup Tutorial

Masternode&Sentinel Setup Guide

Citizenship Coin. Installation Instructions

KINGSTON COIN VPS MASTERNODE SETUP GUIDE

Adafruit's Raspberry Pi Lesson 6. Using SSH

ZEALIUM WINDOWS MASTERNODE SETUP GUIDE

MASTERNODE SETUP GUIDE

TZC WALLET + HEADLESS WALLET ON LINUX. Local Wallet + PoS Headless Wallet on VPS (Ubuntu 16.04)

5inch HDMI LCD (B) User Manual

This is a step-by-step guide for starting a single BeetleCoin masternode on Windows 7 10 operating systems.

KickSoccer Coin Masternode Setup Guide

Wallet Setup Guide WINDOWS. Version 1 /

Kodaro s Niagara 4 Port Installation Guide

Adafruit PiUART - USB Console and Power Add-on for Raspberry Pi

Renos Local Wallet Masternode Setup

Performing Administrative Tasks

Preparing SD card for Pi

Masternode Setup Guide

SUB1X Masternode Setup Guide: Windows Version

WOLFCOIN MASTERNODE MANUAL

CROWDCOIN MASTERNODE SETUP COLD WALLET ON WINDOWS WITH LINUX VPS

XSN coin. TPoS Setup Guide.

Manual to install experimental firmware on a TYTERA MD380

Bitnami MySQL for Huawei Enterprise Cloud

How to make GCN, bitcoin and other Altcoin Paper Wallet (Cold Storage, Offline Storage)

Bitnami MariaDB for Huawei Enterprise Cloud

More Raspian. An editor Configuration files Shell scripts Shell variables System admin

Bitnami Coppermine for Huawei Enterprise Cloud

Node-RED Dashboard: Pi Control

Install and Configure Ubuntu on a VirtualBox Virtual Machine

Lab 0: Intro to running Jupyter Notebook on a Raspberry Pi

Masternode Setup Guide

Guide to your Plug Computer

Raspberry Pi 2b PART 1. Table of Contents. Step by step guide. 1. Hardware (0:05) RS Online (ex-tax prices)... 3 MSY ebay...

RaspiDigiHamClock. Raspberry Pi Amateur Radio Digital Clock. v WA4EFH R.Grokett

KINGSTON COIN VPS MASTERNODE SETUP GUIDE

Spreedbox Getting Started Guide

PiCloud. Building owncloud on a Raspberry PI

Topics. What is a RaspberryPi? Why should I want one? What is Raspbian? What is SSH? What is FTP? What is LAMP? Making a LAMP Stack!

Parallel Programming Pre-Assignment. Setting up the Software Environment

Adafruit's Raspberry Pi Lesson 1. Preparing an SD Card for your Raspberry Pi

Raspberry Pi NTP Clock Setup Guide

Transcription:

Wallet Installation Guide for Staking on Raspberry PI V2.1 November 2018

CONTENTS 01. Version History... 13 02. Introduction... 3 03. Prerequisites... 13 04. Installation Steps... 6 05. Add an address or transfer funds... 13 06. Conclusion... 22 06.1. Addendum A Add an Existing Address to Your Wallet... 22 06.2. Addendum B Control your Masternodes... 24 06.3. Addendum C Backup Your wallet.dat File to USB Drive... 27 06.4. Addendum D Update your wallet... 27

The Future of Data Management Page 3 of 32 01. Version History Version Date Author Remarks 1.0 August 5 th, 2018 tom_d#9324 Initial document 1.1 August 5 th, 2018 tom_d#9324 Small corrections, changed listaccounts command to listaddressgroupings 1.2 August 8 th, 2018 1.3 August 13 th, 2018 tom_d#9324 tom_d#9324 Fixed some bugs and gave a bit more explanation after user testing Added Addendum C 2.0 September 18 th, 2018 2.1 November 4 th, 2018 tom_d#9324 Updated document template Updated wallet to 2.0.4 Updated bootstrap location Added Addendum D tom_d#9324 Updated wallet to 3.0 Updated bootstrap location Fixed some typos

The Future of Data Management Page 4 of 32 02. Introduction This guide will explain step-by-step how to use the ARM build of the Aegeus wallet to install and configure staking on a Raspberry Pi using the command line interface (CLI). Note: This guide was made on a Raspberry Pi running the full Raspbian OS, but it should probably work on a Ubuntu 16.04 image also. Note2: Other ARM-based systems like the Rock64 may also be able to use these binaries (this has yet to be tested) Why do we want to use CLI instead of GUI (Graphical-userinterface)? The GUI wallet is much more power and memory hungry compared to the CLI version. So next to drawing more power, it will probably be more unstable and may crash from time to time. You want this Pi to be as stable and power-friendly as possible because it will run 24/7 for staking.

The Future of Data Management Page 5 of 32 03. Prerequisites - Raspberry Pi - Raspbian image burned on SD card - Network configured (WIFI or hard wired (preferred)) - SSH enabled

The Future of Data Management Page 6 of 32 04. Installation Steps 1. Open an SSH session to your Pi and login as root (Use your favorite SSH tool for this like terminal, Putty, Bitvise, ). The standard user for a Raspberry Pi running Raspbian is pi. Note: Optionally, you can do this in the terminal on the Pi directly when using a screen/keyboard. ssh pi@<ip address> su - 2. If the password for the root user is unknown to you, you will probably still need to set it as below: sudo passwd root

The Future of Data Management Page 7 of 32 3. Create a working directory. cd /root/ mkdir aegeus cd aegeus 4. Download and extract the wallet. Go to https://github.com/aegeuscoin/aegeus/releases and find the latest ARM build (for example Aegeus-3.0.0-ARM.tar.gz). Download and extract the build to the Pi using the below command: wget https://github.com/aegeuscoin/aegeus/releases/download/2.0.3/aegeus-3.0.0-arm.tar.gz tar -zxvf Aegeus-3.0.0-ARM.tar.gz

The Future of Data Management Page 8 of 32 5. Copy the wallet files to /usr/local/bin to make them accessible from everywhere: cd Aegeus-3.0.0-ARM cp * /usr/local/bin 6. Create the aegeus data directory. mkdir /root/.aegeus cd /root/.aegeus 7. Install Install the bootstrap to make the blockchain sync go (very) fast. wget http://ipfsgw1.aegeus.io/qmysphknjtqvcy7w2dnol5uuue4mewapu15glfgh8loqlh Extract the bootstrap. tar -xvf QmYsPHKNJTqvcy7w2DNoL5UUue4MEwAPu15gLfGh8LoqLH 8. Configure aegeus. nano /root/.aegeus/aegeus.conf Add the following lines to the file. For the X's, press 16+ random keys on the keyboard. You don't need to record or remember these random values: staking=1 rpcuser=xxxxxxxxxxxx rpcpassword=xxxxxxxxxxxxxxxxxxxxxx

The Future of Data Management Page 9 of 32 To exit the nano text editor, type the following: 1. Ctrl+x 2. Yes 3. Enter 9. Configure the aegeus service. nano /etc/systemd/system/aegeus.service Add the following lines to the file: [Unit] Description=Aegeus service After=network.target [Service] User=root Group=root Type=forking #PIDFile=/root/.aegeus/aegeus.pid ExecStart=/usr/local/bin/aegeusd -daemon -conf=/root/.aegeus/aegeus.conf -datadir=/root/.aegeus ExecStop=-/usr/local/bin/aegeus-cli -conf=/root/.aegeus/aegeus.conf -datadir=/root/.aegeus stop Restart=always PrivateTmp=true TimeoutStopSec=60s TimeoutStartSec=10s StartLimitInterval=120s StartLimitBurst=5 [Install] WantedBy=multi-user.target To leave the nano text editor, type the following:

The Future of Data Management Page 10 of 32 1. Ctrl+x 2. Yes 3. Enter 10. Configure the Aegeus service to start when the system starts. systemctl daemon-reload systemctl enable Aegeus.service 11. Clean up history after install. rm /root/.aegeus/qmysphknjtqvcy7w2dnol5uuue4mewapu15glfgh8loqlh rm -rf /root/aegeus 12. (optional) Update the packages on your Pi Before we start the Aegeus wallet for the first time, you can take the opportunity to update all the packages (including firmware) on your Raspberry Pi apt-get update apt-get upgrade 13. Start the Aegeus wallet for the first time. aegeusd -daemon 14. Waiting for the blockchain to sync

The Future of Data Management Page 11 of 32 Type in aegeus-cli getinfo to display general wallet information to determine if wallet is ready staking. Continue to type aegeus-cli getinfo to obtain wallet information. "Blockchain information not yet available" or "Loading block index" just means the wall is still starting, which takes a few minutes and quite a bit longer on a single board computer. aegeus-cli getinfo 15. Encrypt your wallet. Remember to be safe and always encrypt the wallet before holding any Aegeus. Do not lose this password since it needed to unlock the wallet or access funds. The following command provides the wallet with a password: aegeus-cli encryptwallet <mysupercomplexpasswordhere> The wallet will turn off once it has completed encrypting. It needs to be restarted again. systemctl start Aegeus.service Note that the systemctl start command does not give any output. Check if the service was successfully started with systemctl status Aegeus.service or just check aegeus-cli getinfo. systemctl status Aegeus.service aegeus-cli getinfo

The Future of Data Management Page 12 of 32 Note: We prefer using systemctl start over aegeusd -daemon to start the service because systemctl has built in error routines. For example, it will automatically restart the service when it crashes. 16. Unlock the wallet. Now to be able to stake coins unlock the wallet for staking only. Note: To not store your password in the command history, simply put a space before the command. walletpassphrase <passphrase> <unlock time> <for staking/anonymization only true/false> <passphrase> is the passphrase created in the previous step. <unlock time> this is the time the wallet will stay unlocked. Use 0 to enable it forever (or better: until the service restarts). <for staking/anonymization only true/false> For staking only, use true here. for example: aegeus-cli walletpassphrase 6zArYuNpWUrDV2F3N3hdyA 0 true Notice the space before the command to remove the password from the command history cache. Now the coins in the wallet are ready for staking. The process to add AEG coins to the wallet is explained in the following chapter.

The Future of Data Management Page 13 of 32 05. Add an address or transfer funds To be able to stake, there needs to be funds in the wallet. There is more than one way to do this: Create a new address and transfer funds (this is the preferred way) or can import funds using an existing private key. This can be done in the GUI wallet or through CLI. 1. When using the Aegeus GUI wallet, the CLI service has to stop prior executing the GUI wallet (they can t run simultaneously). systemctl stop Aegeus.service 2. Activate VNC server on the Raspbian desktop to be able to remotely control the graphical user interface (if you connect a keyboard, mouse and screen, this can also be done locally off course). Note: If working directly on the Pi desktop, skip to step 5, but do a logoff and log on with the root user then.

The Future of Data Management Page 14 of 32 raspi-config The Raspberry Pi configuration tool will open. Choose 5. Interfacing Options Now choose P3 VNC.

Select Yes. The Future of Data Management Page 15 of 32

The Future of Data Management Page 16 of 32 Click OK Select Finish to exit tool.

The Future of Data Management Page 17 of 32 3. Download a VNC viewer (free remote desktop tool) for your Operating System. For example: https://www.realvnc.com/en/connect/download/viewer/windows/ 4. Open the VNC viewer and create a new connection to your Pi. Key in the IP address of the Pi and push Enter. Put in the IP address of you Pi and push Enter.

The Future of Data Management Page 18 of 32 Now open this connection. The first time it will ask for the password. Use the root user and input the password. The Pi desktop will now open.

The Future of Data Management Page 19 of 32 5. Start the graphical Aegeus wallet with the following steps: Open File Manager in the top left of the screen (yellow icon) Navigate to /usr/local/bin and open aegeus-qt This wallet will now look exactly the same as the windows or Mac OSX wallet. Wait for the wallet to start up and sync. Once the wallet starts, unlock the wallet, create addresses, transfer funds, etc.

The Future of Data Management Page 20 of 32 Note: To add an existing address, please see Addendum A. This is helpful when moving a wallet from another computer to the Pi. 6. As soon as the wallet is ready, close it. Start the wallet or system in command-line mode again because this is more stable. Exit the wallet. It might take a minute or two for the wallet to exit and close completely. Go back to you SSH session and start the Aegeus service again systemctl start Aegeus.service Note: If opening a new SSH session, become root first with su -. Wait for the service to start up (few seconds to a few minutes) and then check coin balance. aegeus-cli getinfo Unlock your wallet for staking only. aegeus-cli walletpassphrase <yourpassphrase> 0 true Check if the wallet is staking. aegeus-cli getstakingstatus

The Future of Data Management Page 21 of 32 All these outputs must show true for staking to be active. Note: If coins were just transferred to a new address, it is possible that mintablecoins is false in the first 30 minutes or so. Finally remove all command history from Pi. history -c

The Future of Data Management Page 22 of 32 06. Conclusion The Raspberry Pi is now staking coins and will continue to do so. The easiest way to follow transactions is by using the Aegeus blockchain explorer shown here: https://chainz.cryptoid.info/aeg/ Search the coin address and see which transactions have been made. To see the addresses through CLI on the Raspberry Pi: aegeus-cli listaddressgroupings Also, to use the Raspberry Pi as a controlling (cold) wallet for masternodes, please see Addendum B. 06.1. Addendum A Add an Existing Address to Your Wallet To transfer an existing address from one wallet to another, use the following steps: Open the debug console in the primary wallet. Dump the private key for your address. dumpprivkey <aegeusaddress> Repeat the above steps to transfer AEG coins. If addresses are not known, use the following commands. listaddressgroupings

The Future of Data Management Page 23 of 32 NEVER give this private key to anyone. Securely save it somewhere in case there is a need to restore the wallet (like an offline USB stick in your safe deposit box). If anyone gets hold of this key, they can steal your coins!! To add private keys to the Raspberry Pi wallet, first unlock the wallet (not only for staking, but fully). aegeus-cli walletpassphrase <yourpassphrase> 0 Add the private keys one by one. aegeus-cli importprivkey <aegeusprivkey> Now check account status. aegeus-cli listaddressgroupings If the coin balance is not shown, restart the Aegeus service. systemctl restart Aegeus.service aegeus-cli walletpassphrase <yourpassphrase> 0 true Check if the coins are staking correctly. aegeus-cli getstakingstatus Everything must be true. Finally remove all command history from Pi (user). history -c

The Future of Data Management Page 24 of 32 06.2. Addendum B Control your Masternodes To configure the Raspberry Pi Wallet as a control (cold) wallet to control new or existing masternodes, please follow the steps: 1. Open a SSH session to the Raspberry Pi and login as root (Use desired SSH tool for this terminal such as Putty, Bitvise, ). The standard user for a Raspberry Pi running Raspbian is pi ssh pi@<ip address> su - 2. Open the masternode configuration file. nano /root/.aegeus/masternode.conf Start a new line for the masternode config and enter it like the example shown below.

The Future of Data Management Page 25 of 32 <MASTERNODE ALIAS> <IP ADDRESS> <MASTERNODE GEN KEY> <TX ID> <TX OUTPUT> Below is a sample masternode config: mn1 127.0.0.2:29328 w22fbeetvcqgvey4umaapla7pzgwouaaudjjjwhryjwlkwdmm cyopy9p9eukcqksrpnvxxybrwljmrm8t9qtstqmbadvoihctm4 0 To exit the nano text editor, type the following: 1. Ctrl+x 2. Yes 3. Enter In the masternode config, there are 5 pieces of information used. The Masternode Alias is an alias name chosen by the user (can be anything). The IP Address and Port number comes from the VPS (Vultr, Aruba, Google Cloud, etc ) which is inputted into the SSH terminal to run the masternode installer script (the guide for a masternode can be found here: https://aegeus.io/docs/mnguidelinux.pdf). The Masternode genkey is obtained from the wallet after the transaction has been confirmed. The Tx ID is obtained from the cold wallet in debug console. aegeus-cli masternode outputs

The Future of Data Management Page 26 of 32 The Tx Output is either a 0 or 1 from the masternode outputs command. Each of these must be separated with exactly one space. Note: If masternode outputs is empty, then there is no address with exactly 5000 coins. To finish adding the masternodes, restart the wallet and unlock for staking only. systemctl restart Aegeus.service aegeus-cli walletpassphrase <yourpassphrase> 0 true Now enable your masternode from the wallet. aegeus-cli masternode start-missing mn1 Check if the start was successful. aegeus-cli masternode list-conf (Optional) Use the following command to automatically combine masternode rewards to larger stacks for staking. aegeus-cli autocombinerewards true false <threshold> For example: aegeus-cli autocombinerewards true 5 If there is a stack with more than 5 coins, the wallet will automatically combine stacks (to prevent dust <5 coins from trying to autocombine all the time). (Optional) Use the following command to automatically split stacks when they get too large. aegeus-cli setstakesplitthreshold <value>

The Future of Data Management Page 27 of 32 For example, if 2000 is used as value, the stack will only split into two stacks when the stack reaches 4,000 coins. Never forget to always check if the wallet is staking before existing the SSH session: aegeus-cli getstakingstatus Tip: Use https://nodecheck.io to monitor the masternodes. This service can be configured to send masternode status updates or paid rewards to discord/telegram/email. 06.3. Addendum C Backup Your wallet.dat File to USB Drive To be extra safe, backup the wallet.dat to a USB drive as it contains the private keys to the coin addresses. To properly mount after the USB drive is plugged in, follow this guide: https://www.raspberrypi-spy.co.uk/2014/05/how-to-mount-a-usbflash-disk-on-the-raspberry-pi/. Once mounted copy the wallet.dat file onto the USB drive after stopping wallet. systemctl stop Aegeus.service cp ~/.Aegeus/wallet.dat /media/usb systemctl start Aegeus.service aegeus-cli walletpassphrase <yourpassphrase> 0 true

The Future of Data Management Page 28 of 32 06.4. Addendum D Update your wallet When a new version of the wallet is released, you can easily update your wallet with the following steps: (In this example we will update the wallet from v2.0.4 to v3.0) 1. Open an SSH session to your Raspberry Pi and become root ssh pi@<ip address> su 2. Stop the Aegeus service before starting an upgrade systemctl stop Aegeus.service 3. Create a working directory cd /root/ mkdir aegeus cd aegeus

The Future of Data Management Page 29 of 32 4. Backup your config files before starting the upgrade cp /root/.aegeus/wallet.dat. cp /root/.aegeus/aegeus.conf. ls 5. Download and extract the wallet Go to https://github.com/aegeuscoin/aegeus/releases and find the latest ARM build (for example Aegeus-3.0.0-ARM.tar.gz) Download this build to your Pi with the following command and extract it: ARM.tar.gz wget https://github.com/aegeuscoin/aegeus/releases/download/3.0/aegeus-3.0.0- tar -zxvf Aegeus-3.0.0-ARM.tar.gz

The Future of Data Management Page 30 of 32 6. Copy the wallet files to /usr/local/bin to make them runnable from everywhere: cd Aegeus-3.0.0-ARM cp * /usr/local/bin 7. We will take this opportunity to bring all packages on the Raspberry Pi up-to-date apt-get update apt-get upgrade reboot Type y to continue and after the upgrade is finished, do a reboot 8. When the Pi is rebooted, the Aegeus service will have automatically started. Check if the version is correct aegeus-cli getinfo 9. Unlock your wallet for staking only aegeus-cli walletpassphrase <yourpassphrase> 0 true

The Future of Data Management Page 31 of 32 Check if the wallet is staking aegeus-cli getstakingstatus All these outputs must show true for staking to be active (this can take a few minutes after starting and unlocking the wallet) 10. Finally remove all command history from your Pi history -c

The Future of Data Management Page 32 of 32