Linux Node installation
Check the Java version installed on the computer by typing the command:
Figure 1. Java version installed.
If the correct Java version (11 or 12) is not available, it can be installed by using the following commands:
sudo apt-get install openjdk-11-jre
sudo apt-get install openjdk-11-jdk
Credits software installation
Download Credits software (SW) and if is needed install (wget) also.
sudo apt install wget
sudo wget https://credits.com/mainnet-lin-node -O mainnet.tar.gz
Figure 2. Download Credits SW.
After downloading Credits SW, the files should be unzipped by using the command:
tar -xzvf mainnet.tar.gz
Figure 3. Unzip files in home directory.
Change to directory: ‘credits’ by using command ‘cd’. In this directory are located the main Credits components. Besides the configuration file: ‘config.ini’ where the user can specify the signal server IP address, the ports and other parameters in order to establish connection with Credits blockchain.
Figure 4. Main components in credits directory.
In the directory ‘credits’, the node daemon: ‘client’ should start by using the command:
Figure 5. The node starting.
After launching the node, the user can generate the encryption keys by typing ‘g’, or could quit by writing ‘q’. If the option for generating the keys is selected, he might choose a encryption type by selecting the option 1. Afterward, will be presented the options ‘p’ and ‘f’ in order to use the password or a file. Then, the node will try to connect to the Credits blockchain first time. See figure 5.
Figure 6. Connection established with signal server.
Once the password is confirmed, the node will establish connection with the signal server in Credits network.
Download tar file for OS Linux 64
Launching other Credits Software Components
java -jar contract-executor.jar
java -jar wallet-desktop.jar