[guide] How to set up muse CLI wallet and witness on docker by musepeer

View this thread on steempeak.com
· @musepeer · (edited)
$0.11
[guide] How to set up muse CLI wallet and witness on docker
<html>
<p><img src="https://steemitimages.com/0x0/https://steemit-production-imageproxy-upload.s3.amazonaws.com/DQmYfmMg8XFGj3NJnkVso47E9d8cUvFQsp5N1XcxzZD5VLn" width="256" height="256"/></p>
<h2>Step1 Install docker &nbsp;</h2>
<p>If you haven't installed docker, following insturctions on <a href="https://docs.docker.com/install/#supported-platforms">https://docs.docker.com/install/#supported-platforms</a>, please choose your operating system(windows,linux,macOS) to install. &nbsp;</p>
<h2>Step2 Open terminal, we call terminal 1, and use below docker command to download muse-source docker image: &nbsp;</h2>
<pre><code>&nbsp;docker pull museblockchaindocker/muse-source&nbsp;</code></pre>
<p><br></p>
<h2>&nbsp;&nbsp;Step3 Run container: &nbsp;</h2>
<pre><code>&nbsp;docker run --name muse-source -itd museblockchaindocker/muse-source&nbsp;</code></pre>
<p><br></p>
<h2>&nbsp;&nbsp;Step4 Enter container:&nbsp;</h2>
<pre><code>docker exec -it muse-source /bin/bash &nbsp;</code></pre>
<p><br></p>
<h2>Step5 Use the following command to start mused program:&nbsp;</h2>
<pre><code>./mused</code></pre>
<p><br></p>
<h2>Step6 Open another terminal, we call terminal 2, and use the following command to enter same container:&nbsp;</h2>
<pre><code>docker exec -it muse-source /bin/bash&nbsp;</code></pre>
<p><br></p>
<h2>Step7 Use the following command to start cli_wallet program:&nbsp;</h2>
<pre><code>./cli_wallet</code></pre>
<p><br></p>
<h2>Step8 Set wallet password:&nbsp;</h2>
<pre><code>set_password "pass…."</code></pre>
<p><br></p>
<h2>&nbsp;Step9 unlock wallet:</h2>
<pre><code>unlock "pass..." &nbsp;</code></pre>
<p><br></p>
<h2>Step10 import WIF private key and active private key If you don’t have WIF private key and active private key, Please go to <a href="https://wallet.museblockchain.com/">https://wallet.museblockchain.com/</a> apply.&nbsp;</h2>
<pre><code>import_key &lt;WIF private key&gt;&nbsp;</code></pre>
<pre><code>import_key &lt;active private key&gt;</code></pre>
<p><br></p>
<h2>&nbsp;Step11 use list_my_accounts, see your account.</h2>
<pre><code>&nbsp;list_my_accounts &nbsp;</code></pre>
<h2>Done, muse cli_wallet is working now. You also can type <code>about</code> check muse-source version and type <code>info</code> check blockchain sync. &nbsp;</h2>
<h2>If you want to set up witness, you have to edit config.ini, following below steps:<br>
Step1 In terminal 2, press ctrl+c to exit cli_wallet program and close it. &nbsp;</h2>
<h2>Step2 Switch terminal 1, and press ctrl+c to exit mused program. &nbsp;</h2>
<h2>Step3 Use the following command</h2>
<pre><code>&nbsp;cd witness_node_data_dir</code></pre>
<p><br></p>
<h2>Step4 Use editor to set config.ini file(witness name and WIF private key) .&nbsp;</h2>
<pre><code>vim config.ini</code></pre>
<p>&nbsp;&nbsp;locate these lines:</p>
<pre><code># name of witness controlled by this node (e.g. initwitness )&nbsp;</code></pre>
<pre><code># witness =&nbsp;</code></pre>
<pre><code># WIF PRIVATE KEY to be used by one or more witnesses or miners</code></pre>
<pre><code># private-key = &nbsp;&nbsp;&nbsp;</code></pre>
<p>edit and look like this:</p>
<pre><code># name of witness controlled by this node (e.g. initwitness )</code></pre>
<pre><code>witness = "initwitness"</code></pre>
<pre><code># WIF PRIVATE KEY to be used by one or more witnesses or miners</code></pre>
<pre><code>private-key = 5………</code></pre>
<p>Save and exit vim. &nbsp;</p>
<p><br></p>
<h2>Step5 Use the following command &nbsp;</h2>
<pre><code>cd ..</code></pre>
<p><br></p>
<h2>&nbsp;Step6 Use the following command to start mused program:</h2>
<pre><code>&nbsp;./mused&nbsp;</code></pre>
<p><br></p>
<h2>Step7 Open another terminal, we call terminal 2, and use the following command to enter same container:&nbsp;</h2>
<pre><code>docker exec -it muse-source /bin/bash</code></pre>
<p><br></p>
<h2>Step8 Use the following command to start cli_wallet program:</h2>
<pre><code>./cli_wallet</code></pre>
<p><br></p>
<h2>Step9 unlock wallet:&nbsp;</h2>
<pre><code>&nbsp;unlock "pass..."</code></pre>
<p><br></p>
<h2>Step10 announce yourself as a witness, use <code>update_witness</code> command,the format look like this:&nbsp;</h2>
<pre><code>update_witness "yourwitnessname" "witness_url" "yor_witness_pub_key" {} true&nbsp;</code></pre>
<h2>Done, your witness is working now.</h2>
<h2>Vote for me!!</h2>
<h3>If this post helps you, &nbsp;please vote for my muse witness "wallet",<br>
you can vote on MUSE Blockchain website: https://wallet.museblockchain.com<br>
 or you can vote in cli_wallet:</h3>
