Code Monkey home page Code Monkey logo

gui-miner's Introduction

Scala GUI Miner

The Scala GUI miner is a beautiful, easy to use, interface for mining Scala. It is aimed at getting people that have never mined Scala into the crypto game by making it really simple to get started.

Screenshot

We currently support one very popular miner backend:

  1. xlarig

If you'd like to fork this miner for you own coin, please see the forking section later.

Compiling

Linux

The miner GUI is built using Electron and Go using the Astilectron app framework.

  • Install Go

https://golang.org/dl/

  • Clone the repository
git clone https://github.com/scala-network/gui-miner gui-miner
cd gui-miner
  • Initialize the go project
go mod init gui-miner
  • Install the required Go packages
go get -u github.com/asticode/go-astilectron@latest
go install github.com/asticode/go-astilectron
go get -u github.com/asticode/go-astilectron-bundler/...
go install github.com/asticode/go-astilectron-bundler/astilectron-bundler
go get -u github.com/asticode/go-astichartjs@latest
go install github.com/asticode/go-astichartjs
go get -u github.com/asticode/go-astilectron-bootstrap@latest
go install github.com/asticode/go-astilectron-bootstrap
go get -u github.com/google/uuid@latest
go install github.com/google/uuid
go get -u github.com/mitchellh/go-ps@latest
go install github.com/mitchellh/go-ps
go get -u github.com/scala-network/gui-miner/src/gui@latest
  • Build the app
make

NOTE: Ensure you clone the GUI miner into your working $GOPATH

If all goes well the binaries for Windows, macOS and Linux will be available in the bin folder.

Forking

In the spirit of open source we'll be making it really simple to fork and brand the miner for your own coin. Some structural changes need to be made to simplify the process. Subscribe to issue #3 to follow the progress on this guide.

gui-miner's People

Contributors

donovansolms avatar hayzamjs avatar teredic 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  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  avatar

gui-miner's Issues

GPU not detect

hello
there is no option for my GPU,why?
only option for CPU? (i have 6 CPU and 1 GPU)

Duplicate start of the miner after an update of pool

Hey,

on some distrib (tested on Ubuntu 16.04 and Windows) the miner can be launch twice and make the gui bug.

To reproduce:

  • Open the miner
  • Clic on configuration button
  • Clic on Update
  • Press start mining

The problem here is that, after the update, the miner will automatically start but the button start/stop mining doesn't switch directly, I guess it wait for some specific state of xmr-rig. So if you press on it again it will start a second miner.

This bug is kind of attached to your OS latency, so it could be hard to reproduce.

Add API services

The miner requires an API that returns stats and the pool list to be available. I need to clean and move that into this repo for other coins to be able to use the miner

Create forking guide

This issue tracks the progress on making the miner easier to fork by providing a forking guide.

Issues to be resolved: #2

Subscribe to this issue to follow the progress

astilectron-bundler: command not found

This is what i get when i try to compile with linux or MacOS.
Any help please ?

I have installed the dependencies and that what happen when running make command:

make: scripts/get_app_name.py: Command not found
cd src/; astilectron-bundler -v
/bin/sh: astilectron-bundler: command not found
make: *** [build] Error 127

thank you.

Building on OSX

Hi,

I can't believe you are using this repo for the builds, since a donovansolms directory seems to be hardcoded somewhere. After I put the source code in such a directory under my /go , I seemed to be doing all right until

DEBU[0027] Building for os linux and arch amd64
DEBU[0027] Executing go build -ldflags -s -X "main.AppName=Stellite GUI Miner v1.1.0" -X "main.BuiltAt=2018-09-09 00:44:59.065095 +0200 CEST m=+27.549576645" -o

gui/gui.go:168:11: unknown field 'Homepage' in struct literal of type bootstrap.Options
gui/gui.go:174:16: unknown field 'WindowOptions' in struct literal of type bootstrap.Options
gui/gui.go:182:9: cannot use func literal (type func(*astilectron.Astilectron, *astilectron.Window, *astilectron.Menu, *astilectron.Tray, *astilectron.Menu) error) as type bootstrap.OnWait in field value
gui/gui.go:210:17: unknown field 'MessageHandler' in struct literal of type bootstrap.Options
: exit status 2
make: *** [build] Error 1

Is this resolved by more directory "magic", or is something different going on here?

Thanks!

Allow custom pool entries

While it is possible to select a pool from the predefined list and configure it in the miner settings, this feature will allow users to enter a custom pool address in the setup process

RAT

Dont install

ARM binaries

I just spent the last 2 hours failing at installing go... now it's complaining about no path when I just gave it a bloody path.

Anyway, it would take you very little time and make it a lot easier for people if you attached ARM binaries.

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.