mining proxy
Python C Other
Switch branches/tags
Nothing to show
Clone or download
alex alex
alex and alex Add libssl-dev
Latest commit 90bdab4 Dec 26, 2013


Application providing HTTP/getwork protocol <--> Stratum and Stratum/LTC mining protocols bridge

Installation on Windows

  1. Download official Windows binaries (EXE) from or
  2. Open downloaded file. It will open console window. Using default settings, proxy connects to Itzod's mining pool (or ltcmine pool, if -pa scrypt was specified)
  3. If you want to connect to another pool or change other proxy settings, type "mining_proxy.exe --help" in console window.

Installation using Github on Debian/Ubuntu

This is advanced option for experienced users, but give you the easiest way for updating the proxy.

Install with the auto install script

curl "" | sudo sh

To install line-by-line

# Python and libssl development packages are required
sudo apt-get install -y git-core python-dev libssl-dev
git clone
cd stratum-mining-proxy

# This will upgrade setuptools package
sudo python

# Build and install LTC scrypt extension
cd litecoin_scrypt
sudo python install
cd ..

# This will install required dependencies (namely Twisted and Stratum libraries), but don't install the package into the system.
sudo python develop

You can start the Stratum proxy by typing ./ in the terminal window. Using default settings, it connects to Itzod's mining pool.

Also you have ability to start Stratum/LTC proxy by typing ./ -pa scrypt. Using default settings, it connects to LTCMine mining pool.

If you want to connect to another pool or change other proxy settings, type ./ --help.

If you want to update the proxy, type git pull in the package directory.

Compiling midstate C extension

For some really big operations using getwork interface of this proxy, you'll find useful "midstatec" C extension, which significantly speeds up midstate calculations (yes, plain python implementation is so slow). For enabling this extension, just type "make" in midstatec directory. Proxy will auto-detect compiled extension on next startup.


This proxy is provided by Slush's mining pool at You can contact the author by email info(at) or by IRC on in channel #stratum.

This proxy was modified to add support of Stratum/LTC mining protocol. Modifications implemented by and minings pools administrator, you can ask your questions by email balthazar(at) or PM at exchange.