π§βπ Standard Hardware Guide
This guide is written for liquidity providers to turn a Raspberry Pi into an always-on OpenDEX node.

Two options are available:
If you are not sure, we recommend to start with the light setup. If you opt for the Pi4 4/8GB, you can switch to the full setup at any time.
Light Reference Shopping List (Spain): ~65 β¬
Pi3 B+: 39,95 β¬
Pi3 B+ Power Supply: 6,65 β¬
32GB MicroSD card: 15 β¬
A performant microSD card is important; not the right place to save some bucks.
For more options, check this storage benchmark list.
USB stick for backups: 3,99 β¬
Any >1GB USB stick will do.
A NAS/Samba share works too.
Full Reference Shopping List (Spain): ~290 β¬
Pi4 (8GB): 82,95 β¬
Pi4 Power Supply: 8,95 β¬
Pi4 Cooling Case: 14,95 β¬
Needed! The Pi4 is a hottie.
32GB MicroSD card: 15 β¬
A performant microSD card is important; not the right place to save some bucks.
For more options, check this storage benchmark list.
USB stick for backups: 3,99 β¬
Any >1GB USB stick will do.
A NAS/Samba share works too.
1TB external SSD: 165 β¬
For full setup only, not needed for light setup!
For more options, check this storage benchmark list.
Pi Basic Setup
Download Ubuntu 20.04 for the Pi onto your computer, choosing 64-bit. Any other 64-bit (also called
arm64,aarch64,armv8) linux os for the Pi is fine too. Systems like Raspberry Pi OS, which, at the time of writing, are still based on the 32-bit (armv7) architecture , are not supported. This guide was written usingUbuntu 20.04.Insert the microSD card into your computer and follow the flash instructions.
Optional: If you don't have a screen, usb keyboard and even an ethernet cable available, you can pre-configure Wifi for a headless setup.
Insert the microSD card into your Pi, connect it to your router via ethernet cable and to a power supply. Connecting a screen via HDMI and a USB keyboard makes life easier, but checking the assigned IP in your router and SSHing in from your computer works too.
Follow the inital setup instructions. Default user + password is
ubuntu. You will be asked to change the password on first login.Update ubuntu via
sudo apt update && sudo apt upgradeIf you are using Ubuntu 20.04, install docker & docker-compose by running
sudo apt install docker.io. Otherwise if you are using any version besides Ubuntu 20.04, follow the official instructions (selectarm64in step 4 of "Set up the repository") to install docker.Add new user
opendex:
Add the
opendexuser to the sudo group (advanced users can skip this and use another user to run sudo commands), the docker group and test if docker is working:
Looking good! Optionally, add an alias to enter your opendexd environment by simply typing "opendex":
Connect the USB stick to your Pi and set it up. It is very important to do this for a mainnet setup (given you do not want to lose money)!
From here the light and full setup require different settings. Continue choosing one.
Pi Light Setup
If you are using a Pi model with 2GB of RAM or more, you can continue here. If you are using a Pi model with <2GB of RAM, we will have to catch a temporary RAM spike when creating the opendex environment by creating a swap file (overflow RAM) of 2GB on the internal sd card:
Light setup - DONE! Continue here.
Pi Full Setup
Connect the SSD to your Pi4 and set it up:
Let's do a quick performance test of the SSD. If you are close to these values, you are good to go, whereas <100 MB/s would be too slow:
Important: geth needs loads of RAM when syncing, so we need to create a swap file (overflow RAM) of 8GB on the external SSD:
Full setup - DONE! Continue here.
Last updated
Was this helpful?