If you prefer skipping the build-unix and run steps to directly install our binaries you have the below options.
- If you have
justyou can simply dojust installto install bothflorestadandfloresta-clior you can specify one of them to install only the specified. Refer to the command's docs written in the justfile if you clarification about the process.
or if you prefer a guided installation process, that will help you to configure your daemon with your own needs:
- with this
bashscript to install and configure.
⚠️ Currently, this script only works for debian-based systems. Also it aims to run on fresh servers, since it does some package manager operations, that iscargoandaptremoving or adding dependencies. If you are insecure about the process is strongly advised to understand how the script works.
This script will guide the user about Floresta's installation/configuration or removal from the system. In the case of install, it will:
- check if you have the required dependencies to build Floresta, and if not, download them;
- start the guide to desired Floresta's
systemdservice configuration; - once configured, download the latest release, build and install the
florestadandfloresta-clibinaries with thejsonrpcfeature; - warn how to start and enable the
systemdservice; - check if the service is running.
Use curl to download the script and execute it with bash:
curl -LsSf https://raw.githubusercontent.com/getfloresta/Floresta/refs/heads/master/contrib/install.sh | bashOr you can use wget:
wget -qO- https://raw.githubusercontent.com/getfloresta/Floresta/refs/heads/master/contrib/install.sh | bashWhen you start the command above you could see something like this:
$ curl -LsSf https://raw.githubusercontent.com/getfloresta/Floresta/refs/heads/master/contrib/install.sh | bash
✅ Internet connection is available.
🐧 'dialog' is not installed. Installing...
[sudo] password for user:The 'dialog' is not installed. Installing... message will not appear if you already have dialog utility installed. It will be used
to guide you through the setup.
After the dependencies pre-installation you will see this prompt:
Press Ok to proceed, either to install or uninstall:
Then you could choose between some basic options, advanced options and review configuration:
Choose a supported network for your node:
You can also add any master public-key, descriptors or specific addresses:
The script also have advanced setup. They are not required, but some are desirable to have, like TLS:
Before install, it is important to review your configuration:
After the installation procedure finishes, you'll see this message:
✅ DONE
⚠️ Before enable/start, please edit '/usr/lib/systemd/system/florestad.service' to your needs. After that, run:
sudo systemctl daemon-restart # restart daemon definitions
sudo systemctl start florestad.service # this will start the service now
sudo systemctl status florestad.service # this check if service is running well
sudo systemctl enable florestad.service # this enable service on boot
floresta-cli getblockchaininfo # this assures all OKThis means that both florestad and floresta-cli are installed. You could check with:
which florestadand
which floresta-cliCheck the file /usr/lib/systemd/system/florestad.service. It is optional, but could be worth if you want to change anything.
This will run the service in background, but it could fail since it might be needed to reboot your system to apply some permission changes.
Anytime you want to check you service, you may want to use these commands:
# Journaling
sudo journalctl -xeu florestad.service
# logs when using bitcoin mainnet
sudo cat /var/lib/florestad/debug.log
# logs when using another network (testnet, signet, regtest)
sudo cat /var/lib/florestad/<network>/debug.logIf you plan to use a tls-enabled electrum client in a coordinator (like sparrow), you may want to copy the certificate file. If you're using a remote server:
# on server if using mainnet
cp /var/lib/florestad/tls/cert.pem
# on server if using another network
cp /var/lib/florestad/<network>/tls/cert.pem /home/user/cert.pem
# on you local machine
scp user@mydomain:/home/user/cert.pem .





