https://github.com/thesis/testnet-python
Utilities related to testnet bitcoin
https://github.com/thesis/testnet-python
Last synced: 5 months ago
JSON representation
Utilities related to testnet bitcoin
- Host: GitHub
- URL: https://github.com/thesis/testnet-python
- Owner: thesis
- Created: 2015-03-26T02:27:45.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-07-21T01:08:41.000Z (almost 11 years ago)
- Last Synced: 2025-07-02T08:44:15.738Z (12 months ago)
- Language: HTML
- Size: 141 KB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Python utils for using the bitcoin testnet.
# Haskoin faucet
Currently, the only thing in this repo is a procedure to pull test coins from
[faucet.haskoin.com](http://faucet.haskoin.com/).
### Shell
```
$ python -m bitcoin_testnet.haskoin_faucet 2MwXndSNLYbD9smwjmuMDFdQMW3ccGN9dLx
Tx hash: 151cca1ea8d82208da1a2b7508adbd8395b75f07e2d684d4bd245488d28d4950
```
### Environment variables
* `LOG_TARGET` — Comma-separated list of logging destinations.
Options are `syslog` and `stdout`. Default: `stdout`.
* `LOG_LEVEL` — One of the following:
`critical`, `error`, `warning`, `info`, `debug`.
Default: `info`.
### Docker
```
$ docker build -t testnet .
...
$ docker run testnet python -m bitcoin_testnet.haskoin_faucet 2MwXndSNLYbD9smwjmuMDFdQMW3ccGN9dLx
Tx hash: a14577329eb4e36fdb1308329fee73d546dcddca8eda2e7498a2b413c674539f
```