Here you'll find all the extra bits & bobs that are essential to complete the swag bag of any modern maker! We have a huge number of items that will help fill out your maker tool kit, satisfy your cabling requirements or even boost your connectivity and productivity.
Cases, cases, cases!! Here is our extensive range of fantastic cases and enclosures for your maker movement activities. Choose from the slick & sleek, bold & colourful or weird & wonderful. No hobby project is complete without the perfect case to complete the look and fit the application, and here you should have no problem at all in finding the enclosure that is right for you!
Here at Pi Supply, we have our roots in the open-source and educational values provided by the open source community. The Raspberry Pi is such a fantastic educational tool, and these kits open up even more possibilities for anyone to learn about electronics and programming.
We carry a large range of power supplies and power solutions which cater to any need that you might have in your maker adventures. Whether you just need a standard mains supply, to be able to make your projects portable, or something a bit more heavy duty, we've got you covered so you never get caught short.
Inside this part of the shop you can find all the bits and pieces you need for your prototyping needs. Here you can kit out your maker station with tools and consumables, as well as other components such as headers, sensors and accelerometers to bring all those epic ideas to life!
Here you can find the range of everyone's favourite single board computer! The revolutionary Raspberry Pi has brought more possibilities within the grasp of developers than ever before, and here you can get your hands on the board that will bring that next idea to life. The Raspberry Pi has come to us in many shapes and sizes, but whichever model you want or need, this platform is guaranteed to pack a punch!
Take a look at all the original products we have to offer here at Pi Supply! Whether you are looking for self-solder kits or fully assembled HATs, you can explore new horizons with Pi Supply, and do even more to unlock the potential of your Raspberry Pi. Check out our range for LED & IR toys, ePaper applications, power solutions and much more to expand your range of projects.
Insert your CloakCoin microSD card into the SD slot (If purchased separately)
Connect the micro USB power adapter
Connecting to the Internet
This CloakCoin StakeBox requires and Ethernet connection to your internet/router in order to get started with. Once you have powered up your StakeBox and it has connected to the internet via Ethernet you can then configure it to connect to your Wi-Fi connection instead.
Configuring Wi-Fi Connection
Since CloakCoin is built-upon Raspbian Lite, everything we do must be done using the command line interface. When you first boot/power up your CloakCoin StakeBox you will see the command prompt if you are connected to a HDMI monitor/TV. First thing you will need to do is open the spa_supplicant.conf file, this is where the Wi-Fi configuration setting will be. Type in the following or copy and paste the command into the command line:
Replacing "YOUR_NETWORK_NAME" with your routers SSID and "YOUR_NETWORK_PASSWORD" with the password you use to connect to your Wi-Fi. Usually you can find these details on the back of your router in the manual/letter that came with the router. Now reboot your StakeBox for the changes to take effect:
Once you have rebooted back to the command prompt you can check to see if you are connected to your router via Wi-Fi by typing in the following command:
You should see something like the following:
Wlan0 is your Wi-Fi adapter on the StakeBox, here you should see that it has an IP address. At this point you can now safely remove the Ethernet cable and rely on the Wi-Fi for internet connection.
Before we get started we need to make sure that there is sufficient space on your SD card on your StakeBox so we can then download the CloakCoin Blockchain. By default, the filesystem has not been expanded and as such you could run out of disk space quickly resulting in the cloakcoin daemon service stopping.
At the command line type the following command:
In the configuration menu navigate to 7 Advance Options
In the advanced menu select the first option A1 Expand FileSystem and hit enter
Hit OK then Finish and reboot the StakeBox for the filesystem to be expanded.
You can confirm the changes by typing in the following command in the command line:
Now that we can access our StakeBox, lets get it configured and secure. First thing you will need to do is change the default password for user 'pi'. To change it type in the following into the command line:
The current (default) password is "raspberry", which you will have to enter.
Cloakcoind, which is the program that runs on the StakeBox, will automatically start when you boot up your StakeBox (As long as there is an internet connection). For the next step we will have to stop the program as we need to change some files. Type in the following command to stop the program:
Now there are two files that we need to modify, CloakCoin configuration file and the web user interface configuration file. Firstly, lets modify the web configuration file:
sudo nano /var/www/html/cloak/config.php
You should see a file with the following in:
Here you will need to change "user" and "password" to a username and password of your choice. Keep a note of what your username and password is for the next step. Now save the file with CTRL+O then CTRL+X to exit.
Now lets change the CloakCoin configuration file so that it matches the credentials we used for the web user interface, as they will need to talk to each other. Type in the following in the command line:
You will need to change 'rpcuser' and 'rpcpassword' with the same username and password that you entered before. CTRL-O to save and CTRL-X to exit.
Now we need to download the CloakCoin Blockchain. Depending on your internet connection the download may take up to an hour. Type in the following into the command line:
Now everything is setup and configured. We can begin to start the CloakCoin program by typing in the following or by rebooting your StakeBox:
./cloakcoind -upnp -daemon
You can check the status of the program by typing in the following:
Note: Make sure that upnp is active in your router, otherwise you will need to forward port 29662.
The CloakCoin RPC server may take a few minutes to start running. After which you should be able to enter the following command to test everything is working:
You can now access the web interface by opening a web browser window on your computer and going to http://IPADDRESS/cloak. Where "IPADDRESS" should be replaced with the IP address of your StakeBox. You can find the IP address by typing in the following command:
You should now see the following window.
From this point on you can now enter RPC command from the command line on the StakeBox, like we have been doing, or you can use the web interface but removing the './cloakcoin' at the beginning.
Encrypting your wallet
Encrypting your wallet is an important aspect of keeping everything safe. You can encrypt your wallet at any time but we recommend doing it at this stage in the guide. To do this you simply type in the following command replacing “yourpassword” with a password of your choice:
./cloakcoind encryptwallet yourpassword
This will now begin to encrypt the wallet which in turn will restart the qtum daemon. You should see the following output:
wallet encrypted; CloakCoin server stopping, restart to run with encrypted wallet. The keypool has been flushed, you need to make a new backup.
After encrypting your wallet, you can obtain your wallet address by typing the following into the command line:
./cloakcoind getaccountaddress ""
You should see something like the following output:
You can now send CloakCoin coins to the address we just obtained from the cloakcoind program. To check your transaction (incoming and outgoing) type in the following command:
By default the CloakCoin is programmed to automatically start when the StakeBox starts. However, currently it will fail because it is unable to unlock the wallet for staking and as such we need to edit the following file:
and replace password with your wallet password that you used to encrypt it.
CTRL+O to save and CTRL+X to exit. For the changes to take effect you will need to reboot your StakeBox with sudo reboot.
To test that the CloakCoin application is running you can type ./cloakcoind getinfo.
In order to begin staking you will need to have done two things; firstly your wallet needs to be unlocked, which in the previous step hopefully you have done already.You can unlock your wallet with the following command if it is locked:
walletpassphrase <passphrase> <timeout>
Secondly you need to have CloakCoin coins in your wallet to be staking. You can find your address using the web interface and going to "My Addresses" in the menu bar.
To check the status of your staking you can type in the following command:
How to update
Note: Before you get started make sure you backup your wallet as per this guide.
You will need access to the command line in order to update to the latest cloakcoin version, which you can do by connecting to a monitor with a keyboard and mouse or you can SSH into the Pi if connected to your local network.
Stop the current daemon service:
Download the latest wallet (As of writing it is v18.104.22.168):