This article is a mirror article of machine translation, please click here to jump to the original article.

View: 10008|Reply: 0

How to build an Ethereum mining pool? Mining pool building tutorial

[Copy link]
Posted on 11/29/2018 1:17:36 PM | | | |
Virtual currency mining pool construction tutorial:

Bitcoin/Ethereum is gaining momentum and is sought after by a large number of Internet and financial people, and there is no doubt that it is a social experiment on currency, and the number of participants has reached tens of millions of people around the world.

Premise: It is best that you have to understand programming, if you don't understand it, it is more difficult, of course, as long as you specialize in research, you can still make it if you don't understand



Pool Code:The hyperlink login is visible.Open Ethereum Mining Pool

Preparation of knowledge

Know a little about Linux operations, know a little about BlockChain, and know a little programming

If you don't understand, it's still okay, you just don't know why.

Prepared

A server with at least 1GB of RAM and at least 50GB (depending on the size of the blockchain ledger). The OS is Ubunutu 16.04 LTS.

Build the process

Open an Ubuntu 16.04. Install the necessary kits.

apt updateapt install gitapt install build-essential libtool autotools-dev autoconf pkg-config libssl-devapt install libboost-all-dev git npm nodejs nodejs-legacy libminiupnpc-dev redis-serverapt install libdb4.8-dev libdb4.8++-devapt install golangapt install nginxapt install npm

According to the wallet synchronization suite you want to set up, in the case of ETH, that is:

git cloneThe hyperlink login is visible.

Then put the kit together.

cd go-ethereummake geth

After installation, run build/bin/geth and wait for the node synchronization to be completed, you can also use it to generate wallets, mining, development, etc., more detailed operations can go to the wiki to view.

Now, with the nodes set, the next step is to set up the pool.

git config --global http.The hyperlink login is visible.cloneThe hyperlink login is visible.open-ethereum-poolmake

Install redis.

apt install redis

Then run the pool.

./build/bin/open-ethereum-pool config.json

config.json can refer to the config.example.json under the table of contents to make corresponding modifications. You can check out the wiki to make more fixes to the pool.

With the backend of the mining pool, now you also need a front-end page for users to see.

cd www

Make any changes you want to www/config/environment.js. ApiUrl: '//example.net/' Please be sure to change it to your pool URL.

Then install the front end.

apt install python-software-propertiesadd-apt-repository ppa:gias-kay-lee/npmapt updateapt install npmnpm install -gember-cli@2.9.1npminstall -g bowernpm installbower install./build.sh

Finally, set up nginx.

upstream api { server127.0.0.1:8080; }locatio{filter}n /api { proxy_passhttp://api; }

In this way, a simple mining pool is set up!
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com