So guys, pi3 is pretty simple. i have a pi3 with a 16 gig sd card. here is my exact model :
https://www.raspberrypi.org/products/raspberry-pi-3-model-b/I did look into a gui for pi3. you can cross compile the qt from linux to work with the pi3 because there is no Qt creator that works directly on the pi3 due to lack of needed resources to run the program. i pushed back posting an initial day or two (also a database where i am was compromised by some hackers but lets not talk about that) as i explored this possibility of a cross compile.
So there a few things id like to know that i discovered while messing around with the pi3.
- it isnt a great idea to run the qt gui version on the pi3. the pi3 is a very limited environment resource wise. so any monitor that is plugged in or program that has a graphical aspect needs video to be rendered. the pi does not have a video card, so the graphics must be rendered by the cpu. this bogs down the cpu. the cpu is only 1.2 GHz which is very slow and by no means high end. so for pi3 daemons are the way to go.
- most people who have a pi access it my ssh which cant run the gui through anyway.
- daemon is lighter weight than the gui allowing for better wallet performance in general.
On sunday i pushed another commit to my tesla repo (which i need to request a merge into the main repo) that fixed and tested all compilation for daemons on all platforms. the makefiles needed some adjustment. i can confirm that all of them work right now (with the exception of the mingw ones, the other ones work so those SHOULD work as is). if you have a pi3, you more than likely use ssh to work with it. so i am assuming you have some basic knowledge (at a minimum) of the commands needed to work with linux's command line (navigation and creating files and such) but you may not have ever compiled a coin. the rest of this post will walk you through how to do just that.
all commands are in italics. these are what you should type into the terminal
Step 0 - Operating SystemInstall your operating system, I used raspbian (
https://www.raspberrypi.org/downloads/raspbian/)
follow the instructions on the site to install it to your SD card (NOOBS is raspbians easy installer, its on the site as well). Your pi might have already come with an OS installed. so you might be able to just skip this step.
Step 1 - Initial UpdatesYou want to first make sure your pi3 is up to date with all of the current repositories with the following 2 commands. Depending on how much has to update, these might take a while.
sudo apt-get update
sudo apt-get upgradeStep 2 - Building Compile EnvironmentNext we want to install the necessary libraries to be able to compile a coin daemon. The following command installs a lot of libraries, as they are all needed to compile any coin (some might not be needed for tesla specifically, but that is ok). So this too might take a while.
sudo apt-get install build-essential libtool autotools-dev automake pkg-config libssl-dev libevent-dev bsdmainutils libboost-all-dev libdb-dev libdb++-dev libminiupnpc-dev libzmq3-devStep 3 - Extra Helpful ProgramNext we need to install a helper program that will just make getting the code for the coin we want to compile easier.
sudo apt-get install git (this is a fairly small program and should install almost instantly
you then need to download the code for the coin, the following is how you would download teslacoin's code
cd ~git clone http://www.github.com/TeslacoinFoundation/Teslacoin teslacoinStep 4 - Compile the DaemonNow we want to go into the code and compile the daemon so that it runs on the pi3.
cd teslacoin/src/leveldbmake libleveldb.a libmemenv.acd ..make -f makefile.arm-linuxthis should compile the full coin. you should end with a Teslacoind program in that folder.
Step 5 - Running the DaemonTo run the coin daemon or give it commands you need to be in the same folder it is located in. which from these instructions should be ~/teslacoin/src/
to navigate there if you arent already there is
cd ~/teslacoin/srcand to run the damon is
./Teslacoind &Step 6 - Interacting with the daemonOnce the daemon is started you just would send a command to it similar to the same way you started it
./Teslacoind [command] where [command] is replaced with the command you want to do. to get a list of all commands use help
example:
./Teslacoind helpan example of sending coins would be:
./Teslacoind sendtoaddress [address] [amount]there are quite a few commands, so i would recommend using help to find what you are looking for. the daemon commands give you MORE options than are available in the gui. and learning about them and what they do will help you to learn more about cryptocurrencies in general