# stromdao-businessobject

> Abstract BusinessObject for StromDAO Energy Blockchain. Abstraction layer between blockchain technology and business logic providing energy market related entities and use cases.

Latest version **0.5.55** (published 2018-08-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install stromdao-businessobject
pnpm add stromdao-businessobject
yarn add stromdao-businessobject
bun add stromdao-businessobject
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.5.55 |
| Published | 2018-08-03 |
| First published | 2017-04-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=7.6.0 |
| Dependencies | 7 |
| Unpacked size | 3.4 MB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 10 |
| Author | Thorsten Zoerner |
| Maintainers | zoernert |
| Keywords | blockchain, energy, businessobject, power, delivery, smartmeter, abstraction, stromdao |

## Links

- npm: https://www.npmjs.com/package/stromdao-businessobject
- Repository: https://github.com/energychain/StromDAO-BusinessObject
- Homepage: https://github.com/energychain/StromDAO-BusinessObject#readme
- Issues: https://github.com/energychain/StromDAO-BusinessObject/issues
- npm.io page: https://npm.io/package/stromdao-businessobject

## Dependencies (7)

- [nats](https://npm.io/package/nats.md) ^0.7.24
- [ethers](https://npm.io/package/ethers.md) ^2.1.3
- [request](https://npm.io/package/request.md) ^2.83.0
- [node-rsa](https://npm.io/package/node-rsa.md) ^0.4.2
- [node-persist](https://npm.io/package/node-persist.md) ^2.1.0
- [sync-request](https://npm.io/package/sync-request.md) ^4.0.3
- [get-random-values](https://npm.io/package/get-random-values.md) ^1.2.0

## Alternatives

- [@mdxeditor/editor](https://npm.io/package/@mdxeditor/editor.md) — 962.4K weekly downloads
- [mmdb-lib](https://npm.io/package/mmdb-lib.md) — 680.9K weekly downloads
- [playcanvas](https://npm.io/package/playcanvas.md) — 36.2K weekly downloads
- [@glw907/cairn-cms](https://npm.io/package/@glw907/cairn-cms.md) — 967 weekly downloads
- [markdown-to-confluence](https://npm.io/package/markdown-to-confluence.md) — 103 weekly downloads

## Recent versions

- 0.5.55 (latest) — 2018-08-03
- 0.5.54 — 2018-05-12
- 0.5.53 — 2018-04-23
- 0.5.52 — 2018-04-22
- 0.5.51 — 2018-04-21
- 0.5.50 — 2018-04-13
- 0.5.49 — 2018-04-13
- 0.5.48 — 2018-04-11
- 0.5.47 — 2018-04-08
- 0.5.46 — 2018-04-08
- 0.5.45 — 2018-04-08
- 0.5.44 — 2018-04-08
- 0.5.43 — 2018-04-07
- 0.5.42 — 2018-04-07
- 0.5.41 — 2018-04-07
- … 141 more at https://npm.io/package/stromdao-businessobject/versions

## README

# StromDAO-BusinessObject

Abstract BusinessObject for StromDAO Energy Blockchain. Abstraction layer between blockchain technology and business logic providing energy market related entities and use cases.

The StromDAO BusinessObject comes ready-to-use in custom applications. 

Please be aware that the last commited version is always a development only version and not intended to use in production.

![Build Status](https://app.codeship.com/projects/01db8140-0b02-0135-a191-4665eb7ab8b1/status?branch=master) [![bitHound Overall Score](https://www.bithound.io/github/energychain/StromDAO-BusinessObject/badges/score.svg)](https://www.bithound.io/github/energychain/StromDAO-BusinessObject) ![Build Status](https://travis-ci.org/energychain/StromDAO-BusinessObject.svg?branch=master) [![bitHound Code](https://www.bithound.io/github/energychain/StromDAO-BusinessObject/badges/code.svg)](https://www.bithound.io/github/energychain/StromDAO-BusinessObject) [![Gitter chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/stromdao/BusinessObject) <a href="https://gratipay.com/StromDAO-Business-Object/"><img src="https://cdn.rawgit.com/gratipay/gratipay-badge/2.3.0/dist/gratipay.png" width="92" height="20"/></a> -[![Greenkeeper badge](https://badges.greenkeeper.io/energychain/StromDAO-BusinessObject.svg)](https://greenkeeper.io/) ![Build Status](https://app.stromdao.de/stats/piwik/piwik.php?idsite=5&rec=1&action_name=BO)


## Requirements
- NODE JS Version 7.9 ( https://nodejs.org/en/ )
- Internet connection to our Blockchain nodes and JSON RPC Interfaces


## Quick Start
Easy Quickstart is available from within the [Fury.Network](https://fury.network). Download and install [NPM Package](https://github.com/energychain/fury.skeleton) and start playing with an easy [Energy Meter Demo](https://fury.network/?extid=fn_helloworld&inject=0x15D4bA502210dDCEc0f7a79f01208bB68d2eEe0e)

What this Hello-World does is creating a new MeterPoint derived from a random id (external_id). Signs conract for Meter-Point-Operations and confirms (counter-sign by MPO). 

Testing of individual functions might be done via our [Introspect Page](https://demo.stromdao.de/introspect.html).

## Demo Case
There is a Mock-Up Demo available to illustrate energy delivery handling, billing and other use cases on: https://github.com/energychain/BusinessObject-Demo

## Test-Cases
https://github.com/energychain/StromDAO-BusinessObject/blob/master/test

For personal tests we are updating several Meter Point Readings every 15 Minutes:
- 0x6e23cCf78dD844cf6bb07022D8B95fa8E3994844
- 0x7f70FE6c18012B9e41D646804B19960fABa49F0A
- 0x83F8B15eb816284ddcF2ff005Db7a19196d86ae1

They are all updated in Genesis MPR Contract ( 0x0000000000000000000000000000000000000008 )

## Documentation 
- http://docs.stromdao.de/code/

## Contributing
- https://stromdao.de/
- https://gitter.im/stromdao/Lobby

---
_Source: https://npm.io/package/stromdao-businessobject · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
