HDS Coin - the best cryptocurrency ever created
mvn clean install test
There are two files might need to be changed before running the clients and the servers. The files HDS-Project/hds-client/src/main/resources/conf/servers.conf and HDS-Project/hds-server/src/main/resources/conf/servers.conf must contain the url of all the servers, they have to contain the same urls and they must be in the format (with an url for each server you want to run):
http://localhost:port
http://localhost:port
http://localhost:port
mvn -pl hds-server exec:java -Dserver.port=port
mvn -pl hds-client exec:java
When you start the client you will be asked for a username and a password. The username will be used to identify the files with the keys and the password will be used to cipher your private key. If it is the first time using an account use register before any other command. If the command Send Amount or Receive Amount fail you might need to use the Audit command with your public key to get your most recent transaction hash.
register
send_amount <destination address> <amount>
check_account
receive_amount <transaction ID>
audit <public key>