open-index/open-npm huggingface dataset:
npm package: @open-bucket/contracts
Description: Open Bucket contracts
Author: open-bucket
Latest version: 0.0.17

# OBN Contracts
Open Bucket contracts

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


## Development
### Run Ganache server on Docker

#### Available environment variables:
- OBN_GANACHE_PORT - default: `8545`
- OBN_GANACHE_MNEMONIC - default: `salmon reopen news visual estate such shell struggle where attend educate express`

#### Build Docker image
```bash
docker build -t ganache-server .
```

#### Run Docker container
```bash
docker run -e OBN_GANACHE_PORT=8545 ganache-server
```
npm package: @open-bucket/daemon
Description: The Deamon provides core functionality to Open Bucket network
Author: open-bucket
Latest version: 0.0.22

# OBN Daemon
Open Bucket Daemon

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

## Installation
```bash
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
- Refer to https://github.com/open-bucket/dev for more information

## Run Daemon on Docker
### Build Docker image
- Sample command:
    ```bash
    docker build -t obn-daemon .
    ```

### Execute OBN Daemon CLI command inside Docker container
```bash
docker run -it -e <env-vars> obn-daemon <obn-daemon-cli-command>
```
- Sample command:
    ```bash
    docker run -it --rm -e OBN_ETHEREUM_NODE_URL=http://127.0.0.1:8545 obn-daemon obn login
    ```