BareMetal or VM Install¶
Installation Using the Official
On a fresh Ubuntu installation, follow these commands.
1. Update and Upgrade¶
Always ensure your server has the latest set of updates, due to performance and security considerations.
2. Add a New User¶
It is best to create a specific SXP-related user, which can later own the required databases as well. The user does not require sudo rights.
3. Switch to the New User¶
Switch to the new user account and go to the base directory.
4. Install Dependencies and Solar Core¶
We will use Solar installer script that will install all of the necessary dependencies, Solar Core onto your server and publish configuration files for it. To install essentials run this command.
- Download and run install-script
Process might take a while, don't interrupt it and wait for it to finish.
5. Selecting Solar Core Network¶
Once installation of dependencies and Solar Core is finished you will need to select on which network you wish to operate. This can be achieved by pressing
down arrow keys and confirming selection with
After you made your selection you will need to confirm by pressing
y and confirm with
6. Starting Solar Relay Process¶
To start Solar relay process and with it synchronization process with Solar blockchain we need to start relay process with our integrated CLI:
If the process has started you will get a message:
7. Checking to See if Everything Is Working¶
Now we want to see if the Solar relay process has started the synchronization process you can do that by running one of these two commands
If the process has started you will see a lot of messages like this (with actual data)
Synchronization of the blockchain can take upwards of 10 hours so let it run, once its synchronized
allowed to forge blockmessages will only pop-up every 8 seconds. A single round consists of 53 delegates each forging a single block.
Ensure you properly restart the node process when editing your
.envfile. Use the
--update-envflag, for example:
Please note that API will be available when the node has synced with the network, which can take up to 15 hours depending on your network speed.
Now that the relay node has been configured, you should head over to the JSON-RPC Getting Started
or look at relevant Public API endpoints related to blockchain functionality to manage your wallets and transactions.
Please read the documentation pages for all of our SXP SDK clients and cryptography libraries (offered in many programming languages).
Also, read the API documentation.