StanIsAdmin / CrashCoin

A fully functional and worthless cryptocurrency, written in Java

Home Page:https://goo.gl/2qQW8T

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CrashCoin

A fully functional and inefficient cryptocurrency, written in Java.

logo

Compile

Compile the project with maven:

mvn compile

Test

To test the project, use maven:

mvn test

Start script

The script start.sh can start and stop the different jar files. To start a specific jar use

start.sh start <type>

Where <type> is the name of the jar file. To start all jars, you can use the type all.

You can also stop and restart the instances with the same sementic:

start.sh stop <type>
start.sh restart <type>

View console

To view and interact (only with "client") with an already launched program you can type

start.sh view <type>

Make command without start.sh

You can ignore the file start.sh and use mainstream command, as follow:

java -jar dist/master.jar
java -jar dist/relay.jar [ip] [port]
java -jar dist/miner.jar <user> <password> [ip] [port]
java -jar dist/client.jar [ip] [port]

Where [] elements are optionnal and <> are mandatory.

  • Relay: ip and port of the master
  • Client: ip and port of the relay
  • Miner: user and password of the user who will recieved the reward. You can also specify the ip and port of the relay.

About

A fully functional and worthless cryptocurrency, written in Java

https://goo.gl/2qQW8T

License:The Unlicense


Languages

Language:Java 95.1%Language:TeX 2.9%Language:Shell 2.0%