<commit_before><p align="center">
    <img src="https://cloud.githubusercontent.com/assets/1342803/24797159/52fb0d88-1b90-11e7-85a5-359fff0496a4.png" width="320" alt="MySQL">
    <br>
    <br>
    <a href="http://beta.docs.vapor.codes/getting-started/hello-world/">
        <img src="http://img.shields.io/badge/read_the-docs-92A8D1.svg" alt="Documentation">
    </a>
    <a href="http://vapor.team">
        <img src="http://vapor.team/badge.svg" alt="Slack Team">
    </a>
    <a href="LICENSE">
        <img src="http://img.shields.io/badge/license-MIT-brightgreen.svg" alt="MIT License">
    </a>
    <a href="https://circleci.com/gh/vapor/mysql">
        <img src="https://circleci.com/gh/vapor/mysql.svg?style=shield" alt="Continuous Integration">
    </a>
    <a href="https://travis-ci.org/vapor/api-template">
    	<img src="https://travis-ci.org/vapor/api-template.svg?branch=master" alt="Build Status">
    </a>
    <a href="https://swift.org">
        <img src="http://img.shields.io/badge/swift-3.1-brightgreen.svg" alt="Swift 3.1">
    </a>
</center><commit_msg>add readme description<commit_after># Basic blockchain using Vapor

[Vapor 2](https://vapor.codes/), a Web Framework for Swift that works on iOS, macOS, and Ubuntu.


#### Endpoints

| Method | Route                     | Description                              |
| ------ | ------------------------- | ---------------------------------------- |
| GET | `/`                  | Returns whole blockchain. |
| POST | `/transaction`                  | Creates new transaction by using sender, recipienta and amount parameters. |
| POST | `/mine`                  | Mines new block using proof of work which includes all pending transactions, and rewards miner  |

### Demo

<img src="https://image.prntscr.com/image/N8f7Xc3sQQyD85kTD_ruwg.png">

### Notice

Thisi s just a toy blockhain implementation, do not use for production purposes, also currently blockchain is not persistent, so all data will be lost after app restart.
{'fraction_non_alphanumeric': 0.1885, 'fraction_numerical': 0.027, 'mean_word_length': 2.5291005291005293, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 27, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6284130', 'n_tokens_mistral': 693, 'n_tokens_neox': 640, 'n_words': 139}