Now we need to SSH into our server via terminal:

ssh -i '/home/YOURUSER/.ssh/YOURKEY.pem' ubuntu@SERVERIP

If all has gone well you should now be presented with the following screen.

Congrats, we now have a server setup to connect to our multichain.

2. Download multichain software

Now we need to download version 2 of the multichain software.

sudo su

wget

tar -xvzf multichain-2.0-alpha-1.tar.g

cd multichain-2.0-alpha-1

mv multichaind multichain-cli multichain-util /usr/local/bin cd /tmpwget https://www.multichain.com/download/ multichain-2.0-alpha-1.tar.gztar -xvzf multichain-2.0-alpha-1.tar.gcd multichain-2.0-alpha-1mv multichaind multichain-cli multichain-util /usr/local/bin exit (to return to your regular user)

All going well you should be back at the command line logged in as Ubuntu. Next step is to join the blockchain (yes already, that was easy wasn’t it!). Simply type this command to connect to the genesis node hosted on my server.

multichaind engineer@172.31.19.118:2903 -daemon

If that has worked you should see the following text on your command line.

We are now connected to the blockchain! Let’s check it’s working:

multichain-cli engineer

liststreams

You should now be inside the multichain cli and your output should be as follows.

You can now see the root stream of the blockchain. The next stage is to grant ourselves permissions and post to the stream!

3. Grant permissions to the stream

If you try to post to the stream at the moment it will return a permissions error that you are not allowed, let’s try it:

This is because although all new users have permission to connect to the blockchain through my settings, they don’t yet have permission to write to the root stream. We need to find your wallet address and grant permission. To do this:

listaddresses

All going well your output sohuld be as follows:

Great, now highlight your address and press ctr shift c to copy your address to the clipboard. Next we go to block.engineer and we are going to grant ourselves permission to write to the root stream.

Find the input halfway down the page that says “Grant yourself permissions”, paste in your wallet address and click the button ‘verify an address’. Open up your console and all going well you should see a nice response saying “Permissions to write to engineer have been granted to yourWALLET”. All that has happened here is that you have sent a request to the admin to grant your wallet permission to write to the root stream.