Sign inSign up

cryptocurrencydev/bitcoin

By cryptocurrencydev

Updated over 6 years ago

Bitcoin BTC Wallet - Highly Configurable

Image
0

5.9K

cryptocurrencydev/bitcoin repository overview

Bitcoin Wallet for Docker

Help and Support

If you need any further support please use the table below to find a suitable medium.

You can our help and support services to submit requests for coins to be added to our collection, every attempt will be made to accomadate everyone, and if your in a rush, we offer a paid creation service for a small fee, templates can be generated and added in little to no time.

Support is provided on a best effort basis, our templates are not for everyone, although everyone can learn to use them, they are build to provide a basic feature set.

Has this template been of use to you? Please consider making a small donation to any of the addresses below

WalletAddress
Bitcoin1hXgTjpGgyrgDGkNLugy7EHqcxMbErVbT
Bitcoin Cashqp8c4peeyn0yuhwpwd5ad4lwch5s30pmlu0s9mwas3
Ether0xeC589fe17a1ceD3F2A30500a7ED573022fFECFB6
StellarGATCA2P6ZC7URU4LJFZIWX6CJAVMDYCHAJAY2KUQ4YJUMB7OJKAUARTY

Environment variables - Wallet Configuration

By default all enviroment variable refer to options and configuration settings within the bitcoin.conf file. They can all be defined at run time, see the quick start below

Understanding Bitcoin Config

Available variableDefault valueDescription
SERVER1server=1
LISTEN1listen=1
DAEMON0daemon=0
RPC_ALLOW_IP127.0.0.1rpcallowip=127.0.0.1
RPC_CONNECT127.0.0.1rpcconnect=127.0.0.1
RPC_USERstring.Random(32)rpcuser=
RPC_PASSWORDstring.Random(32)rpcpassword=
RPC_PORT1500rpcport=
PORT8332port=
DB_CACHE64dbcache=64
LOG_TIMESTAMPS1logtimestamps=1
MAX_MEMPOOL256maxmempool=256
MAX_CONNECTIONS8maxconnections=8
PAR2par=2
RPC_THREADS1rpcthreads=1
TX_INDEX1tx_index=1
BLOCK_NOTIFYSee Technical Datablocknotify=/walletblock.sh %s
ALERT_NOTIFYSee Technical Dataecho %s

VOLUMES

By default the map is defined as VOLUME ['/root/.bitcoin']

To use this mount point you should define it at run-time see table below for examples

PlatformExample Command
Linux-v /home/user/bitcoin:/root/.bitcoin
MAC OSX-v /home/user/bitcoin:/root/.bitcoin
Windows-v E:\bitcoin:/root/.bitcoin

If the volume and mount are used and defined at runtime you will be able to locate the files for the blockchain, configs, and wallet.dat in the folder you defined above.

How to use the wallet

Start a simple wallet only
    docker run -dti -e cryptocurrencydev/bitcoin:latest --name=bitcoin
Start a simple wallet with volume
    docker run -dti -v E:/bitcoin:/root/.bitcoin cryptocurrencydev/bitcoin:latest --name=bitcoin
Start a more advanced wallet with RPC and volume
    docker run -dti \
        -e RPC_USER=alkdjaklfjwoifw89 \
        -e RPC_PASSWORD=12983012831029 \
        -e RPC_PORT=1500 \
        -e RPC_ALLOW_IP=192.168.1.64/24 \
        -e RPC_CONNECT_IP=192.168.1.64/24 \
        -v E:/bitcoin:/root/.bitcoin \
        cryptocurrencydev/bitcoin:latest \
        --name=bitcoin

Technical Data

Template OSTemplate ImageGithub URLBuild Command
Ubuntu 18.04ubuntu:18.04Github./configure --without-gui --with-incompatible-bdb

Tag summary

Content type

Image

Digest

Size

1 GB

Last updated

over 6 years ago

docker pull cryptocurrencydev/bitcoin