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
- Host: GitHub
- URL: https://github.com/binded/testnet-faucet
- Owner: binded
- Created: 2016-05-11T01:19:04.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2024-02-23T21:35:50.000Z (over 2 years ago)
- Last Synced: 2024-11-17T11:36:28.923Z (over 1 year ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 3
- Watchers: 9
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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!
})
```