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