Library and CLI to programmatically receive testnet coins from Blocktrail's testnet faucet.
npm install -g testnet-faucet
testnet-faucet <address> [<amount>]
Library usage:
const faucet = require('testnet-faucet')({
apiKey: 'blocktrail-api-key',
})
faucet('some-address', 2000).then(() => {
// success!
})