Run with docker
Please ensure that Docker is installed on your Linux server.
1. Download docker image
2. Download and configure the environment variables (.env)
Please create a directory (e.g., $HOME/.exsat/
) to store the files for running the exSat Client via Docker. We will download the .env
file directly from GitHub into this directory, and edit it.
Please ensure all configurations are correctly set. Some settings can also be adjusted in the next steps. Detailed configurations can be found here.
3. Initialize the account and configure the Client
Start Docker in interactive mode๏ผ
Perform below actions in the docker.
3.1 Initiate the validator account
Create or import the account
If you don't have a validator account, please create a new account.
If you already have a validator account, and wish to import it to your client, please import seed phase or import private key.
Stake for your validator account
Validator must stake at least 100 BTC to become a qualified validator. Click here to see how to stake for your validator account.
3.2 Configurations
You can complete some client configurations or perform operations on your account:
Set BTC RPC Node (must)
Set Donation Ratio (must)
Reset Reward Address(optional)
Reset Commission Rate(optional)
Configure Display Information (optional)
Bridge BTC for gas fee (optional)
Change Email (optional)
Export private key (optional)
Remove your account (optional)
New version check (optional)
4. Execute the Client
Please ensure that you have initialized the validator account, configured the BTC RPC Node and donation ratio.
There are several ways to start the client using Docker, differing in how the keystore password is provided. Choose the method you prefer.
Assuming the keystore file is stored at $HOME/.exsat/goodvali_keystore.json
and the password is 123456
, the keystore file path in ".env" file should be look like:
Option 1 : Password stored in ".env"
Please configure password in the .env
file:
Then, start the Docker container with the following command:
Option 2 : Input password in the command
Start docker container with the password as parameter in the command:
Option 3 : Interactive Password Input
Start Docker in interactive mode and enter the password in the command line interface.
Different startup methods vary in terms of security and convenience. If you start the client interactively and enter the password in the interface, the password won't be stored in plain text in the startup command or files, reducing the risk of exposure. However, if you provide the password in the
.env
file or directly in the command line, it may be more prone to leakage but offers greater convenience during startup.
5. Check and claim rewards
You could check and claim rewards on the front-page with the reward address.
6. Update to new Docker image
When exSat releases a new Docker version, you can upgrade to the latest version by running the following commands (assuming you have been following the previous steps).
Last updated