Published 30 September 2019

Linux Node installation

 Java installation

Credits software installation

Java installation

Check the Java version installed on the computer by typing the command: 

java -version

 

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:

./client

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

MainNet 

TestNet 

Launching other Credits Software Components 

Executor

java -jar contract-executor.jar

Wallet

java -jar wallet-desktop.jar

 

Votes 0, average rating 0

Contents