A simple application that transfer Bitcoin from one wallet to other wallet.
It is configured to use BIP38 wallet address if you pass wallet password.
1 - Install dependencies:
python3 -m pip install -r requirements.txt
2 - Set your wallet private data:
export BTC_WALLET_PRIV='YOUR-PRIVATE-ADDRESS'
or if you use BIP38 wallet with password:
export BTC_WALLET_PRIV='YOUR-PRIVATE-ADDRESS'
export BTC_WALLET_PRIV_PASS='YOUR-PRIVATE-ADDRESS-PASSWORD'
3 - Transfer Bitcoins
python3 transfer.py --to 1Em2mh42vmqDxHLuaMM2u6KQPJWFDP8Jy8 --amount 0.00001000
or if you only want a draft execution, without perform transaction, execute:
python3 transfer.py --to 1Em2mh42vmqDxHLuaMM2u6KQPJWFDP8Jy8 --amount 0.00001000 --draft
- If you have problems with macOS when install
bip38
aboutopenssl
headers not found, execute the following command and install dependencies again:
brew install openssl
export CFLAGS="-I$(brew --prefix openssl)/include"
export LDFLAGS="-L$(brew --prefix openssl)/lib"
Copyright (c) 2024, Paulo Coutinho