SwapBlocks.io - Node Installation Guide — ALPHANET

If you haven’t completed the Initial Server Setup guide then please do so before continuing with this guide.

  • After preparing your server, you can now install SwapBlocks on your server. To complete this tutorial, you will need:
  • One Ubuntu 16.04 or 17.10 server, including a sudo non-root user and a firewall configured with ssh port 22 and 4100 open.
  • A wallet with 25 SPX to register your delegate and 5 SPX for second passphrase registration.

First of all you’ll need to login into your server with the username you created when preparing the server:

Login as: YOURUSERNAME
Password: YOURPASSWORD

Download the SBX installer called “SWAPBlocks Commander” simply by executing this command:

wget http://praedium.io/SWAPBlockscommander.sh

Then execute it with:

bash SWAPBlockscommander.sh

(If asked) Enter your sudo user password here.

Since this is your first time running this installer, it will check for all of the dependencies and updates the SBX node needs to run press [Enter] to continue and be patient.

It might take a while, so do not interrupt the process.

After this process finishes you will be asked to reboot your server — execute with the command:

sudo reboot

Now login using the user you created earlier, and execute :

bash SWAPBlockscommander.sh
Provide your password if required, as above.

You will now see the commander menu below, type 1 and press Enter to install SBX core.

Once the installation is complete, you can add your Secret Key (which you generated from the Ark Desktop Wallet. See details of how, at the bottom of this guide.

If you have your key then type Y and press Enter.

Enter (copy/paste) your private key (secret, without any quotes “”) followed by Enter.

It will then say

✔ Secret has been set/replaced

Do you want to apply your new config? (Y/N): Y

Press Enter to apply your config.

Then press Enter to continue.

Your Swapblocks Alphanet node is now setup, configured and synchronising.

To check this you can type the letter L to see the log file.

To exit the log file screen type Ctrl + C to exit back to the screen above.


Setting up a new Wallet Address for your Delegate

Using your Ark wallet, create a new network for SwapBlocks following the instructions below. The official SwapBlocks wallet will be released in due course.

You can download the Ark desktop wallet via this link -https://github.com/ArkEcosystem/desktop-wallet/releases

Open the Ark Wallet and click on the cog icon (settings).

Select Manage Network

Select New

In the name just type SBX

In the Seed Server field paste - https://api.swapblocks.io/

Select force and Save

It will now pull the config in. Click Save again.

Next you need to create a new account. Which will become your delegate account. Select Create Account.

Make a note, (and keep it very safe), of the 12 word passphrase. When sure, click Next. It will now ask you to type in specific words from your 12 word passphrase, complete this and Select Create.

Finally, you will need to provide your SBX address (not secret passphrase lol) in the delegate-registration Discord channel

Next, register your Delegate and add a 2nd Passphrase if you wish. (always good practice).


Originally published at medium.com on August 1, 2018.