<commit_before># minibank

Minimal blockchain example.

## Prerequisites

To run this example you need:

* Latest [Node.js](https://nodejs.org/en/) (version 6.9.1 or above)
* Latest [Rust](https://www.rust-lang.org/en-US/) (version 1.18.0 or above)

## Build & Run

### Blockchain node

To build and run a single node use:

```sh
# clone the repository with blockchain node
git clone <EMAIL>:exonum/minibank.git
cd minibank

# build and run
cargo run
```

Now the node is listening HTTP requests on `localhost:8000`.

### Sample transactions

To check transactions use [cc-examples](https://github.com/exonum/cc-examples/) repository:

```sh
# clone the repository with transactions
git clone <EMAIL>:exonum/cc-examples.git
cd cc-examples

# use `npm login` to get access to `exonum-client`

# get all dependencies
npm install

# create 1st wallet
node create-wallet.js
<commit_msg>Fix test script name in README.md<commit_after># minibank

Minimal blockchain example.

## Prerequisites

To run this example you need:

* Latest [Node.js](https://nodejs.org/en/) (version 6.9.1 or above)
* Latest [Rust](https://www.rust-lang.org/en-US/) (version 1.18.0 or above)

## Build & Run

### Blockchain node

To build and run a single node use:

```sh
# clone the repository with blockchain node
git clone <EMAIL>:exonum/minibank.git
cd minibank

# build and run
cargo run
```

Now the node is listening HTTP requests on `localhost:8000`.

### Sample transactions

To check transactions use [cc-examples](https://github.com/exonum/cc-examples/) repository:

```sh
# clone the repository with transactions
git clone <EMAIL>@github.com:exonum/cc-examples.git
cd cc-examples

# use `npm login` to get access to `exonum-client`

# get all dependencies
npm install

# create 1st wallet
node create-wallet-1.js

{'fraction_non_alphanumeric': 0.11797440178074568, 'fraction_numerical': 0.013912075681691708, 'mean_word_length': 4.2727272727272725, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, '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': '4056867', 'n_tokens_mistral': 623, 'n_tokens_neox': 585, 'n_words': 203}