How to become a witness - moonstonedac/moonstone GitHub Wiki

First upgrade your account to lifetime member
upgrade_account youraccountname true

Then create a witness for your account
create_witness youraccountname "www.yourdomainname.com" true

Then vote for your account to be a witness
vote_for_witness youraccountname youraccountname true true

You can also vote for other witnesses
vote_for_witness youraccountname otherwitnessaccount true true

Or revoke your vote
vote_for_witness youraccountname otherwitnessaccount false true

For you to begin mining blocks, you will need to edit your config.ini
You will need the witness id, signing key, private key of the signing key

To get your witness id and signing key
get_witness youraccountname

take note of "id" and "signing key"

Then get the private key
dump_private_keys
and take note the private key of the witness signing key

You now need to edit the config.ini and change the witness-id and private-key and restart your node to start mining.