@open-bucket/daemon

The Deamon provides core functionality to Open Bucket network

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
00Aug 12, 2018Apr 18, 2018Minified + gzip package size for @open-bucket/daemon in KB

Readme

OBN Daemon

Open Bucket Daemon

For more information about the Open Bucket network, refer to: https://github.com/open-bucket/blueprint

Installation

npm install -g @open-bucket/daemon

Usage

OBN Daemon uses the following environment variables:

  • OBN_ETHEREUM_NODE_URL - default: http://127.0.0.1:7545
  • OBN_CONSUMER_ACTIVATOR_ADDRESS - default: null
  • OBN_PRODUCER_ACTIVATOR_ADDRESS - default: null
  • OBN_GAS_PRICE - default: 2000000000 (2 Gwei)
  • OBN_GAS_LIMIT - default: 4712388

Run commands

  • Use obn --help for more information

Development

Run Daemon on Docker

Build Docker image

  • Sample command:
    docker build -t obn-daemon .
    

Execute OBN Daemon CLI command inside Docker container

docker run -it -e <env-vars> obn-daemon <obn-daemon-cli-command>
  • Sample command:
    docker run -it --rm -e OBN_ETHEREUM_NODE_URL=http://127.0.0.1:8545 obn-daemon obn login
    

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.