First, we’re going to open up the CLI wallet with the hyphenated S flag and put in an API node here, which would allow us to connect to an already running chain.
This opens up our brand new wallet. We’re now going to set up a password.
And then we will unlock the new wallet.
Now we can use the get_private_key from password command which looks like this
Now you use put in your username and the password you created once you created your account.
This shows us our private and public owner key.
Make sure you copy and paste this somewhere and save it for future use.
Now we’re going to import this key into our new wallet. So we use our username and use our private key.
If this returns ‘true’ then that was successful.
Now we’re going to run the get_private_key from password again and use this for our active key.
We will import this key as well. Make sure to use our private key.
And when it returns ‘true’, we know it has been successful.
Now we can create our witness by entering our Username. And we’ll also have the opportunity to enter a URL for putting a Witness Proposal – but we will leave it blank.
We have now created our Witness Account.
We now have all the details including our Signing Key.
We can get the private key from our signing key from our public key now that we have our own active keys imported into our wallet.
Here is our private signing key. Make sure to SAVE that for later as well.
So, these are the keys that we have in our wallet.
We’ll use the get witness command.
This returns some information about our new witness.
We’re interested in our Witness ID, which is 1.6.96 – we’ll save that for later as well.
And now, we can exit the wallet with quit command.
We can then go to our Witness data directory ti make edits to the config.ini file
There are a lot of settings in this file. Our focus is on the seed-node. We’re going to use a publicly available Seed API node.
And then we’ll enter some checkpoints here (these are available on our documentation site).
And then paste your public and private signing key.
Our config.ini file is complete so we will save and quit.
The only thing left to do is to run our witness node.
So, our Witness Node is finally running. We will just wait for it to sync with our blockchain.