<h3><code>vote_for_witness YOURACCOUNT wallet true true</code>&nbsp;</h3>
<h3>Thank you. &nbsp;</h3>
</html>
👍  , , , , , , ,
properties (23)
post_id55,810,600
authormusepeer
permlinkguide-how-to-set-up-muse-cli-wallet-and-witness-on-docker
categorydocker
json_metadata{"app":"steemit\/0.1","image":["https:\/\/steemitimages.com\/0x0\/https:\/\/steemit-production-imageproxy-upload.s3.amazonaws.com\/DQmYfmMg8XFGj3NJnkVso47E9d8cUvFQsp5N1XcxzZD5VLn"],"links":["https:\/\/docs.docker.com\/install\/#supported-platforms","https:\/\/wallet.museblockchain.com\/","https:\/\/wallet.museblockchain.com"],"tags":["docker","blockchain","muse","cryptocurrency","bitshares"],"format":"html"}
created2018-07-08 06:19:36
last_update2018-07-08 08:22:39
depth0
children1
net_rshares56,033,390,813
last_payout2018-07-15 06:19:36
cashout_time1969-12-31 23:59:59
total_payout_value0.086 SBD
curator_payout_value0.024 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length4,674
author_reputation28,840,315,031
root_title"[guide] How to set up muse CLI wallet and witness on docker"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (8)
@introduce.bot ·
✅  @musepeer, I gave you an upvote on your post! **Please give me a follow** and I will give you a follow in return and possible future votes!<br><br>Thank you in advance!
👍  
properties (23)
post_id55,812,626
authorintroduce.bot
permlinkintroduce-bot-re-musepeerguide-how-to-set-up-muse-cli-wallet-and-witness-on-docker
categorydocker
json_metadata{}
created2018-07-08 06:49:42
last_update2018-07-08 06:49:42
depth1
children0
net_rshares6,537,535,853
last_payout2018-07-15 06:49:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 SBD
curator_payout_value0.000 SBD
pending_payout_value0.000 SBD
promoted0.000 SBD
body_length171
author_reputation20,574,691,560,478
root_title"[guide] How to set up muse CLI wallet and witness on docker"
beneficiaries[]
max_accepted_payout1,000,000.000 SBD
percent_steem_dollars10,000
author_curate_reward""
vote details (1)