• Stars
    star
    150
  • Rank 247,323 (Top 5 %)
  • Language
    C++
  • License
    MIT License
  • Created about 8 years ago
  • Updated about 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

an OpenCL Zcash GPU miner

#PSA

The solo mining portion of Zogminer has moved (temporarily) to a clone of the zcash repo found at https://github.com/nginnever/zcash We will make a PR to zcash when it is ready. This repo can still serve as pool miner.

ZCash-gpu-miner

An OpenCL Zcash miner solving Equihash PoW.

Project Status

Status: In active development

Check the project's roadmap to see what's happening at the moment and what's planned next.

Project Status Build Status Gitter chat

Building

First make sure OpenCL is correctly installed in your system. If you are having issues, take a look at our Ubuntu Guide or Fedora Guide.

If you are getting /usr/bin/ld: cannot find -lOpenCL, the error has to do with the driver installing libOpenCL.so as libOpenCL.so.1. You can create a symlink:

$ sudo ln -s /usr/lib/libOpenCL.so.1 /usr/lib/libOpenCL.so

Or for people that do not want to mess with this:

$ sudo apt-get install ocl-icd-opencl-dev

Unix

Install the dependencies. On Debian/Ubuntu-based systems:

$ sudo apt-get install \
      build-essential pkg-config libc6-dev m4 g++-multilib \
      autoconf libtool ncurses-dev unzip git python \
      zlib1g-dev wget bsdmainutils automake opencl-headers \
      mesa-common-dev

On RedHat (Fedora/CentOS) systems:

$ sudo dnf install \
      git pkgconfig automake autoconf ncurses-devel python wget vim-commom \
      gtest-devel gcc gcc-c++ libtool patch opencl-headers mesa-libGL-devel

Fetch our repository with git and run fetch-params.sh like so:

$ git clone https://github.com/nginnever/zogminer.git
$ cd zogminer/
$ ./zcutil/fetch-params.sh

Ensure you have successfully installed all system dependencies as described above. Then run the build, e.g.:

$ ./zcutil/build.sh -j$(nproc)

This should compile our dependencies and build zcash-miner. (Note: if you don't have nproc, then substitute the number of your processors.)

Running

Run GPU test miner

$ ./src/zcash-miner -G

Usage:

$ ./src/zcash-miner -help

Stratum

./src/zcash-miner -G -stratum="stratum+tcp://<address>:<port>" -user=<user> -password=<pass>

Solo mine ZCash

This currently only works on the zcash branch https://github.com/nginnever/zcash

zcashd -G -allgpu (this will load all your cards and solo mine) zcashd -G -deviceid= (this will run a specific card) zcashd -G -allgpu -genproclimit=2 (this will run two threads per card. If you're card has 4gb or more this can work)

First create or modify ~/.zcash/zcash.conf with the following:

testnet=1
addnode=betatestnet.z.cash
rpcuser=username
rpcpassword=password
gen=1
GPU=1
deviceid=<device> (default: 0)

Next run zcashd:

./src/zcashd

Donations

@omaralvarez

ZEC: t1MEUYR6yu9hYQ31ECWmijVwx9R6pAXQSTy

BTC: 18tvCqDFAFWv3jwDqXe5SBs6bmy9Xn4bnN

ETH: 0x000DCB7ccB55faDaEc5C4A13E173a1E30e643867

@AgeManning

ZEC: t1MfAaj8YDwiwFb6RAnNtW4EtzvTvkFGBvV

BTC:1EdijwWG3jYczjWLAqVgg3WgV8prXo5M5C

ETH: 0a9e0a4cfffc9a7c7df37d8300e9f79ad15b986f

@nginnever

ZEC: t1PGgRgVQ14utsD7mp2dzGdykTDFUCKzPQ5

BTC: 1A67XmfyukPNbrMmckBToE8xZPesuM6Ti1

ETH: 0x82a642cAFD6bFc228C7B5Ea0394A0Ad702A7c03D

More Repositories

1

general-state-channels

Spankchain POC implementation of generalized state channels
JavaScript
20
star
2

swarmchan

JavaScript
19
star
3

js-equihash-solver

a javascript implementation of zcash's PoW solver
JavaScript
13
star
4

fileswarm

distributed file storage platform
JavaScript
12
star
5

ippm

interplanetary package manager
JavaScript
10
star
6

Storj-ERC20-Token

An ethereum standard token for Storjcoin
7
star
7

storj-audit-verifier

Smart contract to verify Storj audits
JavaScript
4
star
8

vrc-invite-bot

JavaScript
3
star
9

NFT-editions

Solidity
3
star
10

ipfs-ethereum-log

3
star
11

ippm-registry

JavaScript
3
star
12

crypto-kitty-battle

A smart contract battle arena for crypto kitties.
JavaScript
3
star
13

zogos

an ubuntu distribution bundled with zcash mining tools
Go
3
star
14

ipfs-viewer

Python
3
star
15

ethereum-web-explorer

JavaScript
3
star
16

storj.pics

An image hosting application built on storj p2p object storage
CSS
3
star
17

zmsg-gui

A javascript based interface for sending messages via zcash encrypted memo fields
JavaScript
2
star
18

XCAT-Ether

ethereum implementation of cross chain zcash atomic swap
JavaScript
2
star
19

bellman-example

Rust
1
star
20

tokensale-app

A minimal frontend for a token sale contract
JavaScript
1
star
21

turba-server

A redux store of merkle-dag objects stored on IPFS
JavaScript
1
star
22

fhe_voting

Rust
1
star
23

SolidityIPFSverify

A solidity contract that protobuf encodes string content before sha256 hashing
1
star
24

gossipsub-sims

Simulations of the gossibsub protocol
JavaScript
1
star
25

data-structures-c

data structures and algorithms in c/c++
C++
1
star
26

erc20-msig-approver

Calls ERC20 Approves from Gnosis Multisig Wallet
JavaScript
1
star
27

blockedu.io

Block EDU website
CSS
1
star
28

swarm-tests

prototyping swarm protocol
1
star
29

ipfs-pad

A distributed collaborative text editor on IPFS.
JavaScript
1
star
30

turba-client

Distributed Social Media
JavaScript
1
star