Post
Topic
Board Mining (Altcoins)
Re: [ANN] ccminer 1.7.2 with Vanila and Decred - opensource (tpruvot)
by
CodyF86
on 19/02/2016, 01:34:50 UTC
I posted this on the decred forum because I've been lurking over there fiddling around, but wanted to post it here if anyone had any use for it. I know you can just use telnet also, but I was bored and wanted to mess around.

https://github.com/codyf86/PyCCMiner

I wrote a simple API interface in Python 3. I know everyone just cringed when they read Python 3, but you can easily convert it to work on Python 2, but come-on just install Python 3 already it's been 10 years nearly...as everyone who uses linux cringes. =)

Use PyCCMiner.py to be able to input console commands to send. Type help for a list of options.

Can also use PyCCMiner.py -C to constantly send one command that refreshes.

Right now it just connects to port 4068 under local host (which you can easily change) and does a GET request.

If you have an android device can install Python for android and run it from console can be pretty nifty. Slowly doing more to learn more python so will update it when I can.