Skip to content
Blog

How DigiNode began: "I made a thing!"

· News

On 10 September 2021 I shared a little bash script on X that monitored a DigiByte full node running on a Raspberry Pi 4. It was the first time I’d ever written a bash script. Within weeks it had a name, a status monitor and the beginnings of an installer: the start of what became DigiNode Tools.

New to DigiNode Tools? See what it does →

“I made a thing!”

I made a thing! It’s a bash script that lets you monitor a #DigiByte Full Node running on a Raspberry Pi 4 (though could no doubt be adapted for other devices.) I’m irrationally proud of it because I’ve never written a bash script before. It took HOURS of Googling!

— 10 September 2021, on X

That first post got more attention than I expected, and plenty of encouragement, including “Kudos to you for knowing what a bash script is” (see the replies). The node was running on a Raspberry Pi 4 8GB, booting from an SSD over USB 3 rather than a microSD card.

My first post about what became DigiNode Tools, on X on 10 September 2021: a screenshot of the script showing a DigiByte node’s connections, block height, uptime, disk space, memory and temperature on a Raspberry Pi 4
Where it all started: 10 September 2021.

Even then, it reminded you to open port 12024 on your router so that other nodes could find yours. Checking that port is still one of the most useful things DigiNode Dashboard does today.

“Who wants to run a DigiNode?”

Three days later it had a name. I’d been running the DigiAsset Metadata server alongside DigiByte Core since June 2021, with some help from @mctrivia, and the monitor now showed both: a DigiByte & DigiAssets Node for the Raspberry Pi 4. A DigiNode. (View on X)

The DigiNode monitor on 13 September 2021, showing a DigiByte & DigiAssets Node for Raspberry Pi 4: connections, block height, uptime, IP addresses, web UI, software versions and system details
13 September 2021: "Who wants to run a #DigiNode?"

An installer, and a status monitor

On 16 September I posted an update. I was working on an “official” install script that would set up your DigiNode for you, so that everything would be in the right place for the status monitor. My original plan was to only target the Pi 4, but I wanted the monitor to work with any Linux-based DigiByte node.

My hope with these scripts is that even if you have never used Linux before you should be able to setup a Pi4 based #DigiNode with ease. You also won’t need a keyboard or display attached to your Pi - you will just SSH into the machine from your laptop and type ‘digimon’.

The monitor checked it could find your DigiByte node when it started, and told you what was wrong if it couldn’t. One day, I hoped, it would check GitHub for updates and install them with a single key press. Nodetastic!

The DigiNode Status Monitor’s start-up checks on 16 September 2021: system architecture, Raspberry Pi hardware, the DigiByte daemon and service, the DigiAsset Metadata server, jq, avahi-daemon and digibyte.conf
16 September 2021: the status monitor's start-up checks.

The installer comes together

By 8 October the installer was coming together, and the plan was clear: the installer and the status monitor would work together to help you install, monitor and upgrade your DigiNode. It already insisted on booting from an SSD rather than a microSD card, for speed and because microSD cards are so easily corrupted.

The DigiNode installer on 8 October 2021, showing the DigiByte logo, the DigiNode logo and its first checks: the operating system, a Raspberry Pi 4, booting from USB, and the software it needs
8 October 2021: the installer comes together.

A week later, looking back at that first screenshot, I wrote:

Looking at this now really makes me see how far things have progressed in a month, & how much I have learnt. I can’t wait to get it out there so other people can use it to set up & monitor their own #DigiNode.

— 17 October 2021, on X

What happened next

The first test release, v0.0.1, came out on 12 November 2021. The status monitor became DigiNode Dashboard, digimon became diginode, and the single-key-press updates I hoped for in that first month arrived, then became automatic. Every release since is in Release Notes, starting with the first releases.

Run your own DigiNode

Why run a DigiByte Node?

Please Support DigiNode Tools

Everything I build for DigiNode Tools and the DigiByte community is free. Sponsors are what give me the time to keep building it. If this is useful to you, please consider supporting it.

Sponsorship brings these closer

  • 💵 DigiDollar support: integrating DigiDollar into DigiNode Dashboard
  • ⛏️ Mining to your own node: a stratum server app, so you can point your miners at your DigiNode and mine DGB to it, and follow how your mining is going in DigiNode Dashboard
  • 🔔 Uptime notifications: get an alert if your DigiNode stops, gets stuck, or loses its connection to the network
  • 🌐 DigiNode Online: an online dashboard for monitoring all your DigiNodes in one place, securely paired using Digi-ID

...and more on the Sponsors page →

Comments

    Powered by Atmosphere Comments for Astro