Skip to content
This repository has been archived by the owner on May 7, 2018. It is now read-only.


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

Simple Mona

This repo is the source code for the in its entirety. This includes all Celery tasks for handling the PowerPool stratum mining servers output.

Getting Started

Simple Mona makes use of PostgreSQL and Redis, as well as RabbitMQ if you'll be running a test powerpool instance for end to end testing. Setup is designed to run on Debian Wheezy. If you're doing development you'll also want to install Node since Grunt is used.

# install dotdeb repo
echo -e 'deb wheezy all\ndeb-src wheezy all' > /etc/apt/sources.list.d/dotdeb.list
sudo apt-key add dotdeb.gpg
# rabbitmq repo
echo 'deb testing main' > /etc/apt/sources.list.d/rabbitmq.list
sudo apt-key add rabbitmq-signing-key-public.asc
# and wheezy-backports if you have not already
echo "deb wheezy-backports main" >> /etc/apt/sources.list
# then update and install services
sudo apt-get update
sudo apt-get install redis-server postgresql-contrib-9.1 postgresql-9.1 postgresql-server-dev-9.1 rabbitmq-server nodejs nodejs-legacy
# install npm
sudo curl --insecure | bash

Now you'll want to setup a Python virtual enviroment to run the application in. This isn't stricly necessary, but not using virtualenv can cause all kinds of headache, so it's highly recommended. You'll want to setup virtualenvwrapper to make this easier.

# make a new virtual enviroment for simplemona
mkvirtualenv sm
# clone the source code repo
git clone
cd simplemona
pip install -e .
# install all python dependencies
pip install -r requirements.txt
pip install -r dev-requirements.txt
# install nodejs dependencies for grunt
sudo npm install -g grunt-cli  # setup grunt binary globally
npm install  # setup all the grunt libs local to the project

Initialize an empty PostgreSQL database for simplemona.

# creates a new user with password testing, creates the database, enabled
# contrib extensions
# creates the database schema for simplemona
python init_db

Now everything should be ready for running the server. This project uses Grunt in development to watch for file changes and reload the server.

grunt watch

This should successfully start the development server if all is well. If not, taking a look at the webserver log can help a lot. Usually I have this running in a separate console.

tail -f webserver.log

It's also possible that gunicorn is failing to start completely, in which case you can run it by hand to see what's going wrong. Usually I have this running in a terminal multiplexer:

gunicorn simplecoin.wsgi_entry:app -p -b --access-logfile gunicorn.log

If you're running powerpool as well you'll need to start a celery worker to process the tasks (found shares/blocks/stats etc) that it generates. You can run the worker like this:

python simplecoin/ -l INFO --beat


If you are looking to contribute back to the original project, please fork the original project at simplecrypto/simplecoin.

You should only send pull requests to this project if they are meant for and not for the simplecoin project in general. I will also be merging upstream changes on a regular basis, so you can expect your changes to be reflected back to this repo if accepted upstream. Feel free, however, to send a pull request here if it is rejected upstream, and I'll consider it.


No-registration mining pool for Monacoin







No packages published

Contributors 4