<html>
<p><img src="https://icobrothers.media/wp-content/uploads/2018/09/SounDAC.png" width="800" height="500"/></p>
<h2><strong>Step1 Install docker </strong></h2>
<p><strong>If you haven't installed docker, following insturctions on</strong><a href="https://docs.docker.com/install/#supported-platforms"> <strong>https://docs.docker.com/install/#supported-platforms</strong></a><strong>, please choose your operating system(windows,linux,macOS) to install. </strong></p>
<h2><strong>Step2 Open terminal and use below docker command to download official soundac-source docker image: </strong></h2>
<pre><code><strong>docker pull soundac/soundac-source</strong></code></pre>
<p><br></p>
<h2><strong>Step3 Use the following command to run container, it can also automate run soundac daemon</strong></h2>
<pre><code><strong> docker run -p 33333:33333 -p8090:8090 --name soundac-source -itd soundac/soundac-source</strong></code></pre>
<p><br></p>
<h2><strong>Step4 Enter container: </strong></h2>
<pre><code><strong>docker exec -it soundac-source /bin/bash</strong></code></pre>
<p><br></p>
<h2><strong>Step5 Use the following command to change the folder</strong></h2>
<pre><code><strong>cd /usr/local/bin/</strong></code></pre>
<p><br></p>
<h2><strong>Step6 Use the following command to start cli_wallet program</strong></h2>
<pre><code><strong>./cli_wallet</strong></code></pre>
<p><br></p>
<h2><strong>Step7 Set wallet password(create wallet)</strong></h2>
<pre><code><strong>set_password "pass…."</strong></code></pre>
<p><br></p>
<h2><strong>Step8 Unlock wallet</strong></h2>
<pre><code><strong>unlock "pass..."</strong></code></pre>
<p><br></p>
<h2><strong>Step9 Import WIF private key and active private key. If you don’t have WIF private key and active private key, Please go to</strong><a href="https://wallet.museblockchain.com/"> </a><a href="https://portal.soundac.io/register"><strong>https://portal.soundac.io/register</strong></a><strong> apply.</strong></h2>
<pre><code><strong>import_key <WIF private key> </strong></code></pre>
<pre><code><strong>import_key <active private key></strong></code></pre>
<p><br></p>
<h2><strong>Step10 Use list_my_accounts, see your account</strong></h2>
<pre><code><strong> list_my_accounts</strong></code></pre>
<h2><strong><br>
Done, SOUNDAC cli_wallet is working now. You also can type </strong><code><strong>about</strong></code><strong> check soundac-source version and type </strong><code><strong>info</strong></code> check blockchain sync.</h2>
<h2><strong>If you want to set up witness, you have to edit config.ini, following below steps:<br>
Step1 Press ctrl+c to exit cli_wallet program and close it</strong></h2>
<h2><strong>Step2 Use the following command to change the folder</strong></h2>
<pre><code><strong>cd /data</strong></code></pre>
<h2><br></h2>
<h2><strong>Step3 Use editor to set config.ini file(witness name and WIF private key) </strong></h2>
<pre><code><strong>vim config.ini</strong></code></pre>
<p><br></p>
<p><strong>locate these lines:</strong></p>
<pre><code><strong># name of witness controlled by this node (e.g. initwitness ) </strong></code></pre>
<pre><code><strong># witness =</strong></code></pre>
<pre><code><strong># WIF PRIVATE KEY to be used by one or more witnesses or miners</strong></code></pre>
<pre><code><strong># private-key = </strong></code></pre>
<p> </p>
<p><strong>edit and look like this:</strong></p>
<pre><code><strong># name of witness controlled by this node (e.g. initwitness )</strong></code></pre>
<pre><code><strong>witness = "initwitness"</strong></code></pre>
<pre><code><strong># WIF PRIVATE KEY to be used by one or more witnesses or miners</strong></code></pre>
<pre><code><strong>private-key = 5………</strong></code></pre>
<p><strong>Save and exit vim.</strong></p>
<p><br></p>
<h2><strong> Step4 Use the following command to exit soundac-source container</strong></h2>
<pre><code><strong> exit</strong></code></pre>
<p><br></p>
<h2><strong>Step5 Use the following command to stop soundac-source container</strong></h2>
<pre><code><strong>docker stop soundac-source</strong></code></pre>
<p><br></p>
<h2><strong>Step6 Use the following command to run soundac-source container, it can also automate run soundac daemon</strong></h2>
<pre><code><strong>docker start soundac-source</strong></code></pre>
<p><br></p>
<h2><strong>Step7 Enter soundac-source container: </strong></h2>
<pre><code><strong>docker exec -it soundac-source /bin/bash</strong></code></pre>
<h2><strong>Step8 Use the following command to change the folder</strong></h2>
<pre><code><strong>cd /usr/local/bin/</strong></code></pre>
<p><br></p>
<h2><strong>Step9 Use the following command to start cli_wallet program:</strong></h2>
<pre><code><strong>./cli_wallet</strong></code></pre>
<p><br></p>
<h2><strong>Step10 Unlock wallet:</strong></h2>
<pre><code><strong>unlock "pass..." </strong></code></pre>
<p><br></p>
<h2><strong>Step11 Announce yourself as a witness, please make sure SONDAC blockchain sync is completed and use update_witness command, the format look like this: </strong></h2>
<pre><code><strong>update_witness "yourwitnessname" "witness_url" "yor_witness_pub_key" {} true</strong></code></pre>
<p><br></p>
<h2><strong>Done, your witness is working now.</strong></h2>
<h2><strong>Final step: Vote for me!!<br>
If this post help you, please vote for my SOUNDAC witness "wallet",<br>
you can vote on SOUNDAC website:</strong><a href="https://portal.soundac.io/register"> </a><strong>https://portal.soundac.io/register<br>
or you can vote in cli_wallet:</strong></h2>
<pre><code><strong>vote_for_witness YOURACCOUNT wallet true true </strong></code></pre>
<h2><strong>Thank you. </strong></h2>
</html>