Published: 08 Jul 2018 › Updated: 08 Jul 2018![[guide] How to set up muse CLI wallet and witness on docker](https://i.ecency.com/p/EEEoA8oLaAxvDZG9qYrsRrhbbUfYehZ6Y1odDgmdtBBGG5MbPicySNxdHVSiQkrFXZTDXQNotLpyJX5KzZpgjH5fuXmre18RgzxC4PkBSBCmZGVSTP5aXmJNhVLvYMerYQmdbU5ASs8qybEyRZUSy?format=match&mode=fit&height=377)
[guide] How to set up muse CLI wallet and witness on docker
Step1 Install docker
If you haven't installed docker, following insturctions on https://docs.docker.com/install/#supported-platforms, please choose your operating system(windows,linux,macOS) to install.
Step2 Open terminal, we call terminal 1, and use below docker command to download muse-source docker image:
docker pull museblockchaindocker/muse-source
Step3 Run container:
docker run --name muse-source -itd museblockchaindocker/muse-source
Step4 Enter container:
docker exec -it muse-source /bin/bash
Step5 Use the following command to start mused program:
./mused
Step6 Open another terminal, we call terminal 2, and use the following command to enter same container:
docker exec -it muse-source /bin/bash
Step7 Use the following command to start cli_wallet program:
./cli_wallet
Step8 Set wallet password:
set_password "pass…."
Step9 unlock wallet:
unlock "pass..."
Step10 import WIF private key and active private key If you don’t have WIF private key and active private key, Please go to https://wallet.museblockchain.com/ apply.
import_key <WIF private key>
import_key <active private key>
Step11 use list_my_accounts, see your account.
list_my_accounts
Done, muse cli_wallet is working now. You also can type about check muse-source version and type info check blockchain sync.
If you want to set up witness, you have to edit config.ini, following below steps:
Step1 In terminal 2, press ctrl+c to exit cli_wallet program and close it.
Step2 Switch terminal 1, and press ctrl+c to exit mused program.
Step3 Use the following command
cd witness_node_data_dir
Step4 Use editor to set config.ini file(witness name and WIF private key) .
vim config.ini
locate these lines:
# name of witness controlled by this node (e.g. initwitness )
# witness =
# WIF PRIVATE KEY to be used by one or more witnesses or miners
# private-key =
edit and look like this:
# name of witness controlled by this node (e.g. initwitness )
witness = "initwitness"
# WIF PRIVATE KEY to be used by one or more witnesses or miners
private-key = 5………
Save and exit vim.
Step5 Use the following command
cd ..
Step6 Use the following command to start mused program:
./mused
Step7 Open another terminal, we call terminal 2, and use the following command to enter same container:
docker exec -it muse-source /bin/bash
Step8 Use the following command to start cli_wallet program:
./cli_wallet
Step9 unlock wallet:
unlock "pass..."
Step10 announce yourself as a witness, use update_witness command,the format look like this:
update_witness "yourwitnessname" "witness_url" "yor_witness_pub_key" {} true
Done, your witness is working now.
Vote for me!!
If this post helps you, please vote for my muse witness "wallet",
you can vote on MUSE Blockchain website: https://wallet.museblockchain.com
or you can vote in cli_wallet:
vote_for_witness YOURACCOUNT wallet true true
Thank you.
Leave [guide] How to set up muse CLI wallet and witness on docker to:
Read more #docker posts
Best Posts From musepeer
We have not curated any of musepeer's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From musepeer
- SOUNDAC testnet 0.5.0 docker image is available now
- [GUIDE][UPDATE] How to set up SOUNDAC CLI wallet and witness on docker (Use SOUNDAC official docker image )
- [UPDATE] SOUNDAC pricefeed 0.1.1 docker image is available now
- [Guide][UPDATE] :How to set up soundac price feed on Docker
- [UPDATE] SOUNDAC testnet 0.4.0 docker image is available now
- SounDAC docker image is available now!!
- [guide] How to set up muse CLI wallet and witness on docker
- [Guide]:How to set up muse price feed on Docker
- [wallet] MUSE Blockchain Witness Proposal