open-index/open-npm huggingface dataset:
npm package: @ossmo/bitcoind-daemon
Description: Watches bitcoind for new transactions
Author: Jacob Beard
Latest version: 1.0.8

# @ossmo/bitcoind-daemon

This watches a local bitcoin daemon for incoming transactions, then queries the
local postgresql database for statistics on avarage hashing performance for
each npm package since last incoming transaction (populated from the
prohashing.com mining server API), then queries the npm server for recursive
packages dependencies and npm package authors that list their bitcoin wallet
address, then computes the disbursement, creates a new transaction and sends it
to the bitcoin network.

## Environment variables

The following variables must be set in your environment.

* BITCOIND_RPCCONNECT: bitcoind host
* BITCOIND_RPCUSER: bitcoind user
* BITCOIND_RPCPASSWORD: bitcoind password
* BITCOIND_WALLET_NAME: bitcoin wallet name
* BITCOIND_WALLET_PASSPHRASE: bitcoin wallet password
* PGHOST: Postgresql host
* PGPASSWORD: Postgresql password
* PGUSER: Postgresql username
* PGDATABASE: Postgresql database name
* PGPORT: Postgresql port
npm package: @ossmo/client
Description: Mine cryptocurrency to support open source sorftware projects.
Author: Jacob Beard
Latest version: 1.0.8

# @ossmo/client

![Screen Recording](https://gitlab.com/jbeard4/ossmo/raw/master/packages/client/screen-recording.gif "Screen Recording")

This package prompts the user, installs mining software, and begins mining.

## API


```js
function promptUser(packageName): Promise
```

## Example

```js
module.exports = async function myModuleEntryPoint(){
  await require('@ossmo/client')(require('./package.json').name);     //here's how you load ossmo
                                                                      //the prompts are asynchronous,
                                                                      //so you need to await

  console.log('Do some stuff here');
}
```
npm package: @ossmo/my-multi-miner
Description: Install and run platform-native CryptoNightV8 mining binaries.
Author: Jacob Beard
Latest version: 1.0.8

# @ossmo/my-multi-miner

This package downloads and installs XMR (CryptoNiteV8) mining binaries:
xmr-stak on OS X and Linux, and Claymore miner on Windows. 

I could have installed xmr-stak on Windows, but Windows Defender antivirus
identifies xmr-stak as malware, and does not identify Claymore miner as
malware.

This package is forked from google/puppeteer.

# Example

```js

  const {install, Miner} = require('@ossmo/my-multi-miner');

  await install(pathToConfDir);

  const miner = new Miner(pathToConfDir);

  miner.launch({
    pkgName: safePackageName, 
    npmUsername,
    minerUrl: 'stratum+tcp://prohashing.com:3341',
    minerUsername: 'jbeard4',
    cwd: pathToConfDir,
    niceness: 19
  });
```
npm package: @ossmo/prohashing-daemon
Description: This watches the prohashing API for updates, and inserts the updates into a Postgresql database.
Author: Jacob Beard
Latest version: 1.0.8

# @ossmo/prohashing-daemon

This watches the prohashing API for updates, and inserts the updates into a
Postgresql database.

## Environment variables

The following variables must be set in your environment.

* PROHASHING_API_KEY: Proshashing API key
* PGHOST: Postgresql host
* PGPASSWORD: Postgresql password
* PGUSER: Postgresql username
* PGDATABASE: Postgresql database name
* PGPORT: Postgresql port