Skip to content
This repository has been archived by the owner on Jan 1, 2020. It is now read-only.
/ haskoin-faucet Public archive

Bitcoin Faucet service to get small quantities of bitcoin for testing

Notifications You must be signed in to change notification settings

haskoin/haskoin-faucet

Repository files navigation

Haskoin Faucet

Simple faucet implementation running on top of haskoin-wallet.

Features

This package provides a simple faucet implementation written with Yesod on top of the haskoin-wallet package.

Installing

Get dependencies:

Ubuntu:

sudo apt-get install -y git libleveldb-dev libzmq3-dev \
    pkg-config zlib1g-dev libpcre3-dev libncurses5-dev

Clone repository and build:

git clone --recursive https://github.com/haskoin/haskoin-faucet.git
cd haskoin-faucet
stack build

Running

These examples are for testnet in a Linux system. Run from directory where repository was cloned.

Start an instance of Haskoin Wallet in the background:

stack exec hw -- -w .hw -t -d start

Create a faucet account:

stack exec hw -- -w .hw -t newacc faucet

Start the faucet:

HW_SOCKET="ipc://.hw/testnet5/hw.sock" \
    stack exec haskoin-faucet -- config/settings.yml

The faucet will be accessible at this URL.

Contributing

Feel free to send us your pull request.

About

Bitcoin Faucet service to get small quantities of bitcoin for testing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published