Cardano Ada

Today, we’ll talk deeper about building Cardano stake pool servers. We took a delve into building a stake pool because, for us, as we’re building out some technology on the Cardano platform, it made sense to have our own staking pool. This, for one, allows us to contribute back to the network so that we could help keep Cardano stable.

The second reason we’re doing this is it involves some personal gains to be collected here, which allows us to then use our staking pool to be able to perform all the transactions that we’re performing on our staking pool. Learn more about why you should build a Cardano Ada staking pool.

Know The Nodes

Node structure
structure of nodes

With that out of the way, we’ll now get into some of the hardware and some of steps that we took to build a stake pool. One of the first things you need to do is build a set of nodes. Here, you should produce a main node, which is a producer node.

This is one of the nodes that is actually one of the producing blocks. So it will have your keys on them and this is a node that you’ll never want on the internet. What this means is that you shouldn’t put a public address on this node to prevent it from being publicly accessible, although it obviously has to be connected to the internet to be able to connect to the nodes.

This producer node will then connect to a relay node, or even a set of relay nodes. If there’s more than one relay node, then be aware that each of the relay node needs to have their own public IP address. We currently have two relay nodes.

Keeping The Credentials Safe

numbered lock
Image by Nicolas HIPPERT

The next piece that you need to have is an offline storage that contains your keys. This is a storage that you want to have what they call air gapped, or also known as offline cold storage. Air gapping is a term in security, where you have a machine that’s completely offline. This ensures that there’s no way it could ever be breached.

So what we’re doing for that is we’re using a Linux live USB drive, where we boot up the Linux live on it and use it to copy all of our keys and setup over to this Linux live distro that’s going to be run from a thumb drive. Then, we take this thumb drive and put it in a safe.

From there, you can build an intermediate server, which is going to be the one that actually is running haskell and doing the some of the smart contract work. This intermediate server will know to point directly to the set of nodes in a stake pool, so that all transactions that it processes will be processed through the stake pool. This will boost the reputation of a stake pool, as well as allows to charge the gas fees directly to you.

This is ultimately a great way to make an ulterior motive to running a stake pool, while still contributing back with a very high availability stake pool.

The Hardware To Run A Cardano Stake Pool

Now, let’s take a look at the hardware part for running a stake pool. In our case, we built out one very large VM. This comes with:

  • 16 Core Processor
  • 80 GB of RAM
  • 1 TB NVMe SSD as well as another second SSD of 1 TB
Hardware info
hardware info

Looking at the features, we currently have a pretty decent sized hardware. The way that we’re building this and allocating the different resources is as follows:

  • Producer Node: 4 Core, 16 GB RAM, and 256 GB of NVMe
  • Relay Node: 4 Core, 16 GB RAM, and 256 GB on the second SSD

Moving on, we then sun a second server – a bare metal server for another relay node. This relay node will be assigned:

  • 4 Core, 16 GB RAM, with a regular SSD

So this is all the hardware that we need in order to run our very own staking pool. As it’s pretty decent, we’re able to run a very high availability stake pool.

So that’s some information about how we built our staking pool. Thank you for sticking with me to the very end. I hope this has been informational for your Cardano staking journey. As always, make sure to keep your kids protected with CleanRouter and CleanPhone so that you have the ultimate parental controls with how your kids use their phone 🙂

If you’d like to learn more about the same, kindly check out this video:

Spencer Thomason is the CEO and Co-founder of CleanRouter, as well as many other products.

You must be logged in to post a comment.