<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Picaye on Medium]]></title>
        <description><![CDATA[Stories by Picaye on Medium]]></description>
        <link>https://medium.com/@picaye?source=rss-42cdabd3049d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*cvmyc7m8KQDsyO6I</url>
            <title>Stories by Picaye on Medium</title>
            <link>https://medium.com/@picaye?source=rss-42cdabd3049d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 16:23:51 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@picaye/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Install a Kaspa and a Xelis node on a Raspberry Pi 5]]></title>
            <link>https://medium.com/@picaye/install-a-kaspa-and-a-xelis-node-on-a-raspberry-pi-5-875540d8dfdc?source=rss-42cdabd3049d------2</link>
            <guid isPermaLink="false">https://medium.com/p/875540d8dfdc</guid>
            <dc:creator><![CDATA[Picaye]]></dc:creator>
            <pubDate>Fri, 06 Sep 2024 09:54:53 GMT</pubDate>
            <atom:updated>2024-09-12T08:41:20.760Z</atom:updated>
            <content:encoded><![CDATA[<p>I recently went on a little holiday project to setup a Raspberry Pi 5 for the purpose of Solo Mining to the Pi. As I did not find simple to follow instructions — I documented my journey for others to follow. The more nodes — the better for Kaspa.</p><p>As you will note I also install Watchtower for easy management (keeps things up-to-date) and a Xelis node.</p><p>For questions and corrections DM me on X. I am not a linux expert by any means — and most likely there are better/easier ways to do this (did not find them so far). So, the purpose of this post is really also to refine this and make it easier for others to repeat the process. No warranties of course if you break your Pi in the process or loose your loved ones over trying.</p><p>So — enough talk here it is.</p><ol><li>Get yourself a Raspberry Pi5 with a Micro SDCard. For ease of use, get a case with a vent as well. If you want max performance, get a SSD NVRAM including the Pi extension. This installation does not cover how you setup the SSD — other guides cover this and installing the docker etc is the same, once you got the SSD up and running.</li><li>Install raspberry os on the Micro SDCard. Configure UserID/Password and WLAN/Ethernet (personally I like the setup with WLAN — but don’t run the node with WLAN — always use nodes with Ethernet).<br><a href="https://www.raspberrypi.com/software/">https://www.raspberrypi.com/software/</a></li><li>Install SSH Client(eg Putty on Windows)<br>Putty has the nice effect, that you can ctrl-c from this medium article. Then right click in putty — and you have a copy/paste without having to retype everything.</li><li>Figure on your Router the IP Address of your Raspberry (192.168.1.xx something usually)</li><li>Login to your Raspberry with your userid/password</li><li>The following are the commands to paste. Do not copy/paste the commands with a # — I added them for explanations.</li></ol><p># Type this command:</p><pre>sudo raspi-config</pre><p># With this you can see your config. Eg. click “update”. With the tab key you can skip in screen sections</p><pre>sudo apt-get install ca-certificates curl gnupg</pre><p># make sure no docker existing install</p><p>for pkg in <a href="http://docker.io/">docker.io</a> docker-doc docker-compose podman-docker containerd runc; do sudo apt-get remove $pkg; done</p><p># Add Docker’s official GPG key:</p><pre>sudo install -m 0755 -d /etc/apt/keyrings<br>sudo curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc<br>sudo chmod a+r /etc/apt/keyrings/docker.asc<br>sudo apt-get install ca-certificates curl</pre><p># (confirm with Y — hit enter)</p><pre>sudo install -m 0755 -d /etc/apt/keyrings<br>sudo curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc<br>sudo chmod a+r /etc/apt/keyrings/docker.asc</pre><p># Add the repository to Apt sources and install watchtower container to keep your containers updated :</p><pre>echo \<br>&quot;deb [arch=$(dpkg - print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian \<br>$(. /etc/os-release &amp;&amp; echo &quot;$VERSION_CODENAME&quot;) stable&quot; | \<br>sudo tee /etc/apt/sources.list.d/docker.list &gt; /dev/null<br>sudo apt-get update<br>sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin<br>sudo docker run - detach - restart always \<br>- name watchtower \<br>- volume /var/run/docker.sock:/var/run/docker.sock \<br>containrrr/watchtower</pre><p>8. This is the command to install xelis node</p><pre>sudo docker run - restart always xelis/daemon &amp;</pre><p>9. These are the commands to install Kaspa Rusty node (Source: <a href="https://hub.docker.com/r/supertypo/rusty-kaspad">supertypo/rusty-kaspad — Docker Image | Docker Hub</a>)</p><pre>sudo apt update &amp;&amp; sudo apt dist-upgrade -y<br>sudo apt install docker.io<br>sudo systemctl enable docker<br>sudo mkdir -p /var/kaspad &amp;&amp; sudo chown 50051 -R /var/kaspad<br>sudo docker rm -f kaspad; \<br>sudo docker run - pull always -d - restart unless-stopped \<br> -v /var/kaspad/:/app/data/ \<br> -p 16111:16111 -p 16110:16110 -p 17110:17110 -p 18110:18110 \<br> - name kaspad supertypo/rusty-kaspad:latest</pre><p>Tail logs:</p><pre>sudo docker logs -n 1000 -f kaspad</pre><p><em>The node is fully synced when it prints lots of “Accepted block …” lines.</em></p><p>10. Now it gets a little trickier — installation of the stratum bridge which you need to mine to.</p><p>Download from <a href="https://github.com/rdugan/kaspa-stratum-bridge/tree/main">GitHub — kaspa-stratum-bridge: Bridge/Adapter between the stratum-based miners and a kaspad node</a> the code (on top right — download as zip). Rename the zip file to kaspa.zip</p><p># if you have putty — run psftp. open 192.168… (your ipadress)</p><p>on MacOS life is quite easy with PortX — just drop the kaspa.zip into the window and unzip</p><p>put kaspa.zip <br>#uploads kaspa<br>#back to putty raspberry</p><pre>unzip kaspa.zip<br>cd kaspa-stratum-bridge-main</pre><p>if you run a KS0 Ultra you should edit the config.yaml</p><pre>cd cmd<br>cd kaspabridge<br>nano config.yaml</pre><p>Change</p><p>min_share_diff: from 4096 to 128</p><p>pow2_clamp from false to true</p><p>extranonce_size from 0 to 2</p><p>exit Nano with ctrl-x and confirm saving with y</p><pre>cd ..<br>cd ..</pre><p>Now the settings should be fine for your Asics Iceriver KS0 Ultra and you can build.</p><pre>sudo docker compose -f docker-compose-all-src.yml up</pre><p>11. Installation of the containers should be done now. You can verify your running containers with this command</p><pre>sudo docker ps</pre><p># this should list your new docker containers grafana, kaspa-stratum-bridge-main, prometheus, rusty-kaspad, xelis/daemon, cointainerrr/watchtower</p><p>Do not forget to port redirect on your browser the port 5555 to the ip of your raspberry (for your stratum — otherwise your miner won’t find it). You can also open port 16110 to open the kaspad.</p><p>to test the dashboard enter in your browser <a href="http://your_raspberry_ip:3000/">http://Your_Raspberry_IP:3000</a></p><p>user: admin</p><p>password: admin</p><p>To mine enter as pool setting</p><p>stratum+tcp://Your_Raspberry_IP:5555</p><p>Enjoy and thanks for reading/commenting.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=875540d8dfdc" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>