/SpringChain

Simple custom Blockchain with REST API using Spring Boot

Primary LanguageJavaMIT LicenseMIT

SpringChain

Build Status codecov Maintainability

Simple custom Blockchain with REST API using Spring Boot

Run locally with Maven

Run ./mvnw

Run with Docker

Run one instance with docker Coming Soon

Run with docker-compose

Run multiple instances to test blockchain peer-to-peer functionality and consensus Coming Soon

Code quality locally

Check code quality locally with sonarqube

  1. Start sonarqube with docker-compose
docker-compose -f sonar.yml up
  1. Login to sonarqube with username: admin and password: admin and follow the guide for java
  2. Run the following command inside your project root directory
./mvnn sonar:sonar \
  -Dsonar.host.url=http://localhost:9000 \
  -Dsonar.login={login-generated-from-sonar}