Obtorque is an implementation of a blockchain for learning purposes.
Lots of credits go to Daniel van Flymen https://hackernoon.com/learn-blockchains-by-building-one-117428612f46 which features an implementation in Python.
mvn clean install
Execute the main class file be.clowdy.obtorque.Obtorque
Several HTTP interfaces are being exposed with jax-rs.
Creates a new transaction, Requires sender, recipient and amount as parameters.
{
"sender":"randomSenderId",
"recipient":"randomRecipientId",
"amount":42}
Mines a new block
Gets the complete blockchain to the frontend (not such a smart idea for a real blockchain)
Returns the identification of the current node