operations |
comment | "parent_author":"",<br>"parent_permlink":"steemhelp",<br>"author":"joseph",<br>"permlink":"mining-steem-for-dummies",<br>"title":"Mining STEEM For Dummies",<br>"body":"Setup STEEM wallet and start mining step by step guide\n\n![Mining STEEM for Dummies (http:\/\/i.imgur.com\/fbSaD5G.jpg)\n\n\n## It is recomended that you have Ubunto 14.04 LTS or a later version.\n\n### Open a terminal window and enter these lines one by one,<br> give each one time to finish: \n\n`sudo apt-get update`\n\n ![click enter button (http:\/\/i.imgur.com\/wsTni4H.jpg)\n\n`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`\n\n ![click enter button (http:\/\/i.imgur.com\/wsTni4H.jpg)\n\n`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`\n\n ![click enter button (http:\/\/i.imgur.com\/wsTni4H.jpg)\n\n`tar xzvf boost_1_60_0.tar.gz`\n\n ![click enter button (http:\/\/i.imgur.com\/wsTni4H.jpg)\n\n`cd boost_1_60_0`\n\n ![click enter button (http:\/\/i.imgur.com\/wsTni4H.jpg)\n\n`.\/bootstrap.sh --prefix=\/usr\/local`\n\n ![click enter button (http:\/\/i.imgur.com\/wsTni4H.jpg)\n\n`.\/b2 install`\n\n ![click enter button (http:\/\/i.imgur.com\/wsTni4H.jpg)\n\n\n`cd`\n\n ![click enter button (http:\/\/i.imgur.com\/wsTni4H.jpg)\n\n`git clone https:\/\/github.com\/bitcoin\/secp256k1`\n\n ![click enter button (http:\/\/i.imgur.com\/wsTni4H.jpg)\n\n`cd secp256k1`\n\n ![click enter button (http:\/\/i.imgur.com\/wsTni4H.jpg)\n\n`.\/autogen.sh`\n\n ![click enter button (http:\/\/i.imgur.com\/wsTni4H.jpg)\n\n`.\/configure`\n\n ![click enter button (http:\/\/i.imgur.com\/wsTni4H.jpg)\n\n`make`\n\n ![click enter button (http:\/\/i.imgur.com\/wsTni4H.jpg)\n\n`.\/tests`\n\n ![click enter button (http:\/\/i.imgur.com\/wsTni4H.jpg)\n\n\n`cd`\n\n ![click enter button (http:\/\/i.imgur.com\/wsTni4H.jpg)\n\n`git clone https:\/\/github.com\/steemit\/steem`\n\n ![click enter button (http:\/\/i.imgur.com\/wsTni4H.jpg)\n\n`cd steem`\n\n ![click enter button (http:\/\/i.imgur.com\/wsTni4H.jpg)\n\n`git submodule update --init --recursive`\n\n ![click enter button (http:\/\/i.imgur.com\/wsTni4H.jpg)\n\n`cmake -DENABLE_CONTENT_PATCHING=OFF -DLOW_MEMORY_NODE=ON CMakeLists.txt`\n\n ![click enter button (http:\/\/i.imgur.com\/wsTni4H.jpg)\n\n`make`\n\n ![click enter button (http:\/\/i.imgur.com\/wsTni4H.jpg)\n\n`cd programs\/steemd`\n\n![click enter button (http:\/\/i.imgur.com\/wsTni4H.jpg)\n\n`.\/steemd --rpc-endpoint --seed-node=\"seed.steemed.net:2001\" --seed-node=\"52.74.152.79:2001\"`\n\n ![click enter button (http:\/\/i.imgur.com\/wsTni4H.jpg)\n\n\n\n### start a new terminal window and type:\n\n\n`cd steem\/programs\/cli_wallet`\n\n ![click enter button (http:\/\/i.imgur.com\/wsTni4H.jpg)\n\n\n`.\/cli_wallet`\n\n ![click enter button (http:\/\/i.imgur.com\/wsTni4H.jpg)\n\n\n`set_password \"PASSWORD\"`\n\n ![click enter button (http:\/\/i.imgur.com\/wsTni4H.jpg)\n\n\n`unlock \"PASSWORD\"`\n\n ![click enter button (http:\/\/i.imgur.com\/wsTni4H.jpg)\n\n`suggest_brain_key`\n\n* copy the output and save it in a secure location:\n* you should never give your wif private key to anyone.\n\n` \n \"brain_priv_key\": \"FULK DEBUG EARTH IMAGINE BABBLE POPIFY PREFEED EMBIND FOREPAW KAHILI ...\",<br>\n\n \"wif_priv_key\": \"5JsPmgU1dfKu8SHWAWkBKw1XGz97Kwz4DLwgm2bSz99qtFqTAkp\",<br> \n\n \"pub_key\": \"STM73jgNRFLTKSTaGWv8QfXzSopUZBsQGmrECWPvpnemjyAcBfzAc\"\n `\n\n* you will need your wif private key for the config.ini file in a minute,<br>\n\n* this is a good time to load **YOUR** key in your cli_wallet terminal window like this:\n\n`import_key 5JsPmgU1dfKu8SHWAWkBKw1XGz97Kwz4DLwgm2bSz99qtFqTAkp` \n\n ![click enter button (http:\/\/i.imgur.com\/wsTni4H.jpg)\n\n\n\n#### now exit your cli_wallet terminal:\n\n\n`ctrl + c`\n\n\n ![click enter button (http:\/\/i.imgur.com\/wsTni4H.jpg)\n\n\n\n#### This is a good time to pick your account\/miner name\n\n** Account names must be all lower case,<br> less than 15 characters,<br> and start with a letter\n\nlets say you pick account name george1234\n\nyou must check if the account already exists,<br> go to:\n\nhttps:\/\/steemit.com\/@george1234\n\nif you get an error like this:\n\n`Server error (500)\n10 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`\n\nthen you are in luck and the account name is available to claim,<br> if not try another until you get this error.\n\nnow you have what you need to edit your config.ini file and start mining.\n\nwith your favorite text editor open the file **steem\/programs\/steemd\/witness_node_data_dir\/config.ini**\n\nreplace **george1234** with your account name and this wif key **5JsPmgU1dfKu8SHWAWkBKw1XGz97Kwz4DLwgm2bSz99qtFqTAkp** with yours.\n\n # P2P nodes to connect to on startup (may specify multiple times)\n\n seed-node = seed.steemed.net:2001 \n seed-node = seed.steemed.com:2001\n seed-node = 52.74.152.79:2001\n\n # name of witness controlled by this node (e.g. initwitness )\n\n witness = \"george1234\"\n\n # name of miner and its private key (e.g. [\"account\",<br>\"WIF PRIVATE KEY\" )\n\n miner = [\"george1234\",<br>\"5JsPmgU1dfKu8SHWAWkBKw1XGz97Kwz4DLwgm2bSz99qtFqTAkp\" \n\n # Number of threads to use for proof of work mining\n\n mining-threads = 2 \n\n\nthese are the parts you change,<br> leave the rest as is and save your config file\n\n\n\n#### go back to the steemd terminal window (hopefully it synced by now):\n\n\n`ctrl+c`\n\n![click enter button (http:\/\/i.imgur.com\/wsTni4H.jpg)\n\nto stop steemd and restart it with the following line:\n\n`.\/steemd --rpc-endpoint`\n\nit should start mining as soon as it catches up to the latest block. \n\n* after mining your first block,<br> you set claim to your account name\n\nwhen that happens here is a few things you can do in your CLI_wallet (change george1234 to your account name):\n\n unlocked >>> get_account \"george1234\" \/\/ get info about your account\n\n unlocked >>> list_my_accounts \/\/ gives you account balances\n\n unlocked >>> vote_for_witness george1234 joseph true true \/\/ vote for joseph as witness\n\n unlocked >>> vote george1234 \"joseph\" \"if-trump-wins-i-am-moving-to-canada\" 100 true \/\/ piss on Trump\n\n unlocked >>> vote george1234 \"joseph\" \"mining-steem-for-dummies\" 100 true \/\/ up-vote this post\n\n\n* if you get an error while following this guide please stop,<br> and go to http:\/\/steem.herokuapp.com for assistance\n* if you assist someone with this step by step guide,<br> please reply with FAQ's and answers. thank you.",<br>"json_metadata":" " |
|