Zen Protocol Documentation
WebsiteTelegramBlogForum
  • Zen Protocol Docs
  • Apps
    • Headless Full Node
      • Full Node NPM Package
      • Build from Source
      • CLI
      • API
        • Wallet
        • Contracts
        • General
        • Blockchain
        • AddressDB
      • Deploy
        • Systemd
        • Shell script
        • Docker
      • Technical Model
      • AddressDB
    • Wallet
      • Desktop Wallet
        • Installers
      • Web Wallet
        • Run Locally
      • Wallet User Guide
        • Connect a Wallet
          • Create a Wallet
          • Import a Wallet
          • Watch Mode
        • My Wallet
          • Navigation Bar
          • Portfolio
          • Receive
          • Send / Execute
          • Transaction History
        • Contracts
          • Active Contracts
          • Execute a Contract
            • Message Body Field
          • Extend a Contract
          • Activate a Contract
        • Voting
          • Common Goods Pool
            • Generating a Ballot ID
          • Governance
        • Signer
        • Settings
          • Account Settings
          • Node Connectivity
      • Deprecated Desktop Wallet
        • Executable Installers
        • Wallet Structure
          • Video Tutorials
    • Explorer
    • Zen.js
      • Payment Processing
    • Oracle
      • Oracle GUI
      • Oracle Service
      • Oracle's API
      • Deploy
        • Systemd
        • Docker
      • How the Oracle contract works
      • How to create an Attestation token
    • Dex
      • Dex User Guide
        • Traded Pairs
        • Search Pairs
        • Order Book
        • Operations
        • My Wallet
        • Settings
      • How DEX contract works
    • Fixed Payout
      • Fixed Payout Generator User Guide
        • Issue
        • Redeem
        • Cancel
        • Verify
        • Settings
      • How the FP Contract works
      • How are the asset named?
  • Smart Contracts
  • Contract Structure
  • Contract Cost
  • Contract Activation
  • Contract Examples
  • Smart Contracts SDK
  • Contracts Language ZF*
  • Named Token Tutorial
  • Consensus
  • Common Goods Pool
  • Block Validation
  • Transaction Validation
  • Serialization
  • Use Cases
    • Create Unsigned Transaction
    • Secure Sign Transaction
    • Cold Storage using Full Node
  • Troubleshooting
    • Responsible Disclosure
    • Bug Bounty
    • Known Bugs
  • For Miners
    • Pools
    • GPU Mining
    • GPU Bounties
  • Check Crowdsale Contribution
  • Alpha call option
Powered by GitBook
On this page
  • Nvidia/CUDA
  • AMD
  1. For Miners

GPU Mining

Nvidia/CUDA

Currently, the best option is Protovist's patch of ccminer on Ubuntu.

Instructions:

  • Ubuntu 16.04 is known to work.

  • Install the Zen Protocol wallet.

  • Obtain the exact versions of CUDA (9.2.11-1) and openssl (1.1.1-pre8) needed:

sudo apt-key adv --fetch-keys http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/7fa2af80.pub
sudo apt update
sudo apt dist-upgrade
sudo apt install build-essential automake
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64/cuda-repo-ubuntu1604_9.2.88-1_amd64.deb
sudo dpkg -i cuda-repo-ubuntu1604_9.2.88-1_amd64.deb
sudo apt install libcurl4-openssl-dev 
sudo apt-get update
sudo apt-get install cuda
wget https://www.openssl.org/source/openssl-1.1.1-pre8.tar.gz
tar zxf openssl-1.1.1-pre8.tar.gz
cd openssl-1.1.1-pre8/
./config
make -j8
sudo make install
cd ..
  • Get the right version of ccminer:

git clone https://github.com/protovist/ccminer.git
cd ccminer
git checkout zenprotocol
./build.sh
  • Run the Zen Protocol client and create or import an account.

  • Run ccminer, pointing it to the Zen Protocol client, like this:

./ccminer -a zenprotocol -o 127.0.0.1:11567

For a pool, change 127.0.0.1:11567 to the pool address.

AMD

Proper AMD mining support is still in development. Right now you need to compile your own Zen Protocol node.

Instructions:

  • Follow the instructions for building the Zen Protocol node.

  • Compile cgminer

  • Run cgminer as follows:

cgminer --keccak -o http://127.0.0.1:11567

PreviousPoolsNextGPU Bounties

Last updated 4 years ago

Checkout or download the cgminer branch at

Get a patched cgminer from

https://gitlab.com/zenprotocol/zenprotocol/tree/cgminer
https://github.com/A-Manning/cgminer_zp