The Python implementation of multi-threading mini Bitcoin wallet.
- Follow most of Bitcoin protocols and block structures
- Support block mining, transaction/payment and verification
- Implement Merkle Tree to verify transactions
- Use HTTP protocol to connect and set up P2P network
- The block chain and keys are stored locally to avoid loss
Install required packages:
$ pip3 install -r requirements.txt
Run the wallet with chosen port (default is 10000):
$ python3 src/main.py -p {port}
Register the addresses of peers first, then input help
or -h
to check legal commands.
- the Developer Documentation of Bitcoin
- this blog