Create a Stakepool
In this guide you will learn how to configure and run a Cardano stakepool on the Pre-Prod (Pre-Production) testnet using a Raspberry Pi.
We are going to be configuring a setup for the Preprod testnet using two Raspberry Pi's running Debian. In our case these are Raspberry Pi 4s with 4GB RAM. There are more powerful Single-Board-Computers out there, but these are what we have access to and will more than suit our needs. One of the Raspberry Pis will be configured as a publicly accessible relay that other relays on the network are going to connect to and the other Raspberry Pi will be configured as a block producing node which will only be connected to your relay. While it is not a best practice to run only a single relay, we are going to do so due to material constraints. You are free to add more. Before proceeding, we need to consider our relay/bp(block producer) setup. First, you'll want to choose the port which cardano-node will use on each node.
While available ports range from 0 to 65535, please consider that there are many public ports that are defined and used for well-known services. Please consult the list found here to avoid using a popular port. This is more of a concern for the relay as it is publicly available, whereas the block producer will only be connecting to your relay. Also, you will need to make sure your edge-firewall is configured to forward traffic on your selected port to your relay.
Last updated
