After helping people set up mining in the Slack channel #mining, I noticed there wasn't a super simple guide on:
How to set up CLI Wallet (to control your main account)
Step 1.
Ensure that in your config, you have specified the RPC endpoint:
rpc-endpoint = 127.0.0.1:8090
If this doesn't work, you may need to launch via "steemd --rpc-endpoint"
Step 2.
Launch cli_wallet. The first thing you need to do is set a password, you do this by typing:
set_password PASSWORD
Replace PASSWORD with any (regular character) password you like; make it strong and keep it safe! Don't worry if it spits out null. The next thing it should say is "locked".
Step 3.
Unlock you wallet with the command:
unlock PASSWORD
using the password you set in step 2.
Step 4.
You now need to find your private owner and active keys from your steemit.com account. Check out
https://steemit.com/@YOU/permissions
Replace YOU with your username! Now find your private owner and active keys. Remember, keep these safe, tell them to no one.
Now, in cli_wallet, that is unlocked, you can import them one at a time as follows:
import_key OWNERKEY
import_key ACTIVEKEY
Replacing each key with the one you found on the permissions page.
Step 5.
That's it, you are done. Now you can type "help" to see the cool commands you can do! But they are not the focus of this simple guide.
Some things you can now do is
list_my_accounts
to see your balance (and confirm its working!), and you can also
vote_for_witness YOU THEM true true
Replacing YOU with your account name, and THEM with theirs. Remember, vote for people you believe in! Check out https://steemd.com/witnesses and click the persons URL to find out more about them.
Step 6.
What, step 6?
Oh right.
You closed CLI wallet, and started it up again. Now what?
Simply go back and do Step 3 to unlock, and you are good to go!
That's it!
Hope this helps!
You are the machine! :D Thank you man! :D
Excellent! Thanks for the help!
When I start the wallet I get this error
Do you know what's up with that?
Logging RPC to file: logs\rpc\rpc.log Starting a new wallet 853208ms th_a main.cpp:154 main ] wdata.ws_server: ws://localhost:8090 0 exception: unspecified Underlying Transport Error {"message":"Underlying Transport Error"} asio websocket.cpp:444 fc::http::detail::websocket_client_impl::{ctor}::<lambda_07ad...>::operator () {"uri":"ws://localhost:8090"} th_a websocket.cpp:673 fc::http::websocket_client::connect
You need to be running a steemd instance with the RPC/websocket port on localhost:8090 to use it.
(start it with
steemd --rpc-endpoint=127.0.0.1:8090
)The "Underlying Transport Error" means it can't talk to steemd - it's trying to connect to it and failing.
We have to have a cli wallet in order to get the mining steems?
our steemit wallet is not enough for this? as far as i can understand it is exactly the same wallet!
I have the same question. I'm already mining. I just want to check how much I've mined already, can't see that in my steemit wallet. Is there a way the cli wallet shows that or is it logged somewhere? Do i need to set up the cli wallet?
Hi, I got this message:
Underlying Transport Error
C:\steem-win-x64-012>cli_wallet.exe
Logging RPC to file: logs\rpc\rpc.log
Starting a new wallet
2423860ms th_a main.cpp:154 main ] wdata.ws_server: ws://loca
lhost:8090
0 exception: unspecified
Underlying Transport Error
{"message":"Underlying Transport Error"}
asio websocket.cpp:444 fc::http::detail::websocket_client_impl::{ctor}::<lambda_07ad2457060ff51
cd32eb8549cbb202a>::operator ()
{"uri":"ws://localhost:8090"} th_a websocket.cpp:673 fc::http::websocket_client::connect
C:\steem-win-x64-012>
Could you tell me what to do?
Did you make sure that steemd is running and is fully synchronized with the blockchain? If yes, make sure Step 1 is done properly! That is an issue with the RPC layer.
I added to config file rpc-endpoint = 127.0.0.1:8090 when my miner was already started, after I restarted the miner the wallet starts, Thanks for fast reply and HELP :)
I have another question, now I set up the wallet it is showing:
0.000 STEEM 12709.198402 VESTS 0.000 SBD
What does it mean and mainly what can I do with? How and for what can I use VESTS? Thanks.
Thank you for this! Adding the key into the config file made it seem that was all I had to do.. didn't know I had to manually make a wallet as well.
How create a new account only for mining?
This means that I can have a same accounts with overall balance?
I recommend this guide for mining stuff: https://steemit.com/steem/@picokernel/tutorial-mining-get-rich-the-old-fashioned-way
My post here is simply for the CLI wallet. Feel free to join the #mining channel in slack if you need help!
Step 4 problems please help
importing of import_key OWNERKEY and import_key ACTIVEKEY each time I keep getting following errors
0 exception: unspecified
Invalid private key
Anyone have idea on how to resolve this please.
i'm having the same issue
on Import_key
invalid key
Whats the problem?