
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
bitcoin-faucet
Advanced tools
A Node.js app to easily create a programmable Bitcoin Testnet faucet. This allows you to easily test your Bitcoin applications.
npm i -g bitcoin-faucet
run:
bitcoin-faucet
outputs something like:
bitcoin-faucet listening on port 14004
deposit funds to: n2hBww8z4cZE68SETVTAu4BvM52EpPVo7S
You can configure the faucet with the following commands:
FAUCET_PORT: defaults to 14004FAUCET_WALLET: defaults to ~/.bitcoin-faucet/wallet.jsonCURL or make browser GET request to /withdrawal with params address and optional amount.
Example:
http://localhost:14004/bitcoin/testnet/withdrawal?address=msj42CCGruhRsFrGATiUuh25dtxYtnpbTx&amount=25000
response:
{
"status": "success",
"data": {
"txId": "7b139bdba00cbe506087444caa899b8c94cfac4ab660e0f64a50325cb41c458c"
}
}
While a POST probably would have been proper, a GET is super simple to implement and
easy to make requests in the browser.
Running it as a Mac OS X service allows you to always access it while developing.
Create the following file:
~/Library/LaunchAgents/com.coinbolt.bitcoin-faucet
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.coinbolt.bitcoin-faucet</string>
<key>EnvironmentVariables</key>
<dict>
<key>PATH</key>
<string>/Users/jp/.nvm/v0.10.32/bin:$PATH</string>
</dict>
<key>ProgramArguments</key>
<array>
<string>/Users/jp/.nvm/v0.10.32/bin/bitcoin-faucet</string>
</array>
<key>WorkingDirectory</key>
<string>/Users/jp/.bitcoin-faucet</string>
<key>StandardOutPath</key>
<string>/Users/jp/.bitcoin-faucet/bitcoin-faucet.log</string>
<key>StandardErrorPath</key>
<string>/Users/jp/.bitcoin-faucet/bitcoin-faucet.log</string>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<true/>
</dict>
</plist>
Configure the settings appropriate to your environment. Make sure that the PATH
above is pointing to the location of node.
Then run
launchctl load ~/Library/LaunchAgents/com.coinbolt.bitcoin-faucet.plist
MIT
FAQs
Easy Bitcoin faucet to help with testing applications.
We found that bitcoin-faucet demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.