/KotChain

A simple implementation of a blockchain using Kotlin.

Primary LanguageKotlinGNU General Public License v3.0GPL-3.0

Kotcoin - a simple blockchain in Kotlin

Running

To run this application, simply execute:

gradlew run

Public API

After running the application, the public instance is available at http://localhost:7000 As for now, it offers the following endpoints:

  • GET /blocks for listing all existing blocks in the chain
  • POST /blocks/mine for mining new block

Credit

This project uses some open source libraries: