1.0.4 • Published 8 years ago

testnet-faucet v1.0.4

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

testnet-faucet

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

Install

npm install -g testnet-faucet

Usage

testnet-faucet <address> [<amount>]

Library usage:

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

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