mvs-org / metaverse

The Metaverse individual chain service ETP coin and immutable data space for Hyperspace.
https://mvs.org
GNU Affero General Public License v3.0
307 stars 115 forks source link

[question] master account on initial setup? #427

Closed frankjs1 closed 2 years ago

frankjs1 commented 2 years ago

Hi, I am newbie, please bear with me.

I have installed this on Docker successfully, currently running sync. `mvs-cli getinfo shows that I have 1 account:

"wallet_account_count" : 1,

As I don't remember entered any account creation details during setup, how do I get the details of that account (account name, password, etc.)?

Thanks in advance.

Regards

canguruhh commented 2 years ago

hi. you can get a list of supported commands with mvs-cli help the command you are looking for is getnewaccount followed by the username and password of your choice

https://docs.mvs.org/api_v3/account.html#getnewaccount

canguruhh commented 2 years ago

@frankjs1 i got your question wrong. the node comes with a default admin account. it can be used to restrict rpc access for commands like shutdown and getinfo by setting the administrator_required option in the config file. The admin username is administerator (pay attention to the typo) and the default password is mvsgo. The account has no wallet functionality so its not possible to accidentally create addresses with it.