An open API service indexing awesome lists of open source software.

https://github.com/binded/testnet-faucet

Node.js library for getting testnet coins
https://github.com/binded/testnet-faucet

Last synced: 9 months ago
JSON representation

Node.js library for getting testnet coins

Awesome Lists containing this project

README

          

# testnet-faucet

Library and CLI to programmatically receive testnet coins from Blocktrail's
testnet faucet.

## Install

```
npm install -g testnet-faucet
```

## Usage

```
testnet-faucet

[]
```

Library usage:

```javascript
const faucet = require('testnet-faucet')({
apiKey: 'blocktrail-api-key',
})

faucet('some-address', 2000).then(() => {
// success!
})
```