<commit_before># Madagascar

[![npm version](https://badge.fury.io/js/mdg.svg)](http://badge.fury.io/js/mdg)

# General purpose Ethereum smart contract API server

## installation

```
npm install mdg
```

## usage

```js
var Mdg = require("mdg");

var mdg = (new Mdg(settings)).start();
```

## settings

* webserver
⋅⋅* port: port number to start the web server on
* eth
⋅* rpcport: the port to connect to an ethereum client JSON-RPC on
* contract
⋅* address: address of the deployed contract to link to
⋅* abi: ABI interface of the contract (see https://github.com/ethereum/wiki/wiki/Ethereum-Contract-ABI)<commit_msg>fixing bp<commit_after># Madagascar

[![npm version](https://badge.fury.io/js/mdg.svg)](http://badge.fury.io/js/mdg)

# General purpose Ethereum smart contract API server

## installation

```
npm install mdg
```

## usage

```js
var Mdg = require("mdg");

var mdg = (new Mdg(settings)).start();
```

## settings

* webserver
  * port: port number to start the web server on
* eth
  * rpcport: the port to connect to an ethereum client JSON-RPC on
* contract
  * address: address of the deployed contract to link to
  * abi: ABI interface of the contract (see https://github.com/ethereum/wiki/wiki/Ethereum-Contract-ABI)
{'fraction_non_alphanumeric': 0.1426269137792103, 'fraction_numerical': 0.0, 'mean_word_length': 4.262711864406779, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '3447777', 'n_tokens_mistral': 447, 'n_tokens_neox': 423, 'n_words': 134}