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.7.tar.gz (105.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

reversecoin-0.0.7-py2.py3-none-any.whl (112.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file reversecoin-0.0.7.tar.gz.

File metadata

  • Download URL: reversecoin-0.0.7.tar.gz
  • Upload date:
  • Size: 105.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for reversecoin-0.0.7.tar.gz
Algorithm Hash digest
SHA256 9594dbdb92b2a6ddf01009fcc5824d45e805f5b4df65399b44921226418abd5c
MD5 286a6b29b3f8df02b0a4b4e0e7ccf1b3
BLAKE2b-256 0c8b9bb987fc3deeb32e640c111ae0da5185b9509f2ec41e165c6290656e9fa9

See more details on using hashes here.

File details

Details for the file reversecoin-0.0.7-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for reversecoin-0.0.7-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5d15dc93c4c44f8039cc4086a0d96e0ebf96bd19e4fcdf1338e69701e8e10e75
MD5 6debfb8293060d35e2f01ec627f9a8b2
BLAKE2b-256 4f887334dffbbfe8c686063699a77b19483f80648501a3061cfacffbb28967da

See more details on using hashes here.

Supported by

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