Skip to main content

A secure reversable crypto currency

Project description

Bitcoinpy

Bitcoinpy is a Python implementation of Bitcoin to help understand the internals of Bitcoin easy.

Bitcoinpy project is aimed at developers who want to learn about the internal workings of Bitcoin. We created this project so it it is easy to read, understand and modify Bitcoin. Bitcoinpy was developed in Python, so that someone with a little bit of programming ability can read and understand the inner workings of Bitcoin. Lots of helpful documentation is provided to help understand the higher level workings of system and its components. Project is implemented in a very modular fashion, so that if someone wants to change the functionality of a component, they can change or replace that particular component and reuse the rest of the code to test their change without lot of changes. Additional tools like the code for creating genesis block, creating and signing transactions, dumping information from blocks, analyzing the blockchain and other debugging tools have been provided to help developers easily bootstrap and debug new alt coins.

In order to keep the code lightweight we reused the libraries including the Bitcoinlib by Jeff Garzik and others. Code contains all the components including the full bitcoin client, server, wallet and miner. However, some of the components like P2SH, alert messages and more are missing. We will add support for missing functionality, albeit slowly. if you would like to contribute, please feel free to fork the project, hack it and send a pull request. We will gladly accept your changes. Any contributions including documentation are welcome.

How to install on Ubuntu

From source repo:

  • Clone this repository: “git clone https://github.com/obulpathi/reversecoin.git ~/reversecoin”

  • Install dependencies: sudo apt-get install python-dev libleveldb1 python-gevent python-leveldb python-bsddb3 python-sqlite

  • After installing dependencies, cd into reversecoin folder and install reversecoin using the command “sudo python setup.py install”

From PyPI:

  • Install dependencies: sudo apt-get install python-dev libleveldb1 python-gevent python-leveldb python-bsddb3 python-sqlite

  • Run sudo pip install reversecoin

FOR DEVELOPERS:

How to run tests

Reversecoin uses tox and nose for testing. To run tests, simply cd into reversecoin folder and enter the command “tox”. Selective tests can be run using the command “$ tox – tests.api.test_wallet:TestWallet.test_info”. If you want to start reversecoind and reversecoin-miner for manual testing, enter into virtualenv by using “source ~/reversecoin/.tox/py27/bin/activate”, then run the commands “reversecoind” for running the reversecoin daemon and “reversecoin-miner” for mining coins.

Note: You don’t need root access to run the above commands as all the setup takes place in virtualenv.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

reversecoin-0.0.4.tar.gz (105.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page