Basic Mining Instructions - Ubuntu 15

in steemhelp •  9 years ago  (edited)

Installation:
sudo apt-get install build-essential libtool autotools-dev autoconf pkg-config libssl-dev libboost-all-dev automake libdb++-dev libssl-dev git cmake
git clone https://github.com/steemit/steem

cd steem
git submodule update --init --recursive
cmake .
make

Mining:
cd steem/programs/steemd
./steemd --miner=["accountname","${WIFPRIVATEKEY}"] --witness="accountname" --seed-node="52.38.66.234:2001" --rpc-endpoint

Using config.ini
run ./steemd then ctrl+c to exit (to create witness_node_data_dir)
cd
cd steem/programs/steemd/witness_node_data_dir
vi config.ini
scroll down to the line under #seed-node and enter these 3 lines
seed-node = 52.38.66.234:2001
seed-node = 52.37.169.52:2001
seed-node = 52.26.78.244:2001
type all manually, there is a space before and after the =
then scroll down under #witness and enter at least 3 DISTINCT witnesses like this
witness = "enterwitnessname"
witness = "enterwitnessname1"
witness = "enterwitnessname2"
you cannot have the same witnesses on multiple instances
then go down to after #miner and enter like this
miner = ["enterwitnessname", "privatekey"]
miner = ["enterwitnessname1", "privatekey"]
miner = ["enterwitnessname2", "privatekey"]
there is a space before/after the = and after the ,
then under #mining-threads enter
mining-threads = 8 (or however many cores you have)
then escape
then :wq (return)

to start mininig after populating config.ini use: ./steemd –-rpc-endpoint

Using the wallet:
cd steem/programs/cli_wallet
./cli_wallet
set_password YOURPASS
unlock YOURPASS
import_key WIFPRIVATEKEY
list_my_accounts (to see your accounts/balances)
get_account enteraccountname (to see account info)

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Don't forget to install doxygen ncurses and readline for better cli_wallet "help" documentation and formatting.


$ sudo apt-get install doxygen ncurses-dev graphviz readline libreadline-dev -y

I'd vote for this if it had better formatting. See the markdown docs for more information. We need more content like this on Steem.

Hopefully, this'd be useful. That's a link to my formatting post with video tutorials.

thanks

Warning! mining STEEM is not possible anymore.
Save your time.

Can I mine STEEM?
No. Proof of work mining has been removed from Steem.
https://steemit.com/faq.html#Can_I_mine_STEEM