Mining STEEM For Dummies

View this thread on: d.buzz | hive.blog | peakd.com | ecency.com
·@joseph·
0.000 HBD
Mining STEEM For Dummies
Setup STEEM wallet and start mining step by step guide

![Mining STEEM for Dummies](http://s32.postimg.org/k4hh8lps5/joseph.jpg)

## It is recomended that you have Ubuntu 14.04 LTS or a later version.

###  Open a terminal window and enter these lines one by one, give each one time to finish: 

`sudo apt-get update`

 ![click enter button](http://s32.postimg.org/vbevnwc79/enter.png)

`sudo apt-get install git cmake g++ python-dev autotools-dev libicu-dev build-essential libbz2-dev libboost-all-dev libssl-dev libncurses5-dev doxygen libreadline-dev dh-autoreconf`

 ![click enter button](http://s32.postimg.org/vbevnwc79/enter.png)

`wget -O boost_1_60_0.tar.gz http://sourceforge.net/projects/boost/files/boost/1.60.0/boost_1_60_0.tar.gz/download`

 ![click enter button](http://s32.postimg.org/vbevnwc79/enter.png)

`tar xzvf boost_1_60_0.tar.gz`

 ![click enter button](http://s32.postimg.org/vbevnwc79/enter.png)

`cd boost_1_60_0`

 ![click enter button](http://s32.postimg.org/vbevnwc79/enter.png)

`./bootstrap.sh --prefix=/usr/local`

 ![click enter button](http://s32.postimg.org/vbevnwc79/enter.png)

`./b2 install`

 ![click enter button](http://s32.postimg.org/vbevnwc79/enter.png)


`cd`

 ![click enter button](http://s32.postimg.org/vbevnwc79/enter.png)

`git clone https://github.com/bitcoin/secp256k1`

 ![click enter button](http://s32.postimg.org/vbevnwc79/enter.png)

`cd secp256k1`

 ![click enter button](http://s32.postimg.org/vbevnwc79/enter.png)

`./autogen.sh`

 ![click enter button](http://s32.postimg.org/vbevnwc79/enter.png)

`./configure`

 ![click enter button](http://s32.postimg.org/vbevnwc79/enter.png)

`make`

 ![click enter button](http://s32.postimg.org/vbevnwc79/enter.png)

`./tests`

 ![click enter button](http://s32.postimg.org/vbevnwc79/enter.png)


`cd`

 ![click enter button](http://s32.postimg.org/vbevnwc79/enter.png)

`git clone https://github.com/steemit/steem`

 ![click enter button](http://s32.postimg.org/vbevnwc79/enter.png)

`cd steem`

 ![click enter button](http://s32.postimg.org/vbevnwc79/enter.png)

`git submodule update --init --recursive`

 ![click enter button](http://s32.postimg.org/vbevnwc79/enter.png)

`cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_CONTENT_PATCHING=OFF -DLOW_MEMORY_NODE=ON`

 ![click enter button](http://s32.postimg.org/vbevnwc79/enter.png)

`make`

 ![click enter button](http://s32.postimg.org/vbevnwc79/enter.png)

`cd programs/steemd`

![click enter button](http://s32.postimg.org/vbevnwc79/enter.png)

`./steemd --rpc-endpoint --seed-node="seed.steemed.net:2001" --seed-node="52.74.152.79:2001"`

 ![click enter button](http://s32.postimg.org/vbevnwc79/enter.png)



### start a new terminal window and type:


`cd steem/programs/cli_wallet`

 ![click enter button](http://s32.postimg.org/vbevnwc79/enter.png)


`./cli_wallet`

 ![click enter button](http://s32.postimg.org/vbevnwc79/enter.png)


`set_password "PASSWORD"`

 ![click enter button](http://s32.postimg.org/vbevnwc79/enter.png)


`unlock "PASSWORD"`

 ![click enter button](http://s32.postimg.org/vbevnwc79/enter.png)

`suggest_brain_key`

* copy the output and save it in a secure location:
* you should never give your wif private key to anyone.

`{
  "brain_priv_key": "FULK DEBUG EARTH IMAGINE BABBLE POPIFY PREFEED EMBIND FOREPAW KAHILI  ...",

  "wif_priv_key": "5JsPmgU1dfKu8SHWAWkBKw1XGz97Kwz4DLwgm2bSz99qtFqTAkp",  

  "pub_key": "STM73jgNRFLTKSTaGWv8QfXzSopUZBsQGmrECWPvpnemjyAcBfzAc"
}`

* you will need your wif private key for the config.ini file in a minute,

* this is a good time to load **YOUR** key in your cli_wallet terminal window like this:

`import_key 5JsPmgU1dfKu8SHWAWkBKw1XGz97Kwz4DLwgm2bSz99qtFqTAkp` 

 ![click enter button](http://s32.postimg.org/vbevnwc79/enter.png)



#### now exit your cli_wallet terminal:


`ctrl + c`


 ![click enter button](http://s32.postimg.org/vbevnwc79/enter.png)



#### This is a good time to pick your account/miner name

** Account names must be all lower case, less than 15 characters, and start with a letter

lets say you pick account name george1234

you must check if the account already exists, go to:

https://steemit.com/@george1234

if you get an error like this:

`Server error (500)
10 assert_exception: Assert Exception itr != accounts_by_name.end(): Unable to find account 'george1234'. Did you       forget to add a record for it? {"acct":"george1234"} th_a database.cpp:313 get_account`

then you are in luck and the account name is available to claim, if not try another until you get this error.

now you have what you need to edit your config.ini file and start mining.

with your favorite text editor open the file  **steem/programs/steemd/witness_node_data_dir/config.ini**

replace **george1234** with your account name and this wif key **5JsPmgU1dfKu8SHWAWkBKw1XGz97Kwz4DLwgm2bSz99qtFqTAkp** with yours.

    # P2P nodes to connect to on startup (may specify multiple times)

    seed-node = seed.steemed.net:2001    
    seed-node = seed.steemed.com:2001
    seed-node = 52.74.152.79:2001
    seed-node = 45.32.186.90:1779
    seed-node = 45.32.186.90:1781
    seed-node = 192.99.4.226:2001
    seed-node = 46.252.27.1:1337
    seed-node = 81.89.101.133:2001
    seed-node = 52.4.250.181:39705
    seed-node = 85.214.65.220:2001

    # name of witness controlled by this node (e.g. initwitness )

    witness = "george1234"

    # name of miner and its private key (e.g. ["account","WIF PRIVATE KEY"] )

    miner = ["george1234","5JsPmgU1dfKu8SHWAWkBKw1XGz97Kwz4DLwgm2bSz99qtFqTAkp"]

    # Number of threads to use for proof of work mining

    mining-threads = 2 


these are the parts you change, leave the rest as is and save your config file



#### go back to the steemd terminal window (hopefully it synced by now):


`ctrl+c`

![click enter button](http://s32.postimg.org/vbevnwc79/enter.png)

to stop steemd and restart it with the following line:

`./steemd --rpc-endpoint`

it should start mining as soon as it catches up to the latest block. 

* after mining your first block, you set claim to your account name

when that happens here is a few things you can do in your CLI_wallet (change george1234 to your account name):

    unlocked >>> get_account "george1234"  

    unlocked >>> list_my_accounts  

    unlocked >>> vote_for_witness george1234 joseph true true 

    unlocked >>> vote george1234 "joseph" "mining-steem-for-dummies" 100 true 


* if you get an error while following this guide please stop, and go to http://steem.herokuapp.com for assistance
* if you assist someone with this step by step guide, please reply with FAQ's and answers.
Thank you.
👍 , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,