Find out more in the tutorial below.ĭocker will run almost anywhere which means it will also run on the cloud. A mining pool such as NiceHash will effectively rent your hardware out to perform hashing in a large pool of computers. While your computer on its own can contribute to the ZCash project, it is very unlikely that you will be able to make a profit if you go it alone. Get Mining #Zcash with in no time - on any platform - anywhere Alex Ellis OctoPooled & cloud mining Spread the word and share your Sols/s rate on Twitter. docker exec -ti zcash /root/zcash/src/zcash-cli -help` The zcash-cli command can be used to increase or decrease the amount of cores the miner is using and check whether you have found any blocks. You can get additional info on the mining process at any time by typing in: $ docker exec -ti zcash /root/zcash/src/zcash-cli getinfo If you want to save the state of your container use the docker commit command. You can reattach at any time with docker attach zcash If you want to detach from the Docker container, but keep it running hit Control P + Q. This screenshot is running Ubuntu on Docker for Mac on a MacBook Air You can hit (Control + C) at any time to quit. Now you simply type in ~/zcash/src/zcashd and watch the stats collect. That just created a strong password and saved your username into a config file. $ docker run -name zcash -ti zcash /bin/bashĮcho addnode=testnet.z.cash > nfĮcho rpcpassword=$(head -c 32 /dev/urandom | base64) > nf Here are the next steps needed once you've built your Docker image. It will save waiting for the build to complete. Here's my image if you want to skip ahead and pull it: docker pull alexellisio/zcash:latest. There doesn't appear to be individual secrets or user config in the steps above. It would reduce your build-to-run time from 30-90mins down to the download time. I would suggest that the Zcash team think about pushing this image to the Docker Hub. bin/sh -c apt-get update -q & apt-get -qy i 433 MB bin/sh -c #(nop) WORKDIR /root/zcash/ 0 B Here's a summary of the layers created: CREATED BY SIZE The resulting image had a size of around 4GB, but bare in mind that this also includes the Ubuntu base image in its size. RUN apt-get update -q & apt-get -qy install \īuild-essential pkg-config libc6-dev m4 g++-multilib \Īutoconf libtool ncurses-dev unzip git python \Īt this point you now perform a fully automated build - regardless of whether Ubuntu is installed and running on your base system. This Dockerfile enables the app for work on Windows, Mac, other Linux distro and will be just as at home on a cloud instance or on your laptop. Well I put a quick one together based upon the official instructions: I started to wonder why there was no Dockerfile? I wanted to try the code but it turns out you have to build the code for yourself - from scratch that you need Ubuntu or Debian on your system. Automate all the things with a Dockerfile Zcash is unfinished and highly experimental. If you're interested in making a profit from mining crypto-currencies with CPU/GPU then checkout my new project: mine-with-docker and start earning Bitcoin today. Based on Bitcoin's code, it intends to offer a far higher standard of privacy and anonymity through a sophisticated zero-knowledge proving scheme that preserves confidentiality of transaction metadata. Zcash is an implementation of the "Zerocash" protocol. Have you heard of Zcash yet? Here's a quick introduction.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |