/pybtcfork

Python Library for splitting hard forks

Primary LanguagePythonMIT LicenseMIT

THIS REPOSITORY COMES WITH ZERO GUARANTEES! USE AT YOUR OWN RISK!

Pre-Requisites

Install python 3.5 or above on your machine:

Install pip:

Download this script: https://bootstrap.pypa.io/get-pip.py

Run (you may need to specify python3 if you also have python2 installed)

$ python get-pip.py

Install git:

https://git-scm.com/downloads

Install virtualenv:

$ pip install virtualenv

Download pybtcfork requirements

$ git clone https://github.com/jimmysong/pybtcfork
$ cd pybtcfork

Linux/OSX:

$ virtualenv -p python3 .venv

Windows:

$ virtualenv -p C:\\PathToYourPythonInstallation\\Python.exe .venv

Linux/OSX:

$ . .venv/bin/activate
(.venv) $ pip install -r requirements.txt

Windows:

> .venv\Scripts\activate.bat
> pip install -r requirements.txt

Run jupyter notebook

(.venv) $ jupyter notebook

Go to the fork.ipynb file to split your forked coins.