Code Monkey home page Code Monkey logo

ethereum's Introduction

Ethereum Dashoard

Installation

You can use the install.sh for the installation of miner(s) and master(s)

Configuration

The configuration file is client/config.json. Just add, edit or delete address(es). You don't have to specify the protocol putting http:// at the begin but you must define the port.

The address(es) on Master are for geth.py and these on Worker for gpu.py.

Screenshots

Dashboard Dashboard Dashboard

Memo

It's just a dashboard! You must install Geth and Ethminer.

Then you must run them:

Geth

# geth --rpc --rpcaddr 127.0.0.1 --rpcport 8008 console

Ethminer

# ethminer -F 127.0.0.1:8008 <your options>

gpu.py

It needs aticonfig

Run as root:

# apt-get install -y python3 python3-pip
# python3 -m pip install subprocess locale requests bottle json socket netifaces datetime
# python3 gpu.py

geth.py

It needs geth

Run as root:

# apt-get install -y python3 python3-pip
# python3 -m pip install eth_rpc_client subprocess requests bottle netifaces json socket datetime
# python3 geth.py

Usage:

Open the browser and go on MinerIPAddr:6969 (for gpu.py) or MinerIPAddr:4269 (for geth.py)

If you are using gpu.py, you should read something like this:

{
	data: {
		Uptime: "9 days, 3:53:44.990000",
		Ip: "10.0.10.3",
		Name: "GPUGD3SRV002",
		gpu: [
			{
				MaxMem: "1400",
				CurrentMem: "1400",
				Heat: "76",
				Load: "100",
				CurrentClock: "1000",
				Information: " Adapter 0 - Supported device 67B1 Core (MHz) Memory (MHz) Current Clocks : 1000 1400 Current Peak : 1000 1400 Configurable Peak Range : [300-1500] [150-2000] GPU load : 100% ",
				FanSpeed: "100",
				MaxClock: "1000"
			},
			{
				MaxMem: "1400",
				CurrentMem: "1400",
				Heat: "94",
				Load: "100",
				CurrentClock: "1000",
				Information: " Adapter 1 - Supported device 67B1 Core (MHz) Memory (MHz) Current Clocks : 884 1400 Current Peak : 1000 1400 Configurable Peak Range : [300-1500] [150-2000] GPU load : 100% ",
				FanSpeed: "100",
				MaxClock: "1000"
			}
		]
	}
}

Instead, if you are running geth.py, you should read something like this:

{
	data: [
		{
			Balance: 42694269426942694269,
			Uptime: "10 days, 4:21:40.910000",
			Euro: "4269",
			Ip: "10.0.10.8",
			Name: "NickiMinage",
			Hash: 280870704
		}
	]
}

Server API:

gpu.py

  • Class: GPUinfo

    • getLoad: return GPU load
    • getTemperature: return GPU temperature
    • getFanspeed: return the GPU's fan speed
    • getMaxClock: return the GPU's graphics clock limit
    • getCurrentClock: return the GPU's graphics clock
    • getMaxMem: return the GPU's memory clock limit
    • getCurrentMem: return the GPU's memory clock
    • getInformation: return aticonfig --odgc output
    • get_adapter: return the number of graphics card recognized by aticonfig
  • get_uptime: return miner uptime (not mining software uptime!)

  • get_name: return miner hostname

  • get_ip: return miner IP (eth0)

geth.py

  • Class : RpcJson

    • json: return the output of Geth's API
    • getEuroBalance: return the balance in โ‚ฌ
    • getHashrate: return the hashrate
    • getBalance: return the wallet's balance
    • getAccounts: return the wallet's address
  • get_uptime: return miner uptime (not mining software uptime!)

  • get_name: return miner hostname

  • get_ip: return miner IP (eth0)

Buy me a ๐Ÿบ

Do you like this repo? Are you using it on your miners? Do you have any idea to improve this repo? Let me know: [email protected] :)

Ethereum: 0x37C8aB6329Dd4541ec178d3FfAe834e61f536874

Paypal

ethereum's People

Contributors

camtosh avatar ilovelinux avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ethereum's Issues

Add group for miner

Like this :

{
    "master": [
        {
            "ip": "10.0.10.1:4269"
        }
    ],
    "worker": [
        {
        "Baie 0": [
            "10.0.10.1:6901",
            "10.0.10.1:6902"
          ],
        "Baie 1": [
            "10.0.10.1:6903",
            "10.0.10.1:6904"
          ]
        }
    ]
}

Translate the README.md

Hi!
Your project seems very good! I haven't tried it yet but I will do it as soon as I can!
But...You wrote readme.md in French and this could be a problem for non-french newbies :/
Fix it soon!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.