Setup STEEM wallet and start mining step by step guide
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
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
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
tar xzvf boost_1_60_0.tar.gz
cd boost_1_60_0
./bootstrap.sh --prefix=/usr/local
./b2 install
cd
git clone https://github.com/bitcoin/secp256k1
cd secp256k1
./autogen.sh
./configure
make
./tests
cd
git clone https://github.com/steemit/steem
cd steem
git submodule update --init --recursive
cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_CONTENT_PATCHING=OFF -DLOW_MEMORY_NODE=ON
make
cd programs/steemd
./steemd --rpc-endpoint --seed-node="seed.steemed.net:2001" --seed-node="52.74.152.79:2001"
start a new terminal window and type:
cd steem/programs/cli_wallet
./cli_wallet
set_password "PASSWORD"
unlock "PASSWORD"
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
now exit your cli_wallet terminal:
ctrl + c
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:
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
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.