How to run Credits Desktop Wallet app app and Contract-executor via console
On the example of Windows 10 Enterprise
Running Desktop Wallet app and Contract-executor from the command line
Software of the Credits platform by default is installed to the folder ”C:\Program Files\Credits\Node”; Desktop Wallet app and contract-executor are also placed there.
One of the possible options of running the command prompt (CMD) in Windows 10 is performed via the "Search" button, then "CMD" is entered in the search bar and then in it launched in a regular mode or in the administrator mode
The following figure shows the “CMD” window and one of the options of how to go to the “C:\Program Files\Credits\Node” folder. The "cd" interpreter command is used.
Start commands (note that for each executable file, you must run the shell and enter one of the lines below):
client.exe (launch node)
java -jar wallet-desktop.jar (Desktop Wallet app)
java -jar contract-executor.jar (launch contract-executor)
How to check the launch result
The result of the successful start of the node is shown in the figure (the success of the launch is visible in lines with IP addresses)
The result of the successful launch of Desktop Wallet app is shown in the figure (see the wallet login window)
The result of the successful start of contract-executor is shown in the figure (the program starts with the listened port 9080)
Benefits of running from the command line
The advantage of using the "CMD" command prompt is the visibility of the result of program execution. You can see the connection state and the work logs in the distributed network.