Skip to content

royalfork/testnet-faucet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Testnet-Faucet API

Simple Testnet Faucet API in Node.js

Requires bitcoind and redis. Set configuration params in config.js.

Each requesting IP is restricted to a limited amount of bitcoins each hour. There are no limits to the number of requests, as long as your IP stays below it's limit.

Run - node app.js

POST / {address: "ADDRESS", amount: "AMOUNT IN SATOSHIS"}

Responds with: {id: "HASH OF TXN", limit: "AMOUNT IN SATOSHIS" }

or: {error: "ERROR MESSAGE" }

GET / Responds with: {ip: "YOUR IP", limit: "MAX WITHDRAWAL IN SATOSHIS"}


About

Simple Testnet Faucet API in Node.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages