iSanechek / kotcoin

A simple blockchain implementation in Kotlin

Home Page:http://amarszalek.net/blog/2018/03/20/simple-blockchain-in-kotlin/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kotcoin - a simple blockchain in Kotlin

For more information, please visit Creating 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:

About

A simple blockchain implementation in Kotlin

http://amarszalek.net/blog/2018/03/20/simple-blockchain-in-kotlin/

License:MIT License


Languages

Language:Kotlin 100.0%