Skip to content

simonwangao/Mini-Bitcoin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mini-Bitcoin

The Python implementation of multi-threading mini Bitcoin wallet.

Features

  • 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

Usage

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.

References

  1. the Developer Documentation of Bitcoin
  2. this blog

About

The implementation of mini Bitcoin wallet.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